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

TestMigratedLegacyConferences::test_djangoconafrica_page

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
324 ms
median 325 ms
max 637 ms
Phases
Setup 1 ms Call 322 ms Teardown 0.32 ms
Categories
Database 126 ms App code 0.18 ms Other (Libraries, Templates, Unsampled, Imports, ...) 198 ms

11 database queries per run

Needs 723 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
setup1 ms1.2%
__init____init__:-11 ms1.2%
signature<stdlib>/inspect.py:33431 ms1.2%
Signature.from_callable<stdlib>/inspect.py:30581 ms1.2%
_signature_from_callable<stdlib>/inspect.py:24771 ms1.2%
call101 ms98.6%
TestMigratedLegacyConferences.test_djangoconafrica_pageconfs/tests.py:172 response = self._assert_no_naive_warning(reverse("djangoconafrica"))98 ms95.1%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)96 ms93.9%
Client.getdjango/test/client.py:113396 ms93.9%
RequestFactory.getdjango/test/client.py:47596 ms93.9%
RequestFactory.genericdjango/test/client.py:67196 ms93.9%
Client.requestdjango/test/client.py:109196 ms93.9%
ClientHandler.__call__django/test/client.py:18649 ms47.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14249 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12349 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14549 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38049 ms47.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5649 ms47.5%
BaseHandler._get_responsedjango/core/handlers/base.py:19949 ms47.5%
conferenceconfs/views.py:169 return _conference_detail_cached(request, conference_slug)49 ms47.5%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:18946 ms45.2%
_conference_detailconfs/views.py:296 return render(14 ms13.9%
renderdjango/shortcuts.py:2714 ms13.9%
render_to_stringdjango/template/loader.py:617 ms7.0%
get_templatedjango/template/loader.py:157 ms7.0%
DjangoTemplates.get_templatedjango/template/backends/django.py:797 ms7.0%
Engine.get_templatedjango/template/engine.py:1867 ms7.0%
Engine.find_templatedjango/template/engine.py:1597 ms7.0%
Loader.get_templatedjango/template/loaders/cached.py:577 ms7.0%
Loader.get_templatedjango/template/loaders/base.py:287 ms7.0%
__init____init__:-17 ms7.0%
Template.__init__django/template/base.py:1587 ms7.0%
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:9946 ms5.8%
Parser.parsedjango/template/base.py:6015 ms4.6%
do_ifdjango/template/defaulttags.py:10084 ms3.5%
Parser.parsedjango/template/base.py:6014 ms3.5%
do_ifdjango/template/defaulttags.py:9934 ms3.5%
TemplateIfParser.__init__django/template/defaulttags.py:9264 ms3.5%
IfParser.__init__django/template/smartif.py:1774 ms3.5%
IfParser.translate_tokendjango/template/smartif.py:1884 ms3.5%
TemplateIfParser.create_vardjango/template/defaulttags.py:9294 ms3.5%
Parser.compile_filterdjango/template/base.py:6944 ms3.5%
__init____init__:-14 ms3.5%
FilterExpression.__init__django/template/base.py:7814 ms3.5%
__init____init__:-14 ms3.5%
Variable.__init__django/template/base.py:9394 ms3.5%
<GC>~4 ms3.5%
urldjango/template/defaulttags.py:15601 ms1.2%
Token.split_contentsdjango/template/base.py:3941 ms1.2%
smart_splitdjango/utils/text.py:4401 ms1.2%
Parser.parsedjango/template/base.py:5481 ms1.2%
Parser.extend_nodelistdjango/template/base.py:6351 ms1.2%
Template.compile_nodelistdjango/template/base.py:1911 ms1.2%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:401 ms1.2%
DebugLexer.tokenizedjango/template/base.py:4961 ms1.2%
Lexer.create_tokendjango/template/base.py:4571 ms1.2%
render_to_stringdjango/template/loader.py:627 ms7.0%
Template.renderdjango/template/backends/django.py:1077 ms7.0%
Template.renderdjango/template/base.py:1756 ms5.8%
instrumented_test_renderdjango/test/utils.py:1136 ms5.8%
NodeList.renderdjango/template/base.py:11086 ms5.8%
Node.render_annotateddjango/template/base.py:10696 ms5.8%
ExtendsNode.renderdjango/template/loader_tags.py:1606 ms5.8%
instrumented_test_renderdjango/test/utils.py:1136 ms5.8%
NodeList.renderdjango/template/base.py:11086 ms5.8%
Node.render_annotateddjango/template/base.py:10696 ms5.8%
BlockNode.renderdjango/template/loader_tags.py:664 ms3.5%
NodeList.renderdjango/template/base.py:11084 ms3.5%
Node.render_annotateddjango/template/base.py:10694 ms3.5%
PartialDefNode.renderdjango/template/defaulttags.py:4202 ms2.3%
NodeList.renderdjango/template/base.py:11082 ms2.3%
Node.render_annotateddjango/template/base.py:10692 ms2.3%
ForNode.renderdjango/template/defaulttags.py:2022 ms2.3%
Page.__len__django/core/paginator.py:3122 ms2.3%
QuerySet.__len__django/db/models/query.py:4212 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:7681 ms1.2%
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.as_sqldjango/db/models/sql/compiler.py:7961 ms1.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.2%
WhereNode.as_sqldjango/db/models/sql/where.py:1511 ms1.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3261 ms1.2%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms1.2%
<lambda>django/template/smartif.py:1081 ms1.2%
URLNode.renderdjango/template/defaulttags.py:5111 ms1.2%
reversedjango/urls/base.py:491 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%
IncludeNode.renderdjango/template/loader_tags.py:2111 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%
SimpleNode.renderdjango/template/library.py:3431 ms1.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances: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%
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%
Template.renderdjango/template/base.py:1711 ms1.2%
RenderContext.push_statedjango/template/context.py:2151 ms1.2%
BaseContext.pushdjango/template/context.py:601 ms1.2%
ContextDict.__init__django/template/context.py:161 ms1.2%
_conference_detailconfs/views.py:268 page_obj = paginator.get_page(page_number)8 ms8.1%
Paginator.get_pagedjango/core/paginator.py:1618 ms8.1%
Paginator.validate_numberdjango/core/paginator.py:1538 ms8.1%
cached_property.__get__django/utils/functional.py:478 ms8.1%
Paginator.num_pagesdjango/core/paginator.py:1888 ms8.1%
cached_property.__get__django/utils/functional.py:478 ms8.1%
Paginator.countdjango/core/paginator.py:1828 ms8.1%
QuerySet.countdjango/db/models/query.py:6778 ms8.1%
Query.get_countdjango/db/models/sql/query.py:6578 ms8.1%
Query.get_aggregationdjango/db/models/sql/query.py:6398 ms8.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16258 ms8.1%
CursorWrapper.executedjango/db/backends/utils.py:798 ms8.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:928 ms8.1%
CursorWrapper._executedjango/db/backends/utils.py:1058 ms8.1%
Cursor.executepsycopg/cursor.py:1138 ms8.1%
Connection.waitpsycopg/connection.py:4958 ms8.1%
_conference_detailconfs/views.py:173 conference = get_object_or_404(Conference, slug=conference_slug)7 ms7.0%
get_object_or_404django/shortcuts.py:1007 ms7.0%
QuerySet.getdjango/db/models/query.py:7027 ms7.0%
QuerySet.__len__django/db/models/query.py:4217 ms7.0%
QuerySet._fetch_alldjango/db/models/query.py:22627 ms7.0%
ModelIterable.__iter__django/db/models/query.py:1037 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16257 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:797 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1057 ms7.0%
Cursor.executepsycopg/cursor.py:1137 ms7.0%
Connection.waitpsycopg/connection.py:4957 ms7.0%
_conference_detailconfs/views.py:204 .count()6 ms5.8%
QuerySet.countdjango/db/models/query.py:6776 ms5.8%
Query.get_countdjango/db/models/sql/query.py:6576 ms5.8%
Query.get_aggregationdjango/db/models/sql/query.py:6396 ms5.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms5.8%
CursorWrapper.executedjango/db/backends/utils.py:796 ms5.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms5.8%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms5.8%
Cursor.executepsycopg/cursor.py:1136 ms5.8%
Connection.waitpsycopg/connection.py:4956 ms5.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2066 ms5.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2866 ms5.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:786 ms5.8%
_conference_detailconfs/views.py:226 counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}5 ms4.6%
QuerySet.__iter__django/db/models/query.py:4395 ms4.6%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms4.6%
ValuesIterable.__iter__django/db/models/query.py:2475 ms4.6%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15745 ms4.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:794 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms3.5%
Cursor.executepsycopg/cursor.py:1134 ms3.5%
Connection.waitpsycopg/connection.py:4954 ms3.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms3.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms3.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms1.2%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms1.2%
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%
Aggregate.as_sqldjango/db/models/aggregates.py:2121 ms1.2%
Func.as_sqldjango/db/models/expressions.py:11111 ms1.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.2%
Col.as_sqldjango/db/models/expressions.py:13691 ms1.2%
_conference_detailconfs/views.py:2764 ms3.5%
_conference_detail.<locals>.<genexpr>confs/views.py:276 current_account = next((account for account in account_counts if account.account.id == account_id), None)4 ms3.5%
QuerySet.__iter__django/db/models/query.py:4394 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms3.5%
ModelIterable.__iter__django/db/models/query.py:1034 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:794 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms3.5%
Cursor.executepsycopg/cursor.py:1134 ms3.5%
Connection.waitpsycopg/connection.py:4954 ms3.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms3.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms3.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms3.5%
_conference_detailconfs/views.py:262 .filter(count__gt=0, account__instance_model__deleted_at__isnull=True)1 ms1.2%
QuerySet.filterdjango/db/models/query.py:16761 ms1.2%
QuerySet._filter_or_excludedjango/db/models/query.py:16941 ms1.2%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17041 ms1.2%
Query.add_qdjango/db/models/sql/query.py:16811 ms1.2%
Query._add_qdjango/db/models/sql/query.py:17131 ms1.2%
Query.build_filterdjango/db/models/sql/query.py:15511 ms1.2%
Query.solve_lookup_typedjango/db/models/sql/query.py:13581 ms1.2%
Query.names_to_pathdjango/db/models/sql/query.py:18611 ms1.2%
_conference_detailconfs/views.py:286 page_description = f"Explore Mastodon posts about {conference.name} {conference.start_date.strftime('%Y')}"1 ms1.2%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1841 ms1.2%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._pre_process_requestdjango/utils/decorators.py:1301 ms1.2%
FetchFromCacheMiddleware.process_requestdjango/middleware/cache.py:1791 ms1.2%
UpdateCacheMiddleware.cachedjango/middleware/cache.py:831 ms1.2%
BaseConnectionHandler.__getitem__django/utils/connection.py:621 ms1.2%
CachePanel.ready.<locals>.wrapperdebug_toolbar/panels/cache.py:991 ms1.2%
CacheHandler.create_connectiondjango/core/cache/__init__.py:481 ms1.2%
import_stringdjango/utils/module_loading.py:301 ms1.2%
cached_importdjango/utils/module_loading.py:151 ms1.2%
import_module<stdlib>/importlib/__init__.py:881 ms1.2%
_gcd_import<frozen importlib._bootstrap>:13891 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/core/cache/backends/dummy.py:61 ms1.2%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1951 ms1.2%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._post_process_requestdjango/utils/decorators.py:1621 ms1.2%
UpdateCacheMiddleware.process_responsedjango/middleware/cache.py:1391 ms1.2%
learn_cache_keydjango/utils/cache.py:4061 ms1.2%
SysMonitor.sysmon_py_startcoverage/sysmon.py:3711 ms1.2%
ClientHandler.__call__django/test/client.py:17348 ms46.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6348 ms46.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10448 ms46.4%
WhiteNoise.add_fileswhitenoise/base.py:10848 ms46.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12042 ms40.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13142 ms40.6%
WhiteNoise.get_static_filewhitenoise/base.py:21732 ms31.3%
StaticFile.__init__whitenoise/responders.py:7213 ms12.8%
StaticFile.get_file_statswhitenoise/responders.py:16112 ms11.6%
__init____init__:-110 ms9.3%
FileEntry.__init__whitenoise/responders.py:2638 ms8.1%
FileEntry.stat_regular_filewhitenoise/responders.py:2766 ms5.8%
<GC>~1 ms1.2%
FileEntry.stat_regular_filewhitenoise/responders.py:2741 ms1.2%
FileEntry.__init__whitenoise/responders.py:2651 ms1.2%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms1.2%
__init____init__:-11 ms1.2%
FileEntry.__init__whitenoise/responders.py:2631 ms1.2%
StaticFile.__init__whitenoise/responders.py:7311 ms10.4%
StaticFile.get_headerswhitenoise/responders.py:1764 ms3.5%
formatdate<stdlib>/email/utils.py:2664 ms3.5%
format_datetime<stdlib>/email/utils.py:2752 ms2.3%
format_datetime<stdlib>/email/utils.py:2771 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1712 ms2.3%
StaticFile.get_headerswhitenoise/responders.py:1811 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1781 ms1.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.2%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1671 ms1.2%
__init____init__:-11 ms1.2%
Headers.__init__<stdlib>/wsgiref/headers.py:431 ms1.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1701 ms1.2%
StaticFile.__init__whitenoise/responders.py:775 ms4.6%
StaticFile.get_alternativeswhitenoise/responders.py:2014 ms3.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.2%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms1.2%
StaticFile.get_alternativeswhitenoise/responders.py:2001 ms1.2%
__init____init__:-11 ms1.2%
StaticFile.__init__whitenoise/responders.py:742 ms2.3%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.3%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms2.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:981 ms1.2%
_parsedate_tz<stdlib>/email/_parseaddr.py:741 ms1.2%
StaticFile.__init__whitenoise/responders.py:761 ms1.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1891 ms1.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.2%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.2%
WhiteNoise.get_static_filewhitenoise/base.py:2128 ms8.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2337 ms7.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1736 ms5.8%
WhiteNoiseMiddleware.get_name_without_hashwhitenoise/middleware.py:1916 ms5.8%
splitext<frozen posixpath>:1266 ms5.8%
_splitext<frozen genericpath>:1856 ms5.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms1.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms1.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms1.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms1.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2361 ms1.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.2%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.2%
WhiteNoise.get_static_filewhitenoise/base.py:2111 ms1.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2251 ms1.2%
MediaTypes.get_typewhitenoise/media_types.py:161 ms1.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms5.8%
scantreewhitenoise/base.py:2714 ms3.5%
scantreewhitenoise/base.py:2714 ms3.5%
scantreewhitenoise/base.py:2694 ms3.5%
scantreewhitenoise/base.py:2732 ms2.3%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:147 warnings.filterwarnings(1 ms1.2%
filterwarnings<stdlib>/_py_warnings.py:2831 ms1.2%
compile<stdlib>/re/__init__.py:2911 ms1.2%
_compile<stdlib>/re/__init__.py:3521 ms1.2%
compile<stdlib>/re/_compiler.py:7661 ms1.2%
_code<stdlib>/re/_compiler.py:5991 ms1.2%
_compile<stdlib>/re/_compiler.py:581 ms1.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms2.3%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms1.2%
TestCase._should_check_constraintsdjango/test/testcases.py:15061 ms1.2%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5041 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%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms1.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms1.2%
Atomic.__exit__django/db/transaction.py:2981 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms1.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 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%
Estimated from 86 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:152
response = self.client.get(url)
TestMigratedLegacyConferences._assert_no_naive_warning · Libraries
48 ms
confs/views.py:296
return render(
_conference_detail · Templates
13 ms
confs/views.py:268
page_obj = paginator.get_page(page_number)
_conference_detail · Database
8 ms
confs/views.py:173
conference = get_object_or_404(Conference, slug=conference_slug)
_conference_detail · Database
7 ms
confs/views.py:204
.count()
_conference_detail · Database
6 ms
confs/views.py:226
counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}
_conference_detail · Database
5 ms
confs/views.py:276
current_account = next((account for account in account_counts if account.account.id == account_id), None)
_conference_detail.<locals>.<genexpr> · Database
4 ms
confs/views.py:169
return _conference_detail_cached(request, conference_slug)
conference · Imports
2 ms
confs/tests.py:147
warnings.filterwarnings(
TestMigratedLegacyConferences._assert_no_naive_warning · Libraries
1 ms
confs/views.py:262
.filter(count__gt=0, account__instance_model__deleted_at__isnull=True)
_conference_detail · Database
1 ms

Fixtures

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

Database

11 queries · 23 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:172
98 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
setup __init__
__init__:-1
1 ms
call _pre_setup
django/test/testcases.py:1167
1 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 103 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 125 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 134 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 68 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 409 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 325 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 561 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 433 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 321 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 325 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 300 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 637 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 473 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 290 ms 0c23747 main Run