Tests / confs/tests.py
TestConferencePage::test_conference_with_pacific_with_date_no_posts
First seen 2 years ago in 6af392e
CI
github-actions:test
4 runs
Average
194 ms
median 208 ms
max 265 ms
max 265 ms
Phases
Setup 3 ms
Call 191 ms
Teardown 0.31 ms
Categories
Database 20 ms
Test code 0.78 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 173 ms
12 database queries per run
Needs 0 KB of memory (max 0 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
call94 ms98.9%
CallInfo.from_call_pytest/runner.py:36194 ms98.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:25094 ms98.9%
HookCaller.__call__pluggy/_hooks.py:51294 ms98.9%
PluginManager._hookexecpluggy/_manager.py:12094 ms98.9%
_multicallpluggy/_callers.py:12193 ms97.7%
pytest_runtest_call_pytest/runner.py:18493 ms97.7%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61493 ms97.7%
SimpleTestCase.__call__django/test/testcases.py:31493 ms97.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36986 ms90.9%
TestCase.__call__<stdlib>/unittest/case.py:74786 ms90.9%
TestCase.run<stdlib>/unittest/case.py:69186 ms90.9%
TestCase._callTestMethod<stdlib>/unittest/case.py:63786 ms90.9%
TestConferencePage.test_conference_with_pacific_with_date_no_postsconfs/tests.py:893 response = self.client.get(self.url + "?date=2021-01-02")85 ms89.8%
Client.getdjango/test/client.py:113385 ms89.8%
RequestFactory.getdjango/test/client.py:47585 ms89.8%
RequestFactory.genericdjango/test/client.py:67185 ms89.8%
Client.requestdjango/test/client.py:109185 ms89.8%
ClientHandler.__call__django/test/client.py:17367 ms70.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6367 ms70.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10467 ms70.5%
WhiteNoise.add_fileswhitenoise/base.py:10867 ms70.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12058 ms61.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13157 ms60.2%
WhiteNoise.get_static_filewhitenoise/base.py:21742 ms44.3%
StaticFile.__init__whitenoise/responders.py:7318 ms19.3%
StaticFile.get_headerswhitenoise/responders.py:1765 ms5.7%
formatdate<stdlib>/email/utils.py:2664 ms4.5%
format_datetime<stdlib>/email/utils.py:2842 ms2.3%
_format_timetuple_and_zone<stdlib>/email/utils.py:2311 ms1.1%
_format_timetuple_and_zone<stdlib>/email/utils.py:2321 ms1.1%
format_datetime<stdlib>/email/utils.py:2751 ms1.1%
formatdate<stdlib>/email/utils.py:2591 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1814 ms4.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:624 ms4.5%
Headers.__delitem__<stdlib>/wsgiref/headers.py:724 ms4.5%
StaticFile.get_headerswhitenoise/responders.py:1784 ms4.5%
parsedate<stdlib>/email/_parseaddr.py:1854 ms4.5%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms2.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1211 ms1.1%
_parsedate_tz<stdlib>/email/_parseaddr.py:1051 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1702 ms2.3%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.1%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1671 ms1.1%
__init____init__:-11 ms1.1%
Headers.__init__<stdlib>/wsgiref/headers.py:441 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1801 ms1.1%
StaticFile.__init__whitenoise/responders.py:7712 ms12.5%
StaticFile.get_alternativeswhitenoise/responders.py:2009 ms9.1%
__init____init__:-19 ms9.1%
Headers.__init__<stdlib>/wsgiref/headers.py:435 ms5.7%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms3.4%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:481 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:491 ms1.1%
Headers.__init__<stdlib>/wsgiref/headers.py:421 ms1.1%
Headers.__init__<stdlib>/wsgiref/headers.py:441 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
Headers.__init__<stdlib>/wsgiref/headers.py:401 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2031 ms1.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:1981 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2061 ms1.1%
compile<stdlib>/re/__init__.py:2911 ms1.1%
_compile<stdlib>/re/__init__.py:3371 ms1.1%
StaticFile.__init__whitenoise/responders.py:765 ms5.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.3%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms2.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms2.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms2.3%
Headers.get<stdlib>/wsgiref/headers.py:1041 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1871 ms1.1%
StaticFile.__init__whitenoise/responders.py:724 ms4.5%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms3.4%
__init____init__:-13 ms3.4%
FileEntry.__init__whitenoise/responders.py:2633 ms3.4%
FileEntry.stat_regular_filewhitenoise/responders.py:2742 ms2.3%
FileEntry.stat_regular_filewhitenoise/responders.py:2761 ms1.1%
<GC>~1 ms1.1%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms1.1%
__init____init__:-11 ms1.1%
FileEntry.__init__whitenoise/responders.py:2641 ms1.1%
StaticFile.__init__whitenoise/responders.py:751 ms1.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.1%
Headers.get<stdlib>/wsgiref/headers.py:1041 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
StaticFile.__init__whitenoise/responders.py:741 ms1.1%
parsedate<stdlib>/email/_parseaddr.py:1851 ms1.1%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms1.1%
_parsedate_tz<stdlib>/email/_parseaddr.py:1011 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:21211 ms11.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:23310 ms10.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17610 ms10.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19710 ms10.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:209 ms9.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2356 ms6.8%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2164 ms4.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2042 ms2.3%
filepath_to_uridjango/utils/encoding.py:2451 ms1.1%
quote<stdlib>/urllib/parse.py:10661 ms1.1%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2061 ms1.1%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2071 ms1.1%
urljoin<stdlib>/urllib/parse.py:7651 ms1.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms2.3%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6111 ms1.1%
urlunsplit<stdlib>/urllib/parse.py:6811 ms1.1%
_noop<stdlib>/urllib/parse.py:1071 ms1.1%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5981 ms1.1%
LazyObject.__getattribute__django/utils/functional.py:2801 ms1.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2341 ms1.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.1%
Headers.__delitem__<stdlib>/wsgiref/headers.py:711 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:2114 ms4.5%
WhiteNoise.add_mime_headerswhitenoise/base.py:2253 ms3.4%
MediaTypes.get_typewhitenoise/media_types.py:192 ms2.3%
MediaTypes.get_typewhitenoise/media_types.py:151 ms1.1%
basename<frozen posixpath>:1711 ms1.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2301 ms1.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1231 ms1.1%
WhiteNoise.is_compressed_variantwhitenoise/base.py:1981 ms1.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms8.0%
scantreewhitenoise/base.py:2716 ms6.8%
scantreewhitenoise/base.py:2715 ms5.7%
scantreewhitenoise/base.py:2733 ms3.4%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2712 ms2.3%
scantreewhitenoise/base.py:2732 ms2.3%
scantreewhitenoise/base.py:2731 ms1.1%
scantreewhitenoise/base.py:2731 ms1.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1171 ms1.1%
ClientHandler.__call__django/test/client.py:18615 ms15.9%
BaseHandler.get_responsedjango/core/handlers/base.py:14215 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12315 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14515 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms15.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms15.9%
BaseHandler._get_responsedjango/core/handlers/base.py:19915 ms15.9%
conferenceconfs/views.py:169 return _conference_detail_cached(request, conference_slug)15 ms15.9%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:18914 ms14.8%
_conference_detailconfs/views.py:226 counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}3 ms3.4%
QuerySet.__iter__django/db/models/query.py:4393 ms3.4%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms3.4%
ValuesIterable.__iter__django/db/models/query.py:2473 ms3.4%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15743 ms3.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms3.4%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.4%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.3%
Cursor.executepsycopg/cursor.py:1132 ms2.3%
Connection.waitpsycopg/connection.py:4952 ms2.3%
_conference_detailconfs/views.py:296 return render(3 ms3.4%
renderdjango/shortcuts.py:283 ms3.4%
HttpResponse.__init__django/http/response.py:3873 ms3.4%
HttpResponseBase.__init__django/http/response.py:1283 ms3.4%
ResponseHeaders.__setitem__django/http/response.py:943 ms3.4%
_conference_detailconfs/views.py:173 conference = get_object_or_404(Conference, slug=conference_slug)2 ms2.3%
get_object_or_404django/shortcuts.py:1002 ms2.3%
QuerySet.getdjango/db/models/query.py:7022 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:16121 ms1.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms1.1%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms1.1%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms1.1%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2731 ms1.1%
SQLCompiler.get_select.<locals>.<genexpr>django/db/models/sql/compiler.py:2781 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
_conference_detailconfs/views.py:204 .count()2 ms2.3%
QuerySet.countdjango/db/models/query.py:6772 ms2.3%
Query.get_countdjango/db/models/sql/query.py:6572 ms2.3%
Query.get_aggregationdjango/db/models/sql/query.py:4981 ms1.1%
WhereNode.split_having_qualifydjango/db/models/sql/where.py:471 ms1.1%
cached_property.__get__django/utils/functional.py:471 ms1.1%
WhereNode.contains_over_clausedjango/db/models/sql/where.py:2641 ms1.1%
WhereNode._contains_over_clausedjango/db/models/sql/where.py:2591 ms1.1%
WhereNode._contains_over_clause.<locals>.<genexpr>django/db/models/sql/where.py:2591 ms1.1%
WhereNode._contains_over_clausedjango/db/models/sql/where.py:2601 ms1.1%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
_conference_detailconfs/views.py:268 page_obj = paginator.get_page(page_number)2 ms2.3%
Paginator.get_pagedjango/core/paginator.py:1612 ms2.3%
Paginator.validate_numberdjango/core/paginator.py:1532 ms2.3%
cached_property.__get__django/utils/functional.py:471 ms1.1%
Paginator.num_pagesdjango/core/paginator.py:1881 ms1.1%
cached_property.__get__django/utils/functional.py:471 ms1.1%
Paginator.countdjango/core/paginator.py:1821 ms1.1%
QuerySet.countdjango/db/models/query.py:6771 ms1.1%
Query.get_countdjango/db/models/sql/query.py:6571 ms1.1%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
_conference_detailconfs/views.py:2761 ms1.1%
_conference_detail.<locals>.<genexpr>confs/views.py:276 current_account = next((account for account in account_counts if account.account.id == account_id), None)1 ms1.1%
QuerySet.__iter__django/db/models/query.py:4391 ms1.1%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.1%
ModelIterable.__iter__django/db/models/query.py:1031 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1021 ms1.1%
QueryStats.addflakytest/profiling/dbtrack.py:381 ms1.1%
normalize_sqlflakytest/profiling/dbtrack.py:241 ms1.1%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1951 ms1.1%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._post_process_requestdjango/utils/decorators.py:1621 ms1.1%
UpdateCacheMiddleware.process_responsedjango/middleware/cache.py:1391 ms1.1%
learn_cache_keydjango/utils/cache.py:4231 ms1.1%
_generate_cache_header_keydjango/utils/cache.py:3761 ms1.1%
HttpRequest.build_absolute_uridjango/http/request.py:2751 ms1.1%
HttpRequest.get_full_pathdjango/http/request.py:2211 ms1.1%
HttpRequest._get_full_pathdjango/http/request.py:2301 ms1.1%
escape_uri_pathdjango/utils/encoding.py:2051 ms1.1%
quote<stdlib>/urllib/parse.py:10201 ms1.1%
ClientHandler.__call__django/test/client.py:1781 ms1.1%
__init____init__:-11 ms1.1%
WSGIRequest.__init__django/core/handlers/wsgi.py:581 ms1.1%
get_script_namedjango/core/handlers/wsgi.py:1701 ms1.1%
get_bytes_from_wsgidjango/core/handlers/wsgi.py:1971 ms1.1%
ClientHandler.__call__django/test/client.py:2061 ms1.1%
Signal.disconnectdjango/dispatch/dispatcher.py:2101 ms1.1%
ClientHandler.__call__django/test/client.py:2071 ms1.1%
HttpResponseBase.closedjango/http/response.py:3481 ms1.1%
Signal.senddjango/dispatch/dispatcher.py:2491 ms1.1%
close_cachesdjango/core/cache/__init__.py:641 ms1.1%
BaseConnectionHandler.close_alldjango/utils/connection.py:841 ms1.1%
BaseConnectionHandler.alldjango/utils/connection.py:771 ms1.1%
BaseConnectionHandler.__getitem__django/utils/connection.py:581 ms1.1%
Local.__getattr__asgiref/local.py:1581 ms1.1%
_CVar.__getattr__asgiref/local.py:561 ms1.1%
_CVar._storageasgiref/local.py:501 ms1.1%
TestConferencePage.test_conference_with_pacific_with_date_no_postsconfs/tests.py:891 self.conference.save()1 ms1.1%
Model.savedjango/db/models/base.py:9041 ms1.1%
Model.save_basedjango/db/models/base.py:9961 ms1.1%
Model._save_tabledjango/db/models/base.py:11401 ms1.1%
Model._do_updatedjango/db/models/base.py:12441 ms1.1%
QuerySet._updatedjango/db/models/query.py:14481 ms1.1%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21501 ms1.1%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21211 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16231 ms1.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.1%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3201 ms1.1%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2981 ms1.1%
BaseDatabaseWrapper._prepare_cursordjango/db/backends/base/base.py:2871 ms1.1%
BaseDatabaseWrapper.validate_thread_sharingdjango/db/backends/base/base.py:6441 ms1.1%
BaseDatabaseWrapper.allow_thread_sharingdjango/db/backends/base/base.py:6221 ms1.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3604 ms4.5%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()4 ms4.5%
TestCase._fixture_setupdjango/test/testcases.py:14814 ms4.5%
TestCase._enter_atomicsdjango/test/testcases.py:13994 ms4.5%
Atomic.__enter__django/db/transaction.py:2234 ms4.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms4.5%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4004 ms4.5%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3674 ms4.5%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms4.5%
CursorWrapper._executedjango/db/backends/utils.py:993 ms3.4%
BaseDatabaseWrapper.validate_no_broken_transactiondjango/db/backends/base/base.py:5203 ms3.4%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3722 ms2.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms2.3%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms1.1%
TestCase._should_check_constraintsdjango/test/testcases.py:15061 ms1.1%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5041 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms1.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
_multicallpluggy/_callers.py:1521 ms1.1%
CaptureManager.pytest_runtest_call_pytest/capture.py:8991 ms1.1%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2101 ms1.1%
CaptureManager.item_capture_pytest/capture.py:8671 ms1.1%
CaptureManager.read_global_capture_pytest/capture.py:8031 ms1.1%
MultiCapture.readouterr_pytest/capture.py:7061 ms1.1%
FDCapture.snap_pytest/capture.py:5941 ms1.1%
Estimated from 87 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
confs/tests.py:893
response = self.client.get(self.url + "?date=2021-01-02")
TestConferencePage.test_conference_with_pacific_with_date_no_posts
· Libraries
|
70 ms |
|
confs/views.py:226
counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}
_conference_detail
· Database
|
3 ms |
|
confs/views.py:296
return render(
_conference_detail
· Libraries
|
3 ms |
|
confs/views.py:173
conference = get_object_or_404(Conference, slug=conference_slug)
_conference_detail
· Database
|
2 ms |
|
confs/views.py:204
.count()
_conference_detail
· Database
|
2 ms |
|
confs/views.py:268
page_obj = paginator.get_page(page_number)
_conference_detail
· Libraries
|
2 ms |
|
confs/tests.py:891
self.conference.save()
TestConferencePage.test_conference_with_pacific_with_date_no_posts
· Database
|
1 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
|
1 ms |
|
confs/views.py:169
return _conference_detail_cached(request, conference_slug)
conference
· Libraries
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
12 queries · 9 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:893
|
86 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
2 ms |
| call pytest internals | 1 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 50 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 95 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 265 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 218 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 198 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 87 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 68 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 98 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 99 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 110 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 97 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 110 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 97 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 105 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 114 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 112 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 129 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 116 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 106 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 116 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 110 ms | Run |