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

TestSelectedInstance::test_selected_instance_slash_truncate

First seen 3 years ago in 1cd3a8d
CI github-actions:test 13 runs
Average
145 ms
median 123 ms
max 269 ms
Phases
Setup 2 ms Call 143 ms Teardown 0.33 ms
Categories
Database 25 ms App code 0.40 ms Other (Libraries, Templates, Unsampled, pytest, ...) 120 ms

13 database queries per run

Needs 246 KB of memory (max 512 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call89 ms99.0%
TestSelectedInstance.test_selected_instance_slash_truncateaccounts/tests.py:232 response = self.client.get("/?selected_instance=https://mastodon.social/")84 ms92.7%
Client.getdjango/test/client.py:113384 ms92.7%
RequestFactory.getdjango/test/client.py:47584 ms92.7%
RequestFactory.genericdjango/test/client.py:67184 ms92.7%
Client.requestdjango/test/client.py:109184 ms92.7%
ClientHandler.__call__django/test/client.py:17368 ms74.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6368 ms74.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10465 ms72.4%
WhiteNoise.add_fileswhitenoise/base.py:10865 ms72.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12058 ms64.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13157 ms63.5%
WhiteNoise.get_static_filewhitenoise/base.py:21746 ms50.8%
StaticFile.__init__whitenoise/responders.py:7718 ms20.3%
StaticFile.get_alternativeswhitenoise/responders.py:2008 ms8.9%
__init____init__:-18 ms8.9%
Headers.__init__<stdlib>/wsgiref/headers.py:435 ms5.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:505 ms5.1%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms2.5%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.3%
StaticFile.get_alternativeswhitenoise/responders.py:1986 ms6.3%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1985 ms5.1%
<GC>~5 ms5.1%
StaticFile.get_alternativeswhitenoise/responders.py:2015 ms5.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms3.8%
Headers.__delitem__<stdlib>/wsgiref/headers.py:723 ms3.8%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms1.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.3%
StaticFile.__init__whitenoise/responders.py:729 ms10.2%
StaticFile.get_file_statswhitenoise/responders.py:1618 ms8.9%
__init____init__:-18 ms8.9%
FileEntry.__init__whitenoise/responders.py:2633 ms3.8%
FileEntry.stat_regular_filewhitenoise/responders.py:2742 ms2.5%
FileEntry.stat_regular_filewhitenoise/responders.py:-11 ms1.3%
FileEntry.__init__whitenoise/responders.py:2601 ms1.3%
<GC>~1 ms1.3%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms1.3%
__init____init__:-11 ms1.3%
FileEntry.__init__whitenoise/responders.py:2631 ms1.3%
FileEntry.stat_regular_filewhitenoise/responders.py:2741 ms1.3%
StaticFile.__init__whitenoise/responders.py:739 ms10.2%
StaticFile.get_headerswhitenoise/responders.py:1765 ms5.1%
formatdate<stdlib>/email/utils.py:2663 ms3.8%
format_datetime<stdlib>/email/utils.py:2752 ms2.5%
format_datetime<stdlib>/email/utils.py:2841 ms1.3%
_format_timetuple_and_zone<stdlib>/email/utils.py:2311 ms1.3%
formatdate<stdlib>/email/utils.py:2591 ms1.3%
StaticFile.get_headerswhitenoise/responders.py:1782 ms2.5%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.5%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms2.5%
_parsedate_tz<stdlib>/email/_parseaddr.py:1211 ms1.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1051 ms1.3%
StaticFile.get_headerswhitenoise/responders.py:1711 ms1.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:871 ms1.3%
StaticFile.get_headerswhitenoise/responders.py:1811 ms1.3%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms1.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.3%
StaticFile.__init__whitenoise/responders.py:766 ms6.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms3.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms3.8%
Headers.get<stdlib>/wsgiref/headers.py:1071 ms1.3%
Headers.get<stdlib>/wsgiref/headers.py:1021 ms1.3%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.5%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.5%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.3%
Headers.get<stdlib>/wsgiref/headers.py:1051 ms1.3%
StaticFile.__init__whitenoise/responders.py:742 ms2.5%
parsedate<stdlib>/email/_parseaddr.py:1851 ms1.3%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms1.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1011 ms1.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.3%
Headers.get<stdlib>/wsgiref/headers.py:1051 ms1.3%
WhiteNoise.get_static_filewhitenoise/base.py:2129 ms10.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2337 ms7.6%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1765 ms5.1%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1975 ms5.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms2.5%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms2.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms2.5%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6112 ms2.5%
urlunsplit<stdlib>/urllib/parse.py:6741 ms1.3%
urlunsplit<stdlib>/urllib/parse.py:6661 ms1.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:211 ms1.3%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2501 ms1.3%
LazyObject.__getattribute__django/utils/functional.py:2791 ms1.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1732 ms2.5%
WhiteNoiseMiddleware.get_name_without_hashwhitenoise/middleware.py:1921 ms1.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2341 ms1.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2361 ms1.3%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.3%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.3%
WhiteNoise.get_static_filewhitenoise/base.py:2111 ms1.3%
WhiteNoise.add_mime_headerswhitenoise/base.py:2251 ms1.3%
MediaTypes.get_typewhitenoise/media_types.py:151 ms1.3%
basename<frozen posixpath>:1711 ms1.3%
WhiteNoise.get_static_filewhitenoise/base.py:2131 ms1.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms6.3%
scantreewhitenoise/base.py:2716 ms6.3%
scantreewhitenoise/base.py:2716 ms6.3%
scantreewhitenoise/base.py:2715 ms5.1%
scantreewhitenoise/base.py:2715 ms5.1%
scantreewhitenoise/base.py:2713 ms3.8%
scantreewhitenoise/base.py:2733 ms3.8%
scantreewhitenoise/base.py:2731 ms1.3%
scantreewhitenoise/base.py:2731 ms1.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1112 ms2.5%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms2.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms2.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms2.5%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms2.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:2362 ms2.5%
ClientHandler.__call__django/test/client.py:18616 ms17.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14216 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38016 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38016 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38016 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12316 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14516 ms17.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5616 ms17.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38014 ms15.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5614 ms15.2%
BaseHandler._get_responsedjango/core/handlers/base.py:19914 ms15.2%
indexaccounts/views.py:4125 ms5.1%
CountlessPaginator.get_pageaccounts/views.py:845 ms5.1%
CountlessPaginator.pageaccounts/views.py:905 ms5.1%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)5 ms5.1%
QuerySet.__iter__django/db/models/query.py:4395 ms5.1%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms5.1%
ModelIterable.__iter__django/db/models/query.py:1035 ms5.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms2.5%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms2.5%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms2.5%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms2.5%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3192 ms2.5%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms2.5%
Col.as_sqldjango/db/models/expressions.py:13692 ms2.5%
SQLCompiler.quote_namedjango/db/models/sql/compiler.py:5582 ms2.5%
DatabaseOperations.quote_namedjango/db/backends/postgresql/operations.py:1902 ms2.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.5%
Cursor.executepsycopg/cursor.py:1132 ms2.5%
Connection.waitpsycopg/connection.py:4952 ms2.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.3%
indexaccounts/views.py:425 return render(5 ms5.1%
renderdjango/shortcuts.py:275 ms5.1%
render_to_stringdjango/template/loader.py:625 ms5.1%
Template.renderdjango/template/backends/django.py:1075 ms5.1%
Template.renderdjango/template/base.py:1755 ms5.1%
instrumented_test_renderdjango/test/utils.py:1135 ms5.1%
NodeList.renderdjango/template/base.py:11085 ms5.1%
Node.render_annotateddjango/template/base.py:10695 ms5.1%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms5.1%
instrumented_test_renderdjango/test/utils.py:1135 ms5.1%
NodeList.renderdjango/template/base.py:11085 ms5.1%
Node.render_annotateddjango/template/base.py:10695 ms5.1%
BlockNode.renderdjango/template/loader_tags.py:663 ms3.8%
NodeList.renderdjango/template/base.py:11082 ms2.5%
Node.render_annotateddjango/template/base.py:10692 ms2.5%
ForNode.renderdjango/template/defaulttags.py:2491 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
IfNode.renderdjango/template/defaulttags.py:3261 ms1.3%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms1.3%
<lambda>django/template/smartif.py:1071 ms1.3%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms1.3%
FilterExpression.resolvedjango/template/base.py:8061 ms1.3%
Variable.resolvedjango/template/base.py:9451 ms1.3%
Variable._resolve_lookupdjango/template/base.py:9801 ms1.3%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms1.3%
Template.renderdjango/template/base.py:1771 ms1.3%
instrumented_test_renderdjango/test/utils.py:1131 ms1.3%
NodeList.renderdjango/template/base.py:11081 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
ForNode.renderdjango/template/defaulttags.py:2491 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
IfNode.renderdjango/template/defaulttags.py:3331 ms1.3%
NodeList.renderdjango/template/base.py:11081 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2741 ms1.3%
BaseContext.pushdjango/template/context.py:601 ms1.3%
IfNode.renderdjango/template/defaulttags.py:3331 ms1.3%
NodeList.renderdjango/template/base.py:11081 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms1.3%
Template.renderdjango/template/base.py:1771 ms1.3%
instrumented_test_renderdjango/test/utils.py:1131 ms1.3%
NodeList.renderdjango/template/base.py:11081 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
SimpleNode.renderdjango/template/library.py:3431 ms1.3%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:1 ms1.3%
QuerySet.__iter__django/db/models/query.py:4391 ms1.3%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.3%
FlatValuesListIterable.__iter__django/db/models/query.py:3021 ms1.3%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15741 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.3%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms1.3%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()3 ms3.8%
QuerySet.lastdjango/db/models/query.py:12253 ms3.8%
QuerySet.__iter__django/db/models/query.py:4393 ms3.8%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms3.8%
ModelIterable.__iter__django/db/models/query.py:1032 ms2.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16231 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.3%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3201 ms1.3%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2981 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.3%
DatabaseWrapper.create_cursordjango/db/backends/postgresql/base.py:4471 ms1.3%
AdaptersMap.get_loaderpsycopg/_adapters_map.py:2731 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.3%
ModelIterable.__iter__django/db/models/query.py:991 ms1.3%
Query.get_compilerdjango/db/models/sql/query.py:3751 ms1.3%
BaseDatabaseOperations.compilerdjango/db/backends/base/operations.py:4131 ms1.3%
indexaccounts/views.py:438 "page_image": static("og.png"),1 ms1.3%
staticdjango/templatetags/static.py:1791 ms1.3%
StaticNode.handle_simpledjango/templatetags/static.py:1291 ms1.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3822 ms2.5%
SessionMiddleware.process_responsedjango/contrib/sessions/middleware.py:602 ms2.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1212 ms2.5%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms1.3%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2011 ms1.3%
SessionStore.existsdjango/contrib/sessions/backends/db.py:631 ms1.3%
QuerySet.existsdjango/db/models/query.py:14581 ms1.3%
Query.has_resultsdjango/db/models/sql/query.py:6851 ms1.3%
Query.existsdjango/db/models/sql/query.py:6811 ms1.3%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms1.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1261 ms1.3%
Atomic.__exit__django/db/transaction.py:2591 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms1.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
TestSelectedInstance.test_selected_instance_slash_truncateaccounts/tests.py:235 self.assertEqual(self.client.session["selected_instance"], "mastodon.social")3 ms3.8%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:553 ms3.8%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2543 ms3.8%
SessionStore.loaddjango/contrib/sessions/backends/db.py:553 ms3.8%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:343 ms3.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms3.8%
QuerySet.getdjango/db/models/query.py:7023 ms3.8%
QuerySet.__len__django/db/models/query.py:4213 ms3.8%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms3.8%
ModelIterable.__iter__django/db/models/query.py:1033 ms3.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms3.8%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.8%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms3.8%
Cursor.executepsycopg/cursor.py:1133 ms3.8%
Connection.waitpsycopg/connection.py:4953 ms3.8%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms2.5%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms2.5%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms2.5%
Atomic.__enter__django/db/transaction.py:2232 ms2.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms2.5%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms2.5%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms2.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.5%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.5%
Cursor.executepsycopg/cursor.py:1132 ms2.5%
Connection.waitpsycopg/connection.py:4952 ms2.5%
Estimated from 78 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/tests.py:232
response = self.client.get("/?selected_instance=https://mastodon.social/")
TestSelectedInstance.test_selected_instance_slash_truncate · Libraries
70 ms
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__ · Database
5 ms
accounts/tests.py:235
self.assertEqual(self.client.session["selected_instance"], "mastodon.social")
TestSelectedInstance.test_selected_instance_slash_truncate · Database
3 ms
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index · Database
3 ms
accounts/views.py:425
return render(
index · Templates
3 ms
accounts/views.py:438
"page_image": static("og.png"),
index · Libraries
1 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
1 ms

Fixtures

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

Database

13 queries · 10 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:232
87 ms
call _pre_setup
django/test/testcases.py:1167
2 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 90 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 151 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 123 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 69 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 133 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 243 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 95 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 119 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 99 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 82 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 269 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 204 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 212 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 92 ms 0c23747 main Run