CI
github-actions:test
5 runs
Average
47 ms
median 51 ms
max 57 ms
max 57 ms
Phases
Setup 10 ms
Call 36 ms
Teardown 0.18 ms
Categories
Database 13 ms
Other (Libraries, Unsampled, Templates, pytest) 34 ms
5 database queries per run
Needs 1 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, an hour ago ·
open run
setup10 ms19.8%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()10 ms19.8%
TestCase._enter_atomicsdjango/test/testcases.py:139610 ms19.8%
Atomic.__enter__django/db/transaction.py:19810 ms19.8%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45410 ms19.8%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30310 ms19.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms19.8%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27910 ms19.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms19.8%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms13.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms13.8%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3337 ms13.8%
Connection.connectpsycopg/connection.py:1097 ms13.8%
wait_connpsycopg/waiting.py:1414 ms7.9%
EpollSelector.select<stdlib>/selectors.py:4524 ms7.9%
wait_connpsycopg/waiting.py:1453 ms5.9%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms5.9%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2552 ms4.0%
DatabaseWrapper.get_connection_paramsdjango/db/backends/postgresql/base.py:2951 ms2.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms2.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3331 ms2.0%
Connection.connectpsycopg/connection.py:1091 ms2.0%
wait_connpsycopg/waiting.py:1361 ms2.0%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms2.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2581 ms2.0%
DatabaseWrapper.init_connection_statedjango/db/backends/postgresql/base.py:4021 ms2.0%
DatabaseWrapper._configure_connectiondjango/db/backends/postgresql/base.py:3741 ms2.0%
DatabaseWrapper._configure_timezonedjango/db/backends/postgresql/base.py:3571 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
call41 ms79.8%
TestAccountPages.test_loginft/tests.py:150 response = self.client.get(reverse("account_login"))36 ms69.2%
Client.getdjango/test/client.py:112436 ms69.2%
RequestFactory.getdjango/test/client.py:47536 ms69.2%
RequestFactory.genericdjango/test/client.py:67136 ms69.2%
Client.requestdjango/test/client.py:108236 ms69.2%
ClientHandler.__call__django/test/client.py:17330 ms58.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6230 ms58.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10430 ms58.5%
WhiteNoise.add_fileswhitenoise/base.py:10830 ms58.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12022 ms42.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13122 ms42.6%
WhiteNoise.get_static_filewhitenoise/base.py:20822 ms42.6%
StaticFile.__init__whitenoise/responders.py:745 ms10.6%
parsedate<stdlib>/email/_parseaddr.py:1855 ms10.6%
StaticFile.__init__whitenoise/responders.py:735 ms10.6%
StaticFile.get_headerswhitenoise/responders.py:1715 ms10.6%
StaticFile.__init__whitenoise/responders.py:775 ms10.6%
StaticFile.get_alternativeswhitenoise/responders.py:2043 ms5.3%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms5.3%
StaticFile.__init__whitenoise/responders.py:725 ms10.6%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms5.3%
__init____init__:-13 ms5.3%
FileEntry.__init__whitenoise/responders.py:2633 ms5.3%
FileEntry.stat_regular_filewhitenoise/responders.py:2763 ms5.3%
<GC>~3 ms5.3%
StaticFile.get_file_statswhitenoise/responders.py:1633 ms5.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms10.6%
scantreewhitenoise/base.py:2603 ms5.3%
scantreewhitenoise/base.py:2643 ms5.3%
ClientHandler.__call__django/test/client.py:1865 ms10.6%
BaseHandler.get_responsedjango/core/handlers/base.py:1415 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1305 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1235 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:345 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1983 ms5.3%
View.as_view.<locals>.viewdjango/views/generic/base.py:1063 ms5.3%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:483 ms5.3%
rate_limit.<locals>.decorator.<locals>.wrapallauth/decorators.py:103 ms5.3%
consume_or_429allauth/core/ratelimit.py:703 ms5.3%
consumeallauth/core/ratelimit.py:433 ms5.3%
__getattr__allauth/account/app_settings.py:5893 ms5.3%
BaseHandler._get_responsedjango/core/handlers/base.py:2213 ms5.3%
SimpleTemplateResponse.renderdjango/template/response.py:1143 ms5.3%
SimpleTemplateResponse.rendered_contentdjango/template/response.py:923 ms5.3%
Template.renderdjango/template/backends/django.py:1073 ms5.3%
Template.renderdjango/template/base.py:1743 ms5.3%
instrumented_test_renderdjango/test/utils.py:1143 ms5.3%
NodeList.renderdjango/template/base.py:10913 ms5.3%
Node.render_annotateddjango/template/base.py:10523 ms5.3%
ExtendsNode.renderdjango/template/loader_tags.py:1353 ms5.3%
ExtendsNode.get_parentdjango/template/loader_tags.py:1323 ms5.3%
ExtendsNode.find_templatedjango/template/loader_tags.py:1103 ms5.3%
Engine.find_templatedjango/template/engine.py:1593 ms5.3%
Loader.get_templatedjango/template/loaders/cached.py:573 ms5.3%
Loader.get_templatedjango/template/loaders/base.py:283 ms5.3%
__init____init__:-13 ms5.3%
Template.__init__django/template/base.py:1573 ms5.3%
Template.compile_nodelistdjango/template/base.py:1993 ms5.3%
Parser.parsedjango/template/base.py:5833 ms5.3%
do_extendsdjango/template/loader_tags.py:3073 ms5.3%
Parser.parsedjango/template/base.py:5833 ms5.3%
do_blockdjango/template/loader_tags.py:2353 ms5.3%
Parser.parsedjango/template/base.py:5833 ms5.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()3 ms5.3%
TestCase._fixture_teardowndjango/test/testcases.py:14953 ms5.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4833 ms5.3%
CursorWrapper.executedjango/db/backends/utils.py:793 ms5.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms5.3%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms5.3%
Cursor.executepsycopg/cursor.py:1133 ms5.3%
Connection.waitpsycopg/connection.py:4953 ms5.3%
Estimated from 25 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:150
response = self.client.get(reverse("account_login"))
TestAccountPages.test_login
· Libraries
|
36 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestAccountPages class | 9 ms |
| _django_setup_unittest class | 0.35 ms |
| _django_db_marker function | 0.09 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:150
|
36 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
10 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
3 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| an hour ago | CI github-actions:test | passed | 51 ms | Profile |
| an hour ago | CI github-actions:test | passed | 48 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 57 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 27 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 51 ms | Profile |