flakytest.dev anze3db fedidevs
Tests / fedidevs/tests.py

TestAnonymousCacheAndCsrf::test_other_pages_keep_unknown_query_params

First seen 13 hours ago in 0c23747
CI github-actions:test 4 runs
Average
228 ms
median 263 ms
max 293 ms
Phases
Setup 2 ms Call 226 ms Teardown 0.33 ms
Categories
Database 14 ms Other (Libraries, Templates, Unsampled, pytest) 214 ms

10 database queries per run

Needs 3 KB of memory (max 8 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call91 ms98.6%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:43 response = self.client.get("/login/?amp=1")40 ms43.8%
Client.getdjango/test/client.py:113340 ms43.8%
RequestFactory.getdjango/test/client.py:47540 ms43.8%
RequestFactory.genericdjango/test/client.py:67140 ms43.8%
Client.requestdjango/test/client.py:109140 ms43.8%
ClientHandler.__call__django/test/client.py:17334 ms37.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6334 ms37.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10434 ms37.3%
WhiteNoise.add_fileswhitenoise/base.py:10834 ms37.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12026 ms28.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13124 ms26.3%
WhiteNoise.get_static_filewhitenoise/base.py:21714 ms15.3%
StaticFile.__init__whitenoise/responders.py:738 ms8.8%
StaticFile.get_headerswhitenoise/responders.py:1764 ms4.4%
formatdate<stdlib>/email/utils.py:2664 ms4.4%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms2.2%
format_datetime<stdlib>/email/utils.py:2842 ms2.2%
StaticFile.__init__whitenoise/responders.py:764 ms4.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1902 ms2.2%
Response.__init__whitenoise/responders.py:182 ms2.2%
<GC>~2 ms2.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms2.2%
StaticFile.__init__whitenoise/responders.py:752 ms2.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:2128 ms8.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2336 ms6.6%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms2.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms2.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:212 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms2.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2302 ms2.2%
Headers.add_header<stdlib>/wsgiref/headers.py:1902 ms2.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms2.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms8.8%
scantreewhitenoise/base.py:2718 ms8.8%
scantreewhitenoise/base.py:2734 ms4.4%
scantreewhitenoise/base.py:2714 ms4.4%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
ClientHandler.__call__django/test/client.py:1866 ms6.6%
BaseHandler.get_responsedjango/core/handlers/base.py:1426 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1236 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1456 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1996 ms6.6%
loginaccounts/views.py:280 return render(request, "login.html")6 ms6.6%
renderdjango/shortcuts.py:276 ms6.6%
render_to_stringdjango/template/loader.py:626 ms6.6%
Template.renderdjango/template/backends/django.py:1076 ms6.6%
Template.renderdjango/template/base.py:1756 ms6.6%
instrumented_test_renderdjango/test/utils.py:1136 ms6.6%
NodeList.renderdjango/template/base.py:11086 ms6.6%
Node.render_annotateddjango/template/base.py:10696 ms6.6%
ExtendsNode.renderdjango/template/loader_tags.py:1604 ms4.4%
instrumented_test_renderdjango/test/utils.py:1134 ms4.4%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
BlockNode.renderdjango/template/loader_tags.py:662 ms2.2%
NodeList.renderdjango/template/base.py:11082 ms2.2%
Node.render_annotateddjango/template/base.py:10692 ms2.2%
WithNode.renderdjango/template/defaulttags.py:5812 ms2.2%
NodeList.renderdjango/template/base.py:11082 ms2.2%
Node.render_annotateddjango/template/base.py:10692 ms2.2%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.2%
Template.renderdjango/template/base.py:1772 ms2.2%
instrumented_test_renderdjango/test/utils.py:1132 ms2.2%
NodeList.renderdjango/template/base.py:11082 ms2.2%
Node.render_annotateddjango/template/base.py:10692 ms2.2%
SimpleNode.renderdjango/template/library.py:3432 ms2.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.2%
QuerySet.__iter__django/db/models/query.py:4392 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.2%
NodeList.renderdjango/template/base.py:11082 ms2.2%
Node.render_annotateddjango/template/base.py:10692 ms2.2%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.2%
Template.renderdjango/template/base.py:1772 ms2.2%
instrumented_test_renderdjango/test/utils.py:1132 ms2.2%
NodeList.renderdjango/template/base.py:11082 ms2.2%
Node.render_annotateddjango/template/base.py:10692 ms2.2%
SimpleNode.renderdjango/template/library.py:3432 ms2.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.2%
QuerySet.__iter__django/db/models/query.py:4392 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
ExtendsNode.renderdjango/template/loader_tags.py:1352 ms2.2%
ExtendsNode.get_parentdjango/template/loader_tags.py:1322 ms2.2%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:4540 ms43.8%
Client.getdjango/test/client.py:113340 ms43.8%
RequestFactory.getdjango/test/client.py:47540 ms43.8%
RequestFactory.genericdjango/test/client.py:67140 ms43.8%
Client.requestdjango/test/client.py:109140 ms43.8%
ClientHandler.__call__django/test/client.py:18640 ms43.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14240 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12340 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14540 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38040 ms43.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5640 ms43.8%
BaseHandler._get_responsedjango/core/handlers/base.py:19940 ms43.8%
starter_packsstarter_packs/views.py:185 return render(34 ms37.3%
renderdjango/shortcuts.py:2734 ms37.3%
render_to_stringdjango/template/loader.py:6228 ms30.7%
Template.renderdjango/template/backends/django.py:10728 ms30.7%
Template.renderdjango/template/base.py:17528 ms30.7%
instrumented_test_renderdjango/test/utils.py:11328 ms30.7%
NodeList.renderdjango/template/base.py:110828 ms30.7%
Node.render_annotateddjango/template/base.py:106928 ms30.7%
ExtendsNode.renderdjango/template/loader_tags.py:16028 ms30.7%
instrumented_test_renderdjango/test/utils.py:11328 ms30.7%
NodeList.renderdjango/template/base.py:110828 ms30.7%
Node.render_annotateddjango/template/base.py:106928 ms30.7%
BlockNode.renderdjango/template/loader_tags.py:6624 ms26.3%
NodeList.renderdjango/template/base.py:110824 ms26.3%
Node.render_annotateddjango/template/base.py:106924 ms26.3%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:24024 ms26.3%
NodeList.renderdjango/template/base.py:110824 ms26.3%
Node.render_annotateddjango/template/base.py:106924 ms26.3%
SimpleNode.renderdjango/template/library.py:34324 ms26.3%
heroicon_solidheroicons/templatetags/heroicons.py:2824 ms26.3%
_render_iconheroicons/templatetags/heroicons.py:4124 ms26.3%
_render_iconheroicons/__init__.py:4724 ms26.3%
_load_iconheroicons/__init__.py:1824 ms26.3%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150524 ms26.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16084 ms4.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16234 ms4.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16064 ms4.4%
Codec.decode<stdlib>/encodings/cp437.py:152 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16182 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15932 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16102 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16372 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15992 ms2.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15902 ms2.2%
IfNode.renderdjango/template/defaulttags.py:3334 ms4.4%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms4.4%
Template.renderdjango/template/base.py:1774 ms4.4%
instrumented_test_renderdjango/test/utils.py:1134 ms4.4%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
SimpleNode.renderdjango/template/library.py:3434 ms4.4%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms4.4%
QuerySet.__iter__django/db/models/query.py:4392 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
render_to_stringdjango/template/loader.py:616 ms6.6%
get_templatedjango/template/loader.py:156 ms6.6%
DjangoTemplates.get_templatedjango/template/backends/django.py:796 ms6.6%
Engine.get_templatedjango/template/engine.py:1866 ms6.6%
Engine.find_templatedjango/template/engine.py:1596 ms6.6%
Loader.get_templatedjango/template/loaders/cached.py:576 ms6.6%
Loader.get_templatedjango/template/loaders/base.py:284 ms4.4%
__init____init__:-14 ms4.4%
Template.__init__django/template/base.py:1584 ms4.4%
Template.compile_nodelistdjango/template/base.py:2004 ms4.4%
Parser.parsedjango/template/base.py:6014 ms4.4%
do_extendsdjango/template/loader_tags.py:3074 ms4.4%
Parser.parsedjango/template/base.py:6014 ms4.4%
do_blockdjango/template/loader_tags.py:2354 ms4.4%
Parser.parsedjango/template/base.py:6014 ms4.4%
cotton_componentdjango_cotton/templatetags/_component.py:3812 ms2.2%
do_ifdjango/template/defaulttags.py:9942 ms2.2%
Parser.parsedjango/template/base.py:6012 ms2.2%
do_fordjango/template/defaulttags.py:8942 ms2.2%
Parser.parsedjango/template/base.py:6012 ms2.2%
do_ifdjango/template/defaulttags.py:9942 ms2.2%
Parser.parsedjango/template/base.py:6012 ms2.2%
do_fordjango/template/defaulttags.py:8942 ms2.2%
Parser.parsedjango/template/base.py:6012 ms2.2%
do_includedjango/template/loader_tags.py:3322 ms2.2%
Token.split_contentsdjango/template/base.py:3942 ms2.2%
Loader.get_templatedjango/template/loaders/base.py:232 ms2.2%
Loader.get_contentsdjango/template/loaders/cached.py:262 ms2.2%
Loader.get_contentsdjango_cotton/cotton_loader.py:352 ms2.2%
CottonCompiler.processdjango_cotton/compiler_regex.py:1602 ms2.2%
CottonCompiler.restore_ignorablesdjango_cotton/compiler_regex.py:1102 ms2.2%
starter_packsstarter_packs/views.py:160 for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(4 ms4.4%
QuerySet.__iter__django/db/models/query.py:4394 ms4.4%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.4%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms4.4%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms4.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms4.4%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.4%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms4.4%
Cursor.executepsycopg/cursor.py:1134 ms4.4%
Connection.waitpsycopg/connection.py:4954 ms4.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms4.4%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms4.4%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms4.4%
starter_packsstarter_packs/views.py:168 page_obj = paginator.get_page(page_number)2 ms2.2%
Paginator.get_pagedjango/core/paginator.py:1612 ms2.2%
Paginator.validate_numberdjango/core/paginator.py:1532 ms2.2%
cached_property.__get__django/utils/functional.py:472 ms2.2%
Paginator.num_pagesdjango/core/paginator.py:1882 ms2.2%
cached_property.__get__django/utils/functional.py:472 ms2.2%
Paginator.countdjango/core/paginator.py:1822 ms2.2%
QuerySet.countdjango/db/models/query.py:6772 ms2.2%
Query.get_countdjango/db/models/sql/query.py:6572 ms2.2%
Query.get_aggregationdjango/db/models/sql/query.py:6392 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:47 response = self.client.get("/admin/?foo=bar")8 ms8.8%
Client.getdjango/test/client.py:11338 ms8.8%
RequestFactory.getdjango/test/client.py:4758 ms8.8%
RequestFactory.genericdjango/test/client.py:6718 ms8.8%
Client.requestdjango/test/client.py:10918 ms8.8%
ClientHandler.__call__django/test/client.py:1868 ms8.8%
BaseHandler.get_responsedjango/core/handlers/base.py:1428 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1238 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1458 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms8.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3798 ms8.8%
LocaleMiddleware.process_requestdjango/middleware/locale.py:288 ms8.8%
get_language_from_pathdjango/utils/translation/__init__.py:2528 ms8.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3806 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:566 ms6.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1996 ms6.6%
AdminSite.get_urls.<locals>.wrap.<locals>.wrapperdjango/contrib/admin/sites.py:2676 ms6.6%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1896 ms6.6%
never_cache.<locals>._view_wrapperdjango/views/decorators/cache.py:796 ms6.6%
AdminSite.admin_view.<locals>.innerdjango/contrib/admin/sites.py:2376 ms6.6%
reversedjango/urls/base.py:986 ms6.6%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:7606 ms6.6%
URLResolver._populatedjango/urls/resolvers.py:5984 ms4.4%
normalizedjango/utils/regex_helper.py:1852 ms2.2%
normalizedjango/utils/regex_helper.py:752 ms2.2%
next_chardjango/utils/regex_helper.py:1962 ms2.2%
<GC>~2 ms2.2%
URLResolver._populatedjango/urls/resolvers.py:5842 ms2.2%
URLResolver._populatedjango/urls/resolvers.py:5982 ms2.2%
normalizedjango/utils/regex_helper.py:1932 ms2.2%
get_language_from_pathdjango/utils/translation/trans_real.py:5592 ms2.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms2.2%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms2.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms2.2%
Atomic.__exit__django/db/transaction.py:2952 ms2.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms2.2%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4132 ms2.2%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3712 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
teardown0.47 ms0.5%
Estimated from 46 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

fedidevs/tests.py:43
response = self.client.get("/login/?amp=1")
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_params · Libraries
34 ms
starter_packs/views.py:185
return render(
starter_packs · Templates
30 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
8 ms
fedidevs/tests.py:47
response = self.client.get("/admin/?foo=bar")
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_params · Libraries
8 ms
starter_packs/views.py:160
for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(
starter_packs · Database
4 ms
accounts/views.py:280
return render(request, "login.html")
login · Templates
2 ms
starter_packs/views.py:168
page_obj = paginator.get_page(page_number)
starter_packs · Database
2 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_template_string_if_invalid_marker function 0.03 ms
_django_db_marker function 0.03 ms
_django_isolate_apps function 0.03 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.02 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

10 queries · 4 ms

Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).

3×
SELECT "accounts_instance"."domain" AS "domain" FROM "accounts_instance" WHERE "accounts_instance"."deleted_at" IS NULL

Biggest pieces of work

call test body
fedidevs/tests.py:43
89 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
teardown pytest internals 0.47 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 92 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 293 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 270 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 256 ms ab6465a main Profile
13 hours ago CI github-actions:test passed 130 ms 0c23747 main Run