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

TestAnonymousCacheAndCsrf::test_other_pages_keep_unknown_query_params

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
178 ms
median 165 ms
max 293 ms
Phases
Setup 2 ms Call 176 ms Teardown 0.56 ms
Categories
Database 31 ms App code 0.22 ms Other (Libraries, Templates, pytest, Unsampled, ...) 147 ms

10 database queries per run

Needs 108 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call98 ms98.8%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:52 response = self.client.get("/starter-packs/?amp=1")80 ms80.2%
Client.getdjango/test/client.py:113380 ms80.2%
RequestFactory.getdjango/test/client.py:47580 ms80.2%
RequestFactory.genericdjango/test/client.py:67180 ms80.2%
Client.requestdjango/test/client.py:109180 ms80.2%
ClientHandler.__call__django/test/client.py:18680 ms80.2%
BaseHandler.get_responsedjango/core/handlers/base.py:14280 ms80.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5680 ms80.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38080 ms80.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5680 ms80.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38080 ms80.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5680 ms80.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12379 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14579 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38079 ms79.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5679 ms79.0%
BaseHandler._get_responsedjango/core/handlers/base.py:19979 ms79.0%
starter_packsstarter_packs/views.py:185 return render(73 ms73.2%
renderdjango/shortcuts.py:2773 ms73.2%
render_to_stringdjango/template/loader.py:6153 ms53.5%
get_templatedjango/template/loader.py:1553 ms53.5%
DjangoTemplates.get_templatedjango/template/backends/django.py:7953 ms53.5%
Engine.get_templatedjango/template/engine.py:18653 ms53.5%
Engine.find_templatedjango/template/engine.py:15953 ms53.5%
Loader.get_templatedjango/template/loaders/cached.py:5753 ms53.5%
Loader.get_templatedjango/template/loaders/base.py:2344 ms44.2%
Loader.get_contentsdjango/template/loaders/cached.py:2644 ms44.2%
Loader.get_contentsdjango_cotton/cotton_loader.py:3543 ms43.0%
CottonCompiler.processdjango_cotton/compiler_regex.py:16037 ms37.2%
CottonCompiler.restore_ignorablesdjango_cotton/compiler_regex.py:11036 ms36.0%
CottonCompiler.restore_ignorablesdjango_cotton/compiler_regex.py:1051 ms1.2%
CottonCompiler.processdjango_cotton/compiler_regex.py:1552 ms2.3%
CottonCompiler.exclude_ignorablesdjango_cotton/compiler_regex.py:1002 ms2.3%
CottonCompiler.processdjango_cotton/compiler_regex.py:1562 ms2.3%
CottonCompiler.process_c_varsdjango_cotton/compiler_regex.py:1351 ms1.2%
CottonCompiler.get_replacementsdjango_cotton/compiler_regex.py:1151 ms1.2%
CottonCompiler.processdjango_cotton/compiler_regex.py:1591 ms1.2%
Loader.get_contentsdjango_cotton/cotton_loader.py:241 ms1.2%
CottonTemplateCacheHandler.get_cache_keydjango_cotton/cotton_loader.py:1161 ms1.2%
getmtime<frozen genericpath>:921 ms1.2%
Loader.get_templatedjango/template/loaders/base.py:289 ms9.3%
__init____init__:-19 ms9.3%
Template.__init__django/template/base.py:1589 ms9.3%
Template.compile_nodelistdjango/template/base.py:2006 ms5.8%
Parser.parsedjango/template/base.py:6016 ms5.8%
do_extendsdjango/template/loader_tags.py:3076 ms5.8%
Parser.parsedjango/template/base.py:6016 ms5.8%
do_blockdjango/template/loader_tags.py:2356 ms5.8%
Parser.parsedjango/template/base.py:6016 ms5.8%
do_ifdjango/template/defaulttags.py:9942 ms2.3%
Parser.parsedjango/template/base.py:6012 ms2.3%
do_translatedjango/templatetags/i18n.py:4001 ms1.2%
Token.split_contentsdjango/template/base.py:3941 ms1.2%
smart_splitdjango/utils/text.py:4401 ms1.2%
LazyObject.__getattribute__django/utils/functional.py:-11 ms1.2%
do_fordjango/template/defaulttags.py:8941 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_ifdjango/template/defaulttags.py:9921 ms1.2%
Token.split_contentsdjango/template/base.py:3941 ms1.2%
smart_splitdjango/utils/text.py:4401 ms1.2%
cotton_componentdjango_cotton/templatetags/_component.py:3741 ms1.2%
_find_and_load<frozen importlib._bootstrap>:13531 ms1.2%
_find_and_load_unlocked<frozen importlib._bootstrap>:12491 ms1.2%
_load_unlocked<frozen importlib._bootstrap>:8571 ms1.2%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7511 ms1.2%
_call_with_frames_removed<frozen importlib._bootstrap>:4911 ms1.2%
<module>django_cotton/tag_parser.py:181 ms1.2%
cotton_componentdjango_cotton/templatetags/_component.py:3901 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
Library.simple_tag.<locals>.dec.<locals>.compile_funcdjango/template/library.py:1411 ms1.2%
parse_bitsdjango/template/library.py:4631 ms1.2%
Parser.compile_filterdjango/template/base.py:6941 ms1.2%
__init____init__:-11 ms1.2%
FilterExpression.__init__django/template/base.py:7731 ms1.2%
__init____init__:-11 ms1.2%
Variable.__init__django/template/base.py:9231 ms1.2%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2311 ms1.2%
do_ifdjango/template/defaulttags.py:10081 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_ifdjango/template/defaulttags.py:9941 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_ifdjango/template/defaulttags.py:10021 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_translatedjango/templatetags/i18n.py:4001 ms1.2%
Token.split_contentsdjango/template/base.py:3941 ms1.2%
smart_splitdjango/utils/text.py:4401 ms1.2%
Template.compile_nodelistdjango/template/base.py:1913 ms3.5%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:521 ms1.2%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:531 ms1.2%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:871 ms1.2%
render_to_stringdjango/template/loader.py:6220 ms19.8%
Template.renderdjango/template/backends/django.py:10720 ms19.8%
Template.renderdjango/template/base.py:17520 ms19.8%
instrumented_test_renderdjango/test/utils.py:11320 ms19.8%
NodeList.renderdjango/template/base.py:110820 ms19.8%
Node.render_annotateddjango/template/base.py:106920 ms19.8%
ExtendsNode.renderdjango/template/loader_tags.py:16020 ms19.8%
instrumented_test_renderdjango/test/utils.py:11320 ms19.8%
NodeList.renderdjango/template/base.py:110820 ms19.8%
Node.render_annotateddjango/template/base.py:106920 ms19.8%
BlockNode.renderdjango/template/loader_tags.py:6619 ms18.6%
NodeList.renderdjango/template/base.py:110819 ms18.6%
Node.render_annotateddjango/template/base.py:106919 ms18.6%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:24015 ms15.1%
NodeList.renderdjango/template/base.py:110815 ms15.1%
Node.render_annotateddjango/template/base.py:106915 ms15.1%
SimpleNode.renderdjango/template/library.py:34314 ms13.9%
heroicon_solidheroicons/templatetags/heroicons.py:2814 ms13.9%
_render_iconheroicons/templatetags/heroicons.py:4114 ms13.9%
_render_iconheroicons/__init__.py:4713 ms12.8%
_load_iconheroicons/__init__.py:1813 ms12.8%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150513 ms12.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16063 ms3.5%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15902 ms2.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16232 ms2.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15931 ms1.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16331 ms1.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15911 ms1.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16081 ms1.2%
_render_iconheroicons/__init__.py:651 ms1.2%
tostring<stdlib>/xml/etree/ElementTree.py:11061 ms1.2%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7451 ms1.2%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:9081 ms1.2%
TranslateNode.renderdjango/templatetags/i18n.py:911 ms1.2%
render_value_in_contextdjango/template/base.py:11501 ms1.2%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:1961 ms1.2%
get_cotton_datadjango_cotton/utils.py:381 ms1.2%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.2%
Coverage._should_tracecoverage/control.py:4521 ms1.2%
InOrOut.should_tracecoverage/inorout.py:4011 ms1.2%
canonical_filenamecoverage/files.py:851 ms1.2%
abs_filecoverage/files.py:1581 ms1.2%
realpath<frozen posixpath>:4601 ms1.2%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2751 ms1.2%
Template.renderdjango/template/base.py:1771 ms1.2%
instrumented_test_renderdjango/test/utils.py:1131 ms1.2%
NodeList.renderdjango/template/base.py:11081 ms1.2%
Node.render_annotateddjango/template/base.py:10691 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3331 ms1.2%
NodeList.renderdjango/template/base.py:11081 ms1.2%
Node.render_annotateddjango/template/base.py:10691 ms1.2%
SimpleNode.renderdjango/template/library.py:3431 ms1.2%
querystringdjango/template/defaulttags.py:13451 ms1.2%
QueryDict.setlistdjango/http/request.py:-11 ms1.2%
IncludeNode.renderdjango/template/loader_tags.py:2001 ms1.2%
Engine.select_templatedjango/template/engine.py:2281 ms1.2%
Engine.get_templatedjango/template/engine.py:1861 ms1.2%
Engine.find_templatedjango/template/engine.py:1591 ms1.2%
Loader.get_templatedjango/template/loaders/cached.py:571 ms1.2%
Loader.get_templatedjango/template/loaders/base.py:281 ms1.2%
Template.__init__django/template/base.py:1581 ms1.2%
Template.compile_nodelistdjango/template/base.py:2001 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_ifdjango/template/defaulttags.py:9941 ms1.2%
Parser.parsedjango/template/base.py:6011 ms1.2%
do_translatedjango/templatetags/i18n.py:4031 ms1.2%
Parser.compile_filterdjango/template/base.py:6941 ms1.2%
__init____init__:-11 ms1.2%
FilterExpression.__init__django/template/base.py:7731 ms1.2%
__init____init__:-11 ms1.2%
Variable.__init__django/template/base.py:9231 ms1.2%
TranslateNode.renderdjango/templatetags/i18n.py:911 ms1.2%
render_value_in_contextdjango/template/base.py:11501 ms1.2%
starter_packsstarter_packs/views.py:171 avatars = pack_header_avatars([pack.id for pack in page_obj], limit=6)2 ms2.3%
Sequence.__iter__<frozen _collections_abc>:10202 ms2.3%
Page.__getitem__django/core/paginator.py:3232 ms2.3%
QuerySet.__iter__django/db/models/query.py:4392 ms2.3%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.3%
ModelIterable.__iter__django/db/models/query.py:1032 ms2.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms2.3%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms2.3%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms1.2%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms1.2%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3191 ms1.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.2%
Col.as_sqldjango/db/models/expressions.py:13681 ms1.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:901 ms1.2%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4911 ms1.2%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:3641 ms1.2%
Expression.__hash__django/db/models/expressions.py:5621 ms1.2%
cached_property.__get__django/utils/functional.py:471 ms1.2%
Expression.identitydjango/db/models/expressions.py:5521 ms1.2%
starter_packsstarter_packs/views.py:160 for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(1 ms1.2%
QuerySet.__iter__django/db/models/query.py:4391 ms1.2%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3021 ms1.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15741 ms1.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
starter_packsstarter_packs/views.py:168 page_obj = paginator.get_page(page_number)1 ms1.2%
Paginator.get_pagedjango/core/paginator.py:1611 ms1.2%
Paginator.validate_numberdjango/core/paginator.py:1531 ms1.2%
cached_property.__get__django/utils/functional.py:471 ms1.2%
Paginator.num_pagesdjango/core/paginator.py:1881 ms1.2%
cached_property.__get__django/utils/functional.py:471 ms1.2%
Paginator.countdjango/core/paginator.py:1821 ms1.2%
QuerySet.countdjango/db/models/query.py:6771 ms1.2%
Query.get_countdjango/db/models/sql/query.py:6571 ms1.2%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms1.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.2%
starter_packsstarter_packs/views.py:178 if not request.user.is_anonymous:1 ms1.2%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms1.2%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms1.2%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:391 ms1.2%
get_userdjango/contrib/auth/middleware.py:191 ms1.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3821 ms1.2%
SecurityMiddleware.process_responsedjango/middleware/security.py:491 ms1.2%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:54 response = self.client.get("/admin/?foo=bar")10 ms10.5%
Client.getdjango/test/client.py:113310 ms10.5%
RequestFactory.getdjango/test/client.py:47510 ms10.5%
RequestFactory.genericdjango/test/client.py:67110 ms10.5%
Client.requestdjango/test/client.py:109110 ms10.5%
ClientHandler.__call__django/test/client.py:1869 ms9.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1429 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1239 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1459 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1999 ms9.3%
AdminSite.get_urls.<locals>.wrap.<locals>.wrapperdjango/contrib/admin/sites.py:2679 ms9.3%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1899 ms9.3%
never_cache.<locals>._view_wrapperdjango/views/decorators/cache.py:799 ms9.3%
AdminSite.admin_view.<locals>.innerdjango/contrib/admin/sites.py:2379 ms9.3%
reversedjango/urls/base.py:989 ms9.3%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:7609 ms9.3%
URLResolver._populatedjango/urls/resolvers.py:5845 ms4.6%
URLResolver._populatedjango/urls/resolvers.py:5842 ms2.3%
URLResolver._populatedjango/urls/resolvers.py:5631 ms1.2%
normalizedjango/utils/regex_helper.py:931 ms1.2%
URLResolver._populatedjango/urls/resolvers.py:5591 ms1.2%
URLResolver._populatedjango/urls/resolvers.py:5982 ms2.3%
normalizedjango/utils/regex_helper.py:911 ms1.2%
normalizedjango/utils/regex_helper.py:861 ms1.2%
URLResolver._populatedjango/urls/resolvers.py:5983 ms3.5%
normalizedjango/utils/regex_helper.py:1852 ms2.3%
next_chardjango/utils/regex_helper.py:2081 ms1.2%
normalizedjango/utils/regex_helper.py:831 ms1.2%
URLResolver._populatedjango/urls/resolvers.py:5971 ms1.2%
URLResolver.reverse_dictdjango/urls/resolvers.py:6311 ms1.2%
get_languagedjango/utils/translation/__init__.py:2111 ms1.2%
get_languagedjango/utils/translation/trans_real.py:3291 ms1.2%
Local.__getattr__asgiref/local.py:1571 ms1.2%
ClientHandler.__call__django/test/client.py:2081 ms1.2%
Signal.connectdjango/dispatch/dispatcher.py:-11 ms1.2%
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_paramsfedidevs/tests.py:50 response = self.client.get("/login/?amp=1")6 ms5.8%
Client.getdjango/test/client.py:11336 ms5.8%
RequestFactory.getdjango/test/client.py:4756 ms5.8%
RequestFactory.genericdjango/test/client.py:6716 ms5.8%
Client.requestdjango/test/client.py:10916 ms5.8%
ClientHandler.__call__django/test/client.py:1736 ms5.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:636 ms5.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1046 ms5.8%
WhiteNoise.add_fileswhitenoise/base.py:1086 ms5.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms5.8%
scantreewhitenoise/base.py:2715 ms4.6%
scantreewhitenoise/base.py:2715 ms4.6%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2691 ms1.2%
scantreewhitenoise/base.py:2731 ms1.2%
scantreewhitenoise/base.py:2691 ms1.2%
scantreewhitenoise/base.py:2731 ms1.2%
scantreewhitenoise/base.py:2691 ms1.2%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms1.2%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms1.2%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms1.2%
Atomic.__enter__django/db/transaction.py:2231 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms1.2%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms1.2%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms1.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms1.2%
Atomic.__exit__django/db/transaction.py:2951 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms1.2%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.2%
teardown0.49 ms0.5%
Estimated from 86 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/views.py:185
return render(
starter_packs · Templates
73 ms
fedidevs/tests.py:54
response = self.client.get("/admin/?foo=bar")
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_params · Libraries
10 ms
fedidevs/tests.py:50
response = self.client.get("/login/?amp=1")
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_params · Libraries
6 ms
starter_packs/views.py:171
avatars = pack_header_avatars([pack.id for pack in page_obj], limit=6)
starter_packs · Database
2 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
1 ms
starter_packs/views.py:168
page_obj = paginator.get_page(page_number)
starter_packs · Database
1 ms
starter_packs/views.py:178
if not request.user.is_anonymous:
starter_packs · Libraries
1 ms
fedidevs/tests.py:52
response = self.client.get("/starter-packs/?amp=1")
TestAnonymousCacheAndCsrf.test_other_pages_keep_unknown_query_params · Libraries
1 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.04 ms
_template_string_if_invalid_marker function 0.04 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.03 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

10 queries · 8 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:52
96 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
call _post_teardown
django/test/testcases.py:1243
1 ms
teardown pytest internals 0.49 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 99 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 165 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 189 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 147 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 144 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 169 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 97 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 252 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 144 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 92 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 293 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 270 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 256 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 130 ms 0c23747 main Run