CI
github-actions:test
15 runs
Average
43 ms
median 47 ms
max 58 ms
max 58 ms
Phases
Setup 9 ms
Call 34 ms
Teardown 0.14 ms
Categories
Database 18 ms
Other (Libraries, Templates, Imports, pytest, ...) 26 ms
6 database queries per run
Needs 110 KB of memory (max 468 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup7 ms17.6%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()7 ms17.6%
TestCase._enter_atomicsdjango/test/testcases.py:13967 ms17.6%
Atomic.__enter__django/db/transaction.py:1987 ms17.6%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4547 ms17.6%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3037 ms17.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.6%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2797 ms17.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.6%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms17.6%
DatabaseWrapper.get_new_connectionft/db/postgresql/base.py:39 return super().get_new_connection(conn_params)7 ms17.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.6%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3337 ms17.6%
Connection.connectpsycopg/connection.py:1097 ms17.6%
wait_connpsycopg/waiting.py:1453 ms8.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms8.8%
wait_connpsycopg/waiting.py:1362 ms5.9%
BaseConnection._connect_genpsycopg/_connection_base.py:4392 ms5.9%
wait_connpsycopg/waiting.py:1411 ms2.9%
EpollSelector.select<stdlib>/selectors.py:4521 ms2.9%
call32 ms82.1%
TestIndexPage.test_indexft/tests.py:20 response = self.client.get(reverse("index"))29 ms73.0%
Client.getdjango/test/client.py:112429 ms73.0%
RequestFactory.getdjango/test/client.py:47529 ms73.0%
RequestFactory.genericdjango/test/client.py:67129 ms73.0%
Client.requestdjango/test/client.py:108229 ms73.0%
ClientHandler.__call__django/test/client.py:17325 ms63.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6225 ms63.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10425 ms63.9%
WhiteNoise.add_fileswhitenoise/base.py:10825 ms63.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12014 ms36.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13114 ms36.5%
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms18.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2247 ms18.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1767 ms18.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1977 ms18.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms9.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2054 ms9.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1844 ms9.1%
WhiteNoise.get_static_filewhitenoise/base.py:2087 ms18.3%
StaticFile.__init__whitenoise/responders.py:764 ms9.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1894 ms9.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:834 ms9.1%
Headers.get<stdlib>/wsgiref/headers.py:1044 ms9.1%
StaticFile.__init__whitenoise/responders.py:744 ms9.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:834 ms9.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms27.4%
scantreewhitenoise/base.py:26211 ms27.4%
scantreewhitenoise/base.py:26211 ms27.4%
scantreewhitenoise/base.py:2604 ms9.1%
scantreewhitenoise/base.py:2624 ms9.1%
scantreewhitenoise/base.py:2624 ms9.1%
scantreewhitenoise/base.py:2624 ms9.1%
scantreewhitenoise/base.py:2644 ms9.1%
<GC>~4 ms9.1%
scantreewhitenoise/base.py:2644 ms9.1%
ClientHandler.__call__django/test/client.py:1864 ms9.1%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms9.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.1%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms9.1%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})4 ms9.1%
renderdjango/shortcuts.py:254 ms9.1%
render_to_stringdjango/template/loader.py:624 ms9.1%
Template.renderdjango/template/backends/django.py:1074 ms9.1%
Template.renderdjango/template/base.py:1744 ms9.1%
instrumented_test_renderdjango/test/utils.py:1144 ms9.1%
NodeList.renderdjango/template/base.py:10914 ms9.1%
Node.render_annotateddjango/template/base.py:10524 ms9.1%
ExtendsNode.renderdjango/template/loader_tags.py:1604 ms9.1%
instrumented_test_renderdjango/test/utils.py:1144 ms9.1%
NodeList.renderdjango/template/base.py:10914 ms9.1%
Node.render_annotateddjango/template/base.py:10524 ms9.1%
ExtendsNode.renderdjango/template/loader_tags.py:1604 ms9.1%
instrumented_test_renderdjango/test/utils.py:1144 ms9.1%
NodeList.renderdjango/template/base.py:10914 ms9.1%
Node.render_annotateddjango/template/base.py:10524 ms9.1%
BlockNode.renderdjango/template/loader_tags.py:664 ms9.1%
NodeList.renderdjango/template/base.py:10914 ms9.1%
Node.render_annotateddjango/template/base.py:10524 ms9.1%
BlockNode.renderdjango/template/loader_tags.py:664 ms9.1%
NodeList.renderdjango/template/base.py:10914 ms9.1%
Node.render_annotateddjango/template/base.py:10524 ms9.1%
IfNode.renderdjango/template/defaulttags.py:3324 ms9.1%
QuerySet.__bool__django/db/models/query.py:4044 ms9.1%
QuerySet._fetch_alldjango/db/models/query.py:20004 ms9.1%
ModelIterable.__iter__django/db/models/query.py:954 ms9.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16244 ms9.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms9.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms9.1%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms9.1%
Cursor.executepsycopg/cursor.py:1134 ms9.1%
Connection.waitpsycopg/connection.py:4954 ms9.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms9.1%
TestCase._fixture_teardowndjango/test/testcases.py:14974 ms9.1%
TestCase._rollback_atomicsdjango/test/testcases.py:14054 ms9.1%
Atomic.__exit__django/db/transaction.py:2864 ms9.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms9.1%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4314 ms9.1%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3754 ms9.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms9.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms9.1%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms9.1%
Cursor.executepsycopg/cursor.py:1134 ms9.1%
Connection.waitpsycopg/connection.py:4954 ms9.1%
Estimated from 15 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:20
response = self.client.get(reverse("index"))
TestIndexPage.test_index
· Libraries
|
25 ms |
|
ft/db/postgresql/base.py:39
return super().get_new_connection(conn_params)
DatabaseWrapper.get_new_connection
· Database
|
7 ms |
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Database
|
4 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestIndexPage class | 6 ms |
| _django_setup_unittest class | 0.18 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _live_server_helper function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:20
|
29 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
7 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
4 ms |
Reliability
15 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 15 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 39 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 47 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 28 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 48 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 25 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 57 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 58 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 32 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 50 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 50 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 50 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 54 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 27 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 47 ms | Profile |