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

TestConferencesPage::test_conferences_page

First seen 2 years ago in 6af392e
CI github-actions:test 4 runs
Average
211 ms
median 209 ms
max 314 ms
Phases
Setup 17 ms Call 189 ms Teardown 4 ms
Categories
Database 47 ms App code 0.50 ms Other (Libraries, Templates, Unsampled, pytest) 163 ms

12 database queries per run

Needs 2 MB of memory (max 2 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup10 ms8.8%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()9 ms7.8%
TestCase._enter_atomicsdjango/test/testcases.py:13999 ms7.8%
Atomic.__enter__django/db/transaction.py:2109 ms7.8%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4549 ms7.8%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3049 ms7.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms7.8%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2799 ms7.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms7.8%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2569 ms7.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms7.8%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3459 ms7.8%
Connection.connectpsycopg/connection.py:1099 ms7.8%
wait_connpsycopg/waiting.py:1458 ms6.9%
BaseConnection._connect_genpsycopg/_connection_base.py:4398 ms6.9%
wait_connpsycopg/waiting.py:1411 ms1.0%
EpollSelector.select<stdlib>/selectors.py:4521 ms1.0%
call98 ms88.2%
TestConferencesPage.test_conferences_pageconfs/tests.py:119 response = self.client.get("/conferences/")90 ms80.8%
Client.getdjango/test/client.py:113390 ms80.8%
RequestFactory.getdjango/test/client.py:47590 ms80.8%
RequestFactory.genericdjango/test/client.py:67190 ms80.8%
Client.requestdjango/test/client.py:109190 ms80.8%
ClientHandler.__call__django/test/client.py:18665 ms58.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14265 ms58.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5665 ms58.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38065 ms58.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5665 ms58.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38065 ms58.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5665 ms58.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12363 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14563 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms57.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms57.0%
BaseHandler._get_responsedjango/core/handlers/base.py:19963 ms57.0%
conferencesconfs/views.py:128 return render(53 ms47.8%
renderdjango/shortcuts.py:2753 ms47.8%
render_to_stringdjango/template/loader.py:6251 ms45.9%
Template.renderdjango/template/backends/django.py:10751 ms45.9%
Template.renderdjango/template/base.py:17547 ms42.3%
instrumented_test_renderdjango/test/utils.py:11347 ms42.3%
NodeList.renderdjango/template/base.py:110847 ms42.3%
Node.render_annotateddjango/template/base.py:106947 ms42.3%
ExtendsNode.renderdjango/template/loader_tags.py:16047 ms42.3%
instrumented_test_renderdjango/test/utils.py:11347 ms42.3%
NodeList.renderdjango/template/base.py:110847 ms42.3%
Node.render_annotateddjango/template/base.py:106947 ms42.3%
BlockNode.renderdjango/template/loader_tags.py:6645 ms40.4%
NodeList.renderdjango/template/base.py:110845 ms40.4%
Node.render_annotateddjango/template/base.py:106945 ms40.4%
IfNode.renderdjango/template/defaulttags.py:33224 ms22.0%
QuerySet.__bool__django/db/models/query.py:45324 ms22.0%
QuerySet._fetch_alldjango/db/models/query.py:226218 ms16.5%
ModelIterable.__iter__django/db/models/query.py:10318 ms16.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162514 ms12.9%
CursorWrapper.executedjango/db/backends/utils.py:7914 ms12.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9214 ms12.9%
CursorWrapper._executedjango/db/backends/utils.py:10514 ms12.9%
Cursor.executepsycopg/cursor.py:11314 ms12.9%
Connection.waitpsycopg/connection.py:49514 ms12.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms3.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms3.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms3.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16124 ms3.7%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms1.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms1.8%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms1.8%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3322 ms1.8%
BaseExpression.select_formatdjango/db/models/expressions.py:5002 ms1.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7962 ms1.8%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms1.8%
WhereNode.as_sqldjango/db/models/sql/where.py:1512 ms1.8%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms1.8%
BuiltinLookup.as_sqldjango/db/models/lookups.py:2432 ms1.8%
BuiltinLookup.process_lhsdjango/db/models/lookups.py:2382 ms1.8%
DatabaseOperations.lookup_castdjango/db/backends/postgresql/operations.py:1812 ms1.8%
QuerySet._fetch_alldjango/db/models/query.py:22646 ms5.5%
QuerySet._prefetch_related_objectsdjango/db/models/query.py:14906 ms5.5%
prefetch_related_objectsdjango/db/models/query.py:27246 ms5.5%
prefetch_one_leveldjango/db/models/query.py:28994 ms3.7%
QuerySet.__iter__django/db/models/query.py:4394 ms3.7%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms3.7%
ModelIterable.__iter__django/db/models/query.py:1034 ms3.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms1.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms1.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms1.8%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms1.8%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2732 ms1.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.8%
Cursor.executepsycopg/cursor.py:1132 ms1.8%
Connection.waitpsycopg/connection.py:4952 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.8%
prefetch_one_leveldjango/db/models/query.py:28802 ms1.8%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager.get_prefetch_querysetsdjango/db/models/fields/related_descriptors.py:12142 ms1.8%
_filter_prefetch_querysetdjango/db/models/fields/related_descriptors.py:1162 ms1.8%
Query.add_qdjango/db/models/sql/query.py:16812 ms1.8%
Query._add_qdjango/db/models/sql/query.py:17132 ms1.8%
Query.build_filterdjango/db/models/sql/query.py:15512 ms1.8%
Query.solve_lookup_typedjango/db/models/sql/query.py:13582 ms1.8%
Query.names_to_pathdjango/db/models/sql/query.py:18612 ms1.8%
cached_property.__get__django/utils/functional.py:472 ms1.8%
ForeignObjectRel.path_infosdjango/db/models/fields/reverse_related.py:2402 ms1.8%
ForeignObjectRel.get_path_infodjango/db/models/fields/reverse_related.py:2362 ms1.8%
cached_property.__get__django/utils/functional.py:472 ms1.8%
IfNode.renderdjango/template/defaulttags.py:33316 ms14.7%
NodeList.renderdjango/template/base.py:110816 ms14.7%
Node.render_annotateddjango/template/base.py:106916 ms14.7%
WithNode.renderdjango/template/defaulttags.py:58116 ms14.7%
NodeList.renderdjango/template/base.py:110816 ms14.7%
Node.render_annotateddjango/template/base.py:106916 ms14.7%
IncludeNode.renderdjango/template/loader_tags.py:21114 ms12.9%
Template.renderdjango/template/base.py:17714 ms12.9%
instrumented_test_renderdjango/test/utils.py:11314 ms12.9%
NodeList.renderdjango/template/base.py:110814 ms12.9%
Node.render_annotateddjango/template/base.py:106914 ms12.9%
ForNode.renderdjango/template/defaulttags.py:24914 ms12.9%
Node.render_annotateddjango/template/base.py:106914 ms12.9%
SimpleNode.renderdjango/template/library.py:34310 ms9.2%
heroicon_outlineheroicons/templatetags/heroicons.py:2310 ms9.2%
_render_iconheroicons/templatetags/heroicons.py:4110 ms9.2%
_render_iconheroicons/__init__.py:4710 ms9.2%
_load_iconheroicons/__init__.py:1810 ms9.2%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150510 ms9.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16064 ms3.7%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16262 ms1.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15932 ms1.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16222 ms1.8%
ZipInfo._decodeExtra<stdlib>/zipfile/__init__.py:5812 ms1.8%
ForNode.renderdjango/template/defaulttags.py:2492 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
VariableNode.renderdjango/template/base.py:11672 ms1.8%
FilterExpression.resolvedjango/template/base.py:8062 ms1.8%
Variable.resolvedjango/template/base.py:9452 ms1.8%
Variable._resolve_lookupdjango/template/base.py:9932 ms1.8%
ConferenceTag.icon_urlconfs/models.py:266 return static(self.icon)2 ms1.8%
VariableNode.renderdjango/template/base.py:11672 ms1.8%
FilterExpression.resolvedjango/template/base.py:8332 ms1.8%
datedjango/template/defaultfilters.py:7902 ms1.8%
date_formatdjango/utils/formats.py:1552 ms1.8%
formatdjango/utils/dateformat.py:3292 ms1.8%
Formatter.formatdjango/utils/dateformat.py:512 ms1.8%
IncludeNode.renderdjango/template/loader_tags.py:2002 ms1.8%
Engine.select_templatedjango/template/engine.py:2282 ms1.8%
Engine.get_templatedjango/template/engine.py:1862 ms1.8%
Engine.find_templatedjango/template/engine.py:1592 ms1.8%
Loader.get_templatedjango/template/loaders/cached.py:572 ms1.8%
Loader.get_templatedjango/template/loaders/base.py:232 ms1.8%
Loader.get_contentsdjango/template/loaders/cached.py:262 ms1.8%
Loader.get_contentsdjango_cotton/cotton_loader.py:302 ms1.8%
Loader._get_template_stringdjango_cotton/cotton_loader.py:472 ms1.8%
SimpleNode.renderdjango/template/library.py:3434 ms3.7%
heroicon_outlineheroicons/templatetags/heroicons.py:234 ms3.7%
_render_iconheroicons/templatetags/heroicons.py:414 ms3.7%
_render_iconheroicons/__init__.py:472 ms1.8%
deepcopy<stdlib>/copy.py:1332 ms1.8%
_render_iconheroicons/__init__.py:652 ms1.8%
tostring<stdlib>/xml/etree/ElementTree.py:11102 ms1.8%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7492 ms1.8%
IfNode.renderdjango/template/defaulttags.py:3332 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms1.8%
Template.renderdjango/template/base.py:1772 ms1.8%
instrumented_test_renderdjango/test/utils.py:1132 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
SimpleNode.renderdjango/template/library.py:3432 ms1.8%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms1.8%
QuerySet.__iter__django/db/models/query.py:4392 ms1.8%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms1.8%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms1.8%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms1.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.8%
Cursor.executepsycopg/cursor.py:1132 ms1.8%
Connection.waitpsycopg/connection.py:4952 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.8%
Template.renderdjango/template/base.py:1734 ms3.7%
instrumented_test_renderdjango/test/utils.py:1132 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms1.8%
instrumented_test_renderdjango/test/utils.py:1132 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
InclusionNode.renderdjango/template/library.py:4032 ms1.8%
Template.renderdjango/template/base.py:1772 ms1.8%
instrumented_test_renderdjango/test/utils.py:1132 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
IfNode.renderdjango/template/defaulttags.py:3332 ms1.8%
NodeList.renderdjango/template/base.py:11082 ms1.8%
Node.render_annotateddjango/template/base.py:10692 ms1.8%
StaticNode.renderdjango/templatetags/static.py:1182 ms1.8%
conditional_escapedjango/utils/html.py:1322 ms1.8%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2262 ms1.8%
render_to_stringdjango/template/loader.py:612 ms1.8%
get_templatedjango/template/loader.py:152 ms1.8%
DjangoTemplates.get_templatedjango/template/backends/django.py:792 ms1.8%
Engine.get_templatedjango/template/engine.py:1862 ms1.8%
Engine.find_templatedjango/template/engine.py:1592 ms1.8%
Loader.get_templatedjango/template/loaders/cached.py:572 ms1.8%
Loader.get_templatedjango/template/loaders/base.py:282 ms1.8%
__init____init__:-12 ms1.8%
Template.__init__django/template/base.py:1582 ms1.8%
Template.compile_nodelistdjango/template/base.py:2002 ms1.8%
Parser.parsedjango/template/base.py:6012 ms1.8%
do_extendsdjango/template/loader_tags.py:3072 ms1.8%
Parser.parsedjango/template/base.py:5482 ms1.8%
Parser.extend_nodelistdjango/template/base.py:6292 ms1.8%
conferencesconfs/views.py:41 for al in ConferenceLookup.objects.values("language").annotate(count=Count("language")).order_by("-count")6 ms5.5%
QuerySet.__iter__django/db/models/query.py:4396 ms5.5%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms5.5%
ValuesIterable.__iter__django/db/models/query.py:2476 ms5.5%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15746 ms5.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms3.7%
CursorWrapper.executedjango/db/backends/utils.py:794 ms3.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms3.7%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms3.7%
Cursor.executepsycopg/cursor.py:1134 ms3.7%
Connection.waitpsycopg/connection.py:4954 ms3.7%
conferencesconfs/views.py:75 search_query = Q()2 ms1.8%
conferencesconfs/views.py:93 .annotate(posts_count=Count("conferencepost", filter=Q(conferencepost__created_at__gt=F("posts_after"))))2 ms1.8%
QuerySet.annotatedjango/db/models/query.py:18422 ms1.8%
QuerySet._annotatedjango/db/models/query.py:18812 ms1.8%
Options.get_fieldsdjango/db/models/options.py:8772 ms1.8%
Options._get_fieldsdjango/db/models/options.py:9542 ms1.8%
ClientHandler.__call__django/test/client.py:17324 ms22.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6324 ms22.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms22.0%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms22.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11512 ms11.0%
scantreewhitenoise/base.py:2718 ms7.3%
scantreewhitenoise/base.py:2716 ms5.5%
scantreewhitenoise/base.py:2714 ms3.7%
scantreewhitenoise/base.py:2714 ms3.7%
scantreewhitenoise/base.py:2714 ms3.7%
scantreewhitenoise/base.py:2732 ms1.8%
scantreewhitenoise/base.py:2692 ms1.8%
scantreewhitenoise/base.py:2732 ms1.8%
scantreewhitenoise/base.py:2732 ms1.8%
scantreewhitenoise/base.py:2732 ms1.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12012 ms11.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13112 ms11.0%
WhiteNoise.get_static_filewhitenoise/base.py:21710 ms9.2%
StaticFile.__init__whitenoise/responders.py:724 ms3.7%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms1.8%
__init____init__:-12 ms1.8%
FileEntry.__init__whitenoise/responders.py:2602 ms1.8%
<GC>~2 ms1.8%
StaticFile.__init__whitenoise/responders.py:742 ms1.8%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.8%
StaticFile.__init__whitenoise/responders.py:772 ms1.8%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms1.8%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms1.8%
Headers.__delitem__<stdlib>/wsgiref/headers.py:722 ms1.8%
StaticFile.__init__whitenoise/responders.py:732 ms1.8%
StaticFile.get_headerswhitenoise/responders.py:1672 ms1.8%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms1.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()6 ms5.5%
TestCase._fixture_teardowndjango/test/testcases.py:14974 ms3.7%
TestCase._should_check_constraintsdjango/test/testcases.py:15064 ms3.7%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5044 ms3.7%
Cursor.executepsycopg/cursor.py:1134 ms3.7%
Connection.waitpsycopg/connection.py:4954 ms3.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3122 ms1.8%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms1.8%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms1.8%
Atomic.__exit__django/db/transaction.py:2982 ms1.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.8%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms1.8%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.8%
Cursor.executepsycopg/cursor.py:1132 ms1.8%
Connection.waitpsycopg/connection.py:4952 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.8%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms1.8%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms1.8%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms1.8%
Atomic.__enter__django/db/transaction.py:2232 ms1.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.8%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms1.8%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.8%
Cursor.executepsycopg/cursor.py:1132 ms1.8%
Connection.waitpsycopg/connection.py:4952 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.8%
teardown3 ms3.0%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()2 ms2.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms2.0%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3552 ms2.0%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4082 ms2.0%
Connection.closepsycopg/connection.py:2012 ms2.0%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)1 ms1.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms1.0%
Atomic.__exit__django/db/transaction.py:3071 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.0%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3371 ms1.0%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3081 ms1.0%
Connection.rollbackpsycopg/connection.py:3141 ms1.0%
Connection.waitpsycopg/connection.py:4951 ms1.0%
BaseConnection._rollback_genpsycopg/_connection_base.py:6171 ms1.0%
BaseConnection._exec_commandpsycopg/_connection_base.py:4741 ms1.0%
Estimated from 60 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/views.py:128
return render(
conferences · Database
49 ms
confs/tests.py:119
response = self.client.get("/conferences/")
TestConferencesPage.test_conferences_page · Libraries
26 ms
confs/views.py:41
for al in ConferenceLookup.objects.values("language").annotate(count=Count("language")).order_by("-count")
conferences · Database
6 ms
confs/views.py:75
search_query = Q()
conferences · App code
2 ms
confs/views.py:93
.annotate(posts_count=Count("conferencepost", filter=Q(conferencepost__created_at__gt=F("posts_after"))))
conferences · Database
2 ms
confs/models.py:266
return static(self.icon)
ConferenceTag.icon_url · Templates
2 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
2 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestConferencesPage class 9 ms
_django_setup_unittest class 0.25 ms
_dj_autoclear_mailbox function 0.09 ms
_template_string_if_invalid_marker function 0.04 ms
_django_db_marker function 0.04 ms
_live_server_helper function 0.03 ms
_django_isolate_apps function 0.03 ms
_django_set_urlconf function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

12 queries · 16 ms

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

3×
SELECT "confs_conference"."id", "confs_conference"."name", "confs_conference"."slug", "confs_conference"."location", "confs_conference"."start_date", "confs_conference"."end_date", "confs_conference"."time_zone", "confs_conference"."archived_date", "confs_conference"."approved_at", "confs_conferenc…

Biggest pieces of work

call test body
confs/tests.py:119
90 ms
setup setUpClass
django/test/testcases.py:1426
9 ms
call _post_teardown
django/test/testcases.py:1243
6 ms
teardown tearDownClass
django/test/testcases.py:1458
3 ms
call _pre_setup
django/test/testcases.py:1167
2 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 50 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 111 ms d923a46 main Profile
7 hours ago CI github-actions:test passed 157 ms 82997f8 main Profile
7 hours ago CI github-actions:test passed 314 ms 623aa3e main Profile
12 hours ago CI github-actions:test passed 261 ms ab6465a main Profile
12 hours ago CI github-actions:test passed 194 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 67 ms 69d78ea HEAD Run
3 months, 3 weeks ago CI github-actions passed 96 ms 8fac7b5 main Run
3 months, 3 weeks ago CI github-actions passed 95 ms 36b9579 main Run
3 months, 3 weeks ago CI github-actions passed 105 ms 553d048 main Run
3 months, 3 weeks ago CI github-actions passed 94 ms 8eb0f44 HEAD Run
3 months, 3 weeks ago CI github-actions passed 106 ms e0fb3ac HEAD Run
3 months, 3 weeks ago CI github-actions passed 93 ms a849b58 HEAD Run
3 months, 3 weeks ago CI github-actions passed 101 ms 6418e05 HEAD Run
3 months, 3 weeks ago CI github-actions passed 110 ms 5b9b309 main Run
3 months, 4 weeks ago CI github-actions passed 106 ms 1f2c5a6 main Run
3 months, 4 weeks ago CI github-actions passed 107 ms 5ec7fa8 main Run
3 months, 4 weeks ago CI github-actions passed 136 ms 1e42064 main Run
3 months, 4 weeks ago CI github-actions passed 99 ms fcb1b79 main Run
3 months, 4 weeks ago CI github-actions passed 113 ms 1460ac2 HEAD Run
3 months, 4 weeks ago CI github-actions passed 106 ms 8129f09 HEAD Run