Tests / confs/tests.py
TestMigratedLegacyConferences::test_migrated_conference_shows_linked_posts
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
203 ms
median 172 ms
max 390 ms
max 390 ms
Phases
Setup 3 ms
Call 196 ms
Teardown 4 ms
Categories
Database 60 ms
Factories 2 ms
Test code 0.11 ms
App code 0.11 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 141 ms
19 database queries per run
Needs 1 MB of memory (max 2 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call147 ms96.7%
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_postsconfs/tests.py:212 response = self.client.get(reverse("fwd50"))129 ms84.7%
Client.getdjango/test/client.py:1133129 ms84.7%
RequestFactory.getdjango/test/client.py:475129 ms84.7%
RequestFactory.genericdjango/test/client.py:671129 ms84.7%
Client.requestdjango/test/client.py:1091129 ms84.7%
ClientHandler.__call__django/test/client.py:186105 ms69.1%
BaseHandler.get_responsedjango/core/handlers/base.py:142105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
MiddlewareMixin.__call__django/utils/deprecation.py:380105 ms69.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56105 ms69.1%
BaseHandler._get_responsedjango/core/handlers/base.py:199105 ms69.1%
conferenceconfs/views.py:169 return _conference_detail_cached(request, conference_slug)104 ms68.1%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:189104 ms68.1%
_conference_detailconfs/views.py:173 conference = get_object_or_404(Conference, slug=conference_slug)43 ms28.5%
get_object_or_404django/shortcuts.py:10042 ms27.6%
QuerySet.getdjango/db/models/query.py:70241 ms26.7%
QuerySet.__len__django/db/models/query.py:42141 ms26.7%
QuerySet._fetch_alldjango/db/models/query.py:226241 ms26.7%
ModelIterable.__iter__django/db/models/query.py:10339 ms25.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162535 ms23.0%
CursorWrapper.executedjango/db/backends/utils.py:7935 ms23.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9235 ms23.0%
CursorWrapper._executedjango/db/backends/utils.py:10534 ms22.1%
Cursor.executepsycopg/cursor.py:11334 ms22.1%
Connection.waitpsycopg/connection.py:49534 ms22.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:20634 ms22.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28634 ms22.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7834 ms22.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16233 ms1.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms1.8%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3203 ms1.8%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2983 ms1.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms1.8%
DatabaseWrapper.create_cursordjango/db/backends/postgresql/base.py:4423 ms1.8%
Connection.cursorpsycopg/connection.py:2593 ms1.8%
Cursor.__init__psycopg/cursor.py:471 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.9%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms0.9%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms0.9%
Query.get_compilerdjango/db/models/sql/query.py:3751 ms0.9%
ModelIterable.__iter__django/db/models/query.py:1361 ms0.9%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15781 ms0.9%
SQLCompiler.get_convertersdjango/db/models/sql/compiler.py:15271 ms0.9%
Col.get_db_convertersdjango/db/models/expressions.py:13831 ms0.9%
QuerySet.getdjango/db/models/query.py:6921 ms0.9%
QuerySet.filterdjango/db/models/query.py:16761 ms0.9%
QuerySet._filter_or_excludedjango/db/models/query.py:16941 ms0.9%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17041 ms0.9%
Query.add_qdjango/db/models/sql/query.py:16811 ms0.9%
Query._add_qdjango/db/models/sql/query.py:17131 ms0.9%
Query.build_filterdjango/db/models/sql/query.py:15511 ms0.9%
get_object_or_404django/shortcuts.py:901 ms0.9%
_conference_detailconfs/views.py:296 return render(43 ms28.5%
renderdjango/shortcuts.py:2743 ms28.5%
render_to_stringdjango/template/loader.py:6243 ms28.5%
Template.renderdjango/template/backends/django.py:10743 ms28.5%
Template.renderdjango/template/base.py:17543 ms28.5%
instrumented_test_renderdjango/test/utils.py:11343 ms28.5%
NodeList.renderdjango/template/base.py:110843 ms28.5%
Node.render_annotateddjango/template/base.py:106943 ms28.5%
ExtendsNode.renderdjango/template/loader_tags.py:16043 ms28.5%
instrumented_test_renderdjango/test/utils.py:11343 ms28.5%
NodeList.renderdjango/template/base.py:110843 ms28.5%
Node.render_annotateddjango/template/base.py:106943 ms28.5%
BlockNode.renderdjango/template/loader_tags.py:6643 ms28.5%
NodeList.renderdjango/template/base.py:110843 ms28.5%
Node.render_annotateddjango/template/base.py:106943 ms28.5%
PartialDefNode.renderdjango/template/defaulttags.py:42043 ms28.5%
NodeList.renderdjango/template/base.py:110843 ms28.5%
Node.render_annotateddjango/template/base.py:106943 ms28.5%
ForNode.renderdjango/template/defaulttags.py:24928 ms18.4%
Node.render_annotateddjango/template/base.py:106928 ms18.4%
WithNode.renderdjango/template/defaulttags.py:58128 ms18.4%
NodeList.renderdjango/template/base.py:110828 ms18.4%
Node.render_annotateddjango/template/base.py:106928 ms18.4%
IncludeNode.renderdjango/template/loader_tags.py:21124 ms15.7%
Template.renderdjango/template/base.py:17724 ms15.7%
instrumented_test_renderdjango/test/utils.py:11324 ms15.7%
NodeList.renderdjango/template/base.py:110824 ms15.7%
Node.render_annotateddjango/template/base.py:106924 ms15.7%
SimpleNode.renderdjango/template/library.py:34322 ms14.7%
heroicon_outlineheroicons/templatetags/heroicons.py:2322 ms14.7%
_render_iconheroicons/templatetags/heroicons.py:4122 ms14.7%
_render_iconheroicons/__init__.py:4722 ms14.7%
_load_iconheroicons/__init__.py:1822 ms14.7%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150522 ms14.7%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16066 ms3.7%
Codec.decode<stdlib>/encodings/cp437.py:151 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16084 ms2.8%
__init____init__:-11 ms0.9%
ZipInfo.__init__<stdlib>/zipfile/__init__.py:4721 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16233 ms1.8%
ZipInfo._decodeExtra<stdlib>/zipfile/__init__.py:5833 ms1.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16293 ms1.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15681 ms0.9%
_EndRecData<stdlib>/zipfile/__init__.py:3751 ms0.9%
_EndRecData64<stdlib>/zipfile/__init__.py:2941 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15991 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15901 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15981 ms0.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16371 ms0.9%
URLNode.renderdjango/template/defaulttags.py:5111 ms0.9%
reversedjango/urls/base.py:981 ms0.9%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8031 ms0.9%
search<stdlib>/re/__init__.py:1791 ms0.9%
_compile<stdlib>/re/__init__.py:3521 ms0.9%
compile<stdlib>/re/_compiler.py:7621 ms0.9%
parse<stdlib>/re/_parser.py:9721 ms0.9%
_parse_sub<stdlib>/re/_parser.py:4591 ms0.9%
_parse<stdlib>/re/_parser.py:5431 ms0.9%
IncludeNode.renderdjango/template/loader_tags.py:2004 ms2.8%
Engine.select_templatedjango/template/engine.py:2284 ms2.8%
Engine.get_templatedjango/template/engine.py:1864 ms2.8%
Engine.find_templatedjango/template/engine.py:1594 ms2.8%
Loader.get_templatedjango/template/loaders/cached.py:574 ms2.8%
Loader.get_templatedjango/template/loaders/base.py:284 ms2.8%
__init____init__:-14 ms2.8%
Template.__init__django/template/base.py:1584 ms2.8%
Template.compile_nodelistdjango/template/base.py:2003 ms1.8%
Parser.parsedjango/template/base.py:6013 ms1.8%
do_ifdjango/template/defaulttags.py:9943 ms1.8%
Parser.parsedjango/template/base.py:6013 ms1.8%
do_ifdjango/template/defaulttags.py:9933 ms1.8%
TemplateIfParser.__init__django/template/defaulttags.py:9263 ms1.8%
IfParser.__init__django/template/smartif.py:1773 ms1.8%
IfParser.translate_tokendjango/template/smartif.py:1883 ms1.8%
TemplateIfParser.create_vardjango/template/defaulttags.py:9293 ms1.8%
Parser.compile_filterdjango/template/base.py:6943 ms1.8%
__init____init__:-13 ms1.8%
FilterExpression.__init__django/template/base.py:7813 ms1.8%
__init____init__:-13 ms1.8%
Variable.__init__django/template/base.py:9233 ms1.8%
Template.compile_nodelistdjango/template/base.py:1911 ms0.9%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:401 ms0.9%
DebugLexer.tokenizedjango/template/base.py:4961 ms0.9%
Lexer.create_tokendjango/template/base.py:4651 ms0.9%
__init____init__:-11 ms0.9%
Token.__init__django/template/base.py:3601 ms0.9%
<GC>~1 ms0.9%
ForNode.renderdjango/template/defaulttags.py:20215 ms10.1%
Page.__len__django/core/paginator.py:31215 ms10.1%
QuerySet.__len__django/db/models/query.py:42115 ms10.1%
QuerySet._fetch_alldjango/db/models/query.py:22648 ms5.5%
QuerySet._prefetch_related_objectsdjango/db/models/query.py:14908 ms5.5%
prefetch_related_objectsdjango/db/models/query.py:27248 ms5.5%
prefetch_one_leveldjango/db/models/query.py:28804 ms2.8%
ReverseOneToOneDescriptor.get_prefetch_querysetsdjango/db/models/fields/related_descriptors.py:5014 ms2.8%
QuerySet.__iter__django/db/models/query.py:4394 ms2.8%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms2.8%
ModelIterable.__iter__django/db/models/query.py:1034 ms2.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms2.8%
CursorWrapper.executedjango/db/backends/utils.py:794 ms2.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms2.8%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms2.8%
Cursor.executepsycopg/cursor.py:1134 ms2.8%
Connection.waitpsycopg/connection.py:4954 ms2.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms1.8%
prefetch_one_leveldjango/db/models/query.py:28994 ms2.8%
QuerySet.__iter__django/db/models/query.py:4394 ms2.8%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms2.8%
ModelIterable.__iter__django/db/models/query.py:1034 ms2.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:793 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms1.8%
Cursor.executepsycopg/cursor.py:1133 ms1.8%
Connection.waitpsycopg/connection.py:4953 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.9%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms0.9%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms0.9%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms0.9%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2651 ms0.9%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10311 ms0.9%
Field.get_coldjango/db/models/fields/__init__.py:5791 ms0.9%
cached_property.__get__django/utils/functional.py:471 ms0.9%
Field.cached_coldjango/db/models/fields/__init__.py:5961 ms0.9%
QuerySet._fetch_alldjango/db/models/query.py:22627 ms4.6%
ModelIterable.__iter__django/db/models/query.py:1037 ms4.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms3.7%
CursorWrapper.executedjango/db/backends/utils.py:796 ms3.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms3.7%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms3.7%
Cursor.executepsycopg/cursor.py:1136 ms3.7%
Connection.waitpsycopg/connection.py:4954 ms2.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms2.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms2.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms2.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.9%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms0.9%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:901 ms0.9%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4911 ms0.9%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:3641 ms0.9%
Expression.__hash__django/db/models/expressions.py:5621 ms0.9%
cached_property.__get__django/utils/functional.py:471 ms0.9%
Expression.identitydjango/db/models/expressions.py:5441 ms0.9%
_conference_detailconfs/views.py:2767 ms4.6%
_conference_detail.<locals>.<genexpr>confs/views.py:276 current_account = next((account for account in account_counts if account.account.id == account_id), None)7 ms4.6%
QuerySet.__iter__django/db/models/query.py:4397 ms4.6%
QuerySet._fetch_alldjango/db/models/query.py:22627 ms4.6%
ModelIterable.__iter__django/db/models/query.py:1037 ms4.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16126 ms3.7%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7686 ms3.7%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:916 ms3.7%
WhereNode.split_having_qualifydjango/db/models/sql/where.py:476 ms3.7%
cached_property.__get__django/utils/functional.py:476 ms3.7%
WhereNode.contains_aggregatedjango/db/models/sql/where.py:2546 ms3.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.9%
Cursor.executepsycopg/cursor.py:1131 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.9%
_conference_detailconfs/views.py:226 counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}6 ms3.7%
QuerySet.__iter__django/db/models/query.py:4396 ms3.7%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms3.7%
ValuesIterable.__iter__django/db/models/query.py:2476 ms3.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15746 ms3.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms2.8%
CursorWrapper.executedjango/db/backends/utils.py:794 ms2.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms2.8%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms2.8%
Cursor.executepsycopg/cursor.py:1134 ms2.8%
Connection.waitpsycopg/connection.py:4954 ms2.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms2.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms2.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms2.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.9%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7961 ms0.9%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms0.9%
WhereNode.as_sqldjango/db/models/sql/where.py:1511 ms0.9%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms0.9%
_conference_detailconfs/views.py:268 page_obj = paginator.get_page(page_number)3 ms1.8%
Paginator.get_pagedjango/core/paginator.py:1613 ms1.8%
Paginator.validate_numberdjango/core/paginator.py:1533 ms1.8%
cached_property.__get__django/utils/functional.py:473 ms1.8%
Paginator.num_pagesdjango/core/paginator.py:1883 ms1.8%
cached_property.__get__django/utils/functional.py:473 ms1.8%
Paginator.countdjango/core/paginator.py:1823 ms1.8%
QuerySet.countdjango/db/models/query.py:6773 ms1.8%
Query.get_countdjango/db/models/sql/query.py:6573 ms1.8%
Query.get_aggregationdjango/db/models/sql/query.py:6393 ms1.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.9%
Cursor.executepsycopg/cursor.py:1131 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.9%
_conference_detailconfs/views.py:200 ConferencePost.objects.annotate(1 ms0.9%
conferenceconfs/views.py:167 if request.user.is_authenticated:1 ms0.9%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms0.9%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms0.9%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:391 ms0.9%
ClientHandler.__call__django/test/client.py:17324 ms15.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6324 ms15.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms15.7%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms15.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms12.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13118 ms12.0%
WhiteNoise.get_static_filewhitenoise/base.py:21715 ms10.1%
StaticFile.__init__whitenoise/responders.py:7313 ms8.3%
StaticFile.get_headerswhitenoise/responders.py:1806 ms3.7%
StaticFile.get_headerswhitenoise/responders.py:1814 ms2.8%
Headers.__setitem__<stdlib>/wsgiref/headers.py:624 ms2.8%
Headers.__delitem__<stdlib>/wsgiref/headers.py:724 ms2.8%
StaticFile.get_headerswhitenoise/responders.py:1781 ms0.9%
parsedate<stdlib>/email/_parseaddr.py:1851 ms0.9%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms0.9%
_parsedate_tz<stdlib>/email/_parseaddr.py:1801 ms0.9%
StaticFile.get_headerswhitenoise/responders.py:1761 ms0.9%
StaticFile.__init__whitenoise/responders.py:721 ms0.9%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms0.9%
__init____init__:-11 ms0.9%
FileEntry.__init__whitenoise/responders.py:2601 ms0.9%
<GC>~1 ms0.9%
StaticFile.__init__whitenoise/responders.py:741 ms0.9%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms0.9%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms0.9%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms1.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2333 ms1.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms1.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms0.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms0.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms3.7%
scantreewhitenoise/base.py:2714 ms2.8%
scantreewhitenoise/base.py:2713 ms1.8%
scantreewhitenoise/base.py:2711 ms0.9%
scantreewhitenoise/base.py:2711 ms0.9%
scantreewhitenoise/base.py:2711 ms0.9%
scantreewhitenoise/base.py:2731 ms0.9%
scantreewhitenoise/base.py:2731 ms0.9%
scantreewhitenoise/base.py:2731 ms0.9%
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_postsconfs/tests.py:204 post = baker.make(Post, content=post_content, visibility="public")10 ms6.4%
makemodel_bakery/baker.py:17510 ms6.4%
Baker.makemodel_bakery/baker.py:45410 ms6.4%
Baker._makemodel_bakery/baker.py:5298 ms5.5%
Baker.generate_valuemodel_bakery/baker.py:10198 ms5.5%
gen_relatedmodel_bakery/random_gen.py:4548 ms5.5%
makemodel_bakery/baker.py:1758 ms5.5%
Baker.makemodel_bakery/baker.py:4548 ms5.5%
Baker._makemodel_bakery/baker.py:5428 ms5.5%
Baker.instancemodel_bakery/baker.py:6598 ms5.5%
Model.savedjango/db/models/base.py:9048 ms5.5%
Model.save_basedjango/db/models/base.py:9968 ms5.5%
Model._save_tabledjango/db/models/base.py:11998 ms5.5%
Model._do_insertdjango/db/models/base.py:12518 ms5.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:878 ms5.5%
QuerySet._insertdjango/db/models/query.py:21418 ms5.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19368 ms5.5%
CursorWrapper.executedjango/db/backends/utils.py:798 ms5.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:928 ms5.5%
CursorWrapper._executedjango/db/backends/utils.py:1058 ms5.5%
Cursor.executepsycopg/cursor.py:1138 ms5.5%
Connection.waitpsycopg/connection.py:4958 ms5.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2068 ms5.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2868 ms5.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:788 ms5.5%
Baker._makemodel_bakery/baker.py:5421 ms0.9%
Baker.instancemodel_bakery/baker.py:6591 ms0.9%
Model.savedjango/db/models/base.py:9041 ms0.9%
Model.save_basedjango/db/models/base.py:9961 ms0.9%
Model._save_tabledjango/db/models/base.py:11991 ms0.9%
Model._do_insertdjango/db/models/base.py:12511 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.9%
QuerySet._insertdjango/db/models/query.py:21411 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.9%
Cursor.executepsycopg/cursor.py:1131 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_postsconfs/tests.py:202 conference = Conference.objects.get(slug="fwd50")3 ms1.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms1.8%
QuerySet.getdjango/db/models/query.py:7023 ms1.8%
QuerySet.__len__django/db/models/query.py:4213 ms1.8%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms1.8%
ModelIterable.__iter__django/db/models/query.py:1033 ms1.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:793 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms1.8%
Cursor.executepsycopg/cursor.py:1133 ms1.8%
Connection.waitpsycopg/connection.py:4953 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms1.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()3 ms1.8%
TestCase._fixture_teardowndjango/test/testcases.py:14983 ms1.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4953 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:793 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms1.8%
Cursor.executepsycopg/cursor.py:1133 ms1.8%
Connection.waitpsycopg/connection.py:4953 ms1.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms1.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms1.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms1.8%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms0.9%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms0.9%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms0.9%
Atomic.__enter__django/db/transaction.py:2231 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms0.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.9%
Cursor.executepsycopg/cursor.py:1131 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.9%
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_postsconfs/tests.py:205 ConferencePost.objects.create(1 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.9%
QuerySet.createdjango/db/models/query.py:7361 ms0.9%
Model.savedjango/db/models/base.py:9041 ms0.9%
Model.save_basedjango/db/models/base.py:9961 ms0.9%
Model._save_tabledjango/db/models/base.py:11991 ms0.9%
Model._do_insertdjango/db/models/base.py:12511 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.9%
QuerySet._insertdjango/db/models/query.py:21411 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.9%
Cursor.executepsycopg/cursor.py:1131 ms0.9%
Connection.waitpsycopg/connection.py:4951 ms0.9%
teardown4 ms2.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()4 ms2.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms2.9%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3554 ms2.9%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4084 ms2.9%
Connection.closepsycopg/connection.py:2014 ms2.9%
Estimated from 109 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/views.py:173
conference = get_object_or_404(Conference, slug=conference_slug)
_conference_detail
· Database
|
43 ms |
|
confs/views.py:296
return render(
_conference_detail
· Templates
|
43 ms |
|
confs/tests.py:212
response = self.client.get(reverse("fwd50"))
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_posts
· Libraries
|
24 ms |
|
confs/tests.py:204
post = baker.make(Post, content=post_content, visibility="public")
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_posts
· Database
|
10 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
|
7 ms |
|
confs/views.py:226
counts_dict = {c["created_at_date"].date(): c["count"] for c in counts}
_conference_detail
· Database
|
6 ms |
|
confs/tests.py:202
conference = Conference.objects.get(slug="fwd50")
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_posts
· Database
|
3 ms |
|
confs/views.py:268
page_obj = paginator.get_page(page_number)
_conference_detail
· Database
|
3 ms |
|
confs/tests.py:205
ConferencePost.objects.create(
TestMigratedLegacyConferences.test_migrated_conference_shows_linked_posts
· Database
|
1 ms |
|
confs/views.py:167
if request.user.is_authenticated:
conference
· Libraries
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.03 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
19 queries · 20 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:212
|
143 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
3 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
1 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 152 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 236 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 147 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 108 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 164 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 176 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 162 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 172 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 199 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 126 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 390 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 328 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 278 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 142 ms | Run |