Tests / accounts/tests.py
TestSelectedInstance::test_selected_instance_through_session
First seen 3 years ago in 1cd3a8d
CI
github-actions:test
13 runs
Average
191 ms
median 174 ms
max 366 ms
max 366 ms
Phases
Setup 2 ms
Call 189 ms
Teardown 0.45 ms
Categories
Database 39 ms
App code 0.31 ms
Test code 0.10 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 152 ms
17 database queries per run
Needs 41 KB of memory (max 108 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup0.78 ms0.9%
__init____init__:-10.78 ms0.9%
call85 ms98.8%
TestSelectedInstance.test_selected_instance_through_sessionaccounts/tests.py:262 response = self.client.get("/?q=")55 ms63.7%
Client.getdjango/test/client.py:113355 ms63.7%
RequestFactory.getdjango/test/client.py:47555 ms63.7%
RequestFactory.genericdjango/test/client.py:67155 ms63.7%
Client.requestdjango/test/client.py:109155 ms63.7%
ClientHandler.__call__django/test/client.py:18655 ms63.7%
BaseHandler.get_responsedjango/core/handlers/base.py:14255 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12355 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14555 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms63.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms63.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38053 ms61.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5653 ms61.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38053 ms61.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5653 ms61.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38051 ms59.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5651 ms59.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38051 ms59.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5651 ms59.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19951 ms59.3%
indexaccounts/views.py:425 return render(17 ms19.8%
renderdjango/shortcuts.py:2717 ms19.8%
render_to_stringdjango/template/loader.py:6217 ms19.8%
Template.renderdjango/template/backends/django.py:10717 ms19.8%
Template.renderdjango/template/base.py:17517 ms19.8%
instrumented_test_renderdjango/test/utils.py:11317 ms19.8%
NodeList.renderdjango/template/base.py:110817 ms19.8%
Node.render_annotateddjango/template/base.py:106917 ms19.8%
ExtendsNode.renderdjango/template/loader_tags.py:16017 ms19.8%
instrumented_test_renderdjango/test/utils.py:11317 ms19.8%
NodeList.renderdjango/template/base.py:110817 ms19.8%
Node.render_annotateddjango/template/base.py:106917 ms19.8%
BlockNode.renderdjango/template/loader_tags.py:668 ms8.8%
NodeList.renderdjango/template/base.py:11088 ms8.8%
Node.render_annotateddjango/template/base.py:10696 ms6.6%
ForNode.renderdjango/template/defaulttags.py:2496 ms6.6%
Node.render_annotateddjango/template/base.py:10696 ms6.6%
StaticNode.renderdjango/templatetags/static.py:1164 ms4.4%
StaticNode.urldjango/templatetags/static.py:1134 ms4.4%
StaticNode.handle_simpledjango/templatetags/static.py:1294 ms4.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms4.4%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2354 ms4.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms2.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms2.2%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2072 ms2.2%
urljoin<stdlib>/urllib/parse.py:7432 ms2.2%
VariableNode.renderdjango/template/base.py:11732 ms2.2%
render_value_in_contextdjango/template/base.py:11472 ms2.2%
localizedjango/utils/formats.py:2082 ms2.2%
IfNode.renderdjango/template/defaulttags.py:3334 ms4.4%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms4.4%
Template.renderdjango/template/base.py:1774 ms4.4%
instrumented_test_renderdjango/test/utils.py:1134 ms4.4%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
SimpleNode.renderdjango/template/library.py:3434 ms4.4%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms4.4%
QuerySet.__iter__django/db/models/query.py:4394 ms4.4%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.4%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms4.4%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms4.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms4.4%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.4%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms4.4%
Cursor.executepsycopg/cursor.py:1134 ms4.4%
Connection.waitpsycopg/connection.py:4954 ms4.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
TranslateNode.renderdjango/templatetags/i18n.py:912 ms2.2%
render_value_in_contextdjango/template/base.py:11502 ms2.2%
SimpleNode.renderdjango/template/library.py:3432 ms2.2%
heroicon_outlineheroicons/templatetags/heroicons.py:232 ms2.2%
_render_iconheroicons/templatetags/heroicons.py:412 ms2.2%
_render_iconheroicons/__init__.py:472 ms2.2%
deepcopy<stdlib>/copy.py:1372 ms2.2%
URLNode.renderdjango/template/defaulttags.py:5112 ms2.2%
reversedjango/urls/base.py:982 ms2.2%
indexaccounts/views.py:399 if request.user.is_authenticated:13 ms15.4%
new_method_proxy.<locals>.innerdjango/utils/functional.py:25113 ms15.4%
SimpleLazyObject._setupdjango/utils/functional.py:40413 ms15.4%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:3913 ms15.4%
get_userdjango/contrib/auth/middleware.py:1913 ms15.4%
get_userdjango/contrib/auth/__init__.py:28713 ms15.4%
_get_user_session_keydjango/contrib/auth/__init__.py:11113 ms15.4%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:5513 ms15.4%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:25413 ms15.4%
SessionStore.loaddjango/contrib/sessions/backends/db.py:5513 ms15.4%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:3413 ms15.4%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8713 ms15.4%
QuerySet.getdjango/db/models/query.py:70211 ms13.2%
QuerySet.__len__django/db/models/query.py:42111 ms13.2%
QuerySet._fetch_alldjango/db/models/query.py:226211 ms13.2%
ModelIterable.__iter__django/db/models/query.py:10311 ms13.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162511 ms13.2%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms13.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms13.2%
CursorWrapper._executedjango/db/backends/utils.py:10511 ms13.2%
Cursor.executepsycopg/cursor.py:11311 ms13.2%
Connection.waitpsycopg/connection.py:49511 ms13.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2069 ms11.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2868 ms8.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:788 ms8.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3122 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2052 ms2.2%
BaseCursor._convert_querypsycopg/_cursor_base.py:4652 ms2.2%
PostgresClientQuery.convertpsycopg/_queries.py:2892 ms2.2%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()9 ms11.0%
QuerySet.lastdjango/db/models/query.py:12259 ms11.0%
QuerySet.__iter__django/db/models/query.py:4398 ms8.8%
QuerySet._fetch_alldjango/db/models/query.py:22628 ms8.8%
ModelIterable.__iter__django/db/models/query.py:1038 ms8.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16128 ms8.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7688 ms8.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:896 ms6.6%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:786 ms6.6%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3196 ms6.6%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5794 ms4.4%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5752 ms2.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:902 ms2.2%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4912 ms2.2%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:3612 ms2.2%
QuerySet.__getitem__django/db/models/query.py:4762 ms2.2%
indexaccounts/views.py:4128 ms8.8%
CountlessPaginator.get_pageaccounts/views.py:848 ms8.8%
CountlessPaginator.pageaccounts/views.py:908 ms8.8%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)8 ms8.8%
QuerySet.__iter__django/db/models/query.py:4398 ms8.8%
QuerySet._fetch_alldjango/db/models/query.py:22628 ms8.8%
ModelIterable.__iter__django/db/models/query.py:1038 ms8.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16128 ms8.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7688 ms8.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:896 ms6.6%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:786 ms6.6%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3104 ms4.4%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:13232 ms2.2%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12272 ms2.2%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3192 ms2.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms2.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:902 ms2.2%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4912 ms2.2%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:4182 ms2.2%
PositionRef.__init__django/db/models/sql/compiler.py:372 ms2.2%
indexaccounts/views.py:375 .filter(search_query)2 ms2.2%
QuerySet.filterdjango/db/models/query.py:16762 ms2.2%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms2.2%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms2.2%
Query.add_qdjango/db/models/sql/query.py:16812 ms2.2%
Query._add_qdjango/db/models/sql/query.py:17132 ms2.2%
Query.build_filterdjango/db/models/sql/query.py:15282 ms2.2%
Query._add_qdjango/db/models/sql/query.py:17132 ms2.2%
Query.build_filterdjango/db/models/sql/query.py:16072 ms2.2%
indexaccounts/views.py:376 .only(2 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3792 ms2.2%
MessageMiddleware.process_requestdjango/contrib/messages/middleware.py:122 ms2.2%
default_storagedjango/contrib/messages/storage/__init__.py:122 ms2.2%
FallbackStorage.__init__django/contrib/messages/storage/fallback.py:172 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3792 ms2.2%
CsrfViewMiddleware.process_requestdjango/middleware/csrf.py:4032 ms2.2%
CsrfViewMiddleware._get_secretdjango/middleware/csrf.py:2452 ms2.2%
_check_token_formatdjango/middleware/csrf.py:1392 ms2.2%
TestSelectedInstance.test_selected_instance_through_sessionaccounts/tests.py:261 self.client.get("/?selected_instance=mastodon.social")23 ms26.3%
Client.getdjango/test/client.py:113323 ms26.3%
RequestFactory.getdjango/test/client.py:47523 ms26.3%
RequestFactory.genericdjango/test/client.py:67123 ms26.3%
Client.requestdjango/test/client.py:109123 ms26.3%
ClientHandler.__call__django/test/client.py:17319 ms22.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6319 ms22.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10419 ms22.0%
WhiteNoise.add_fileswhitenoise/base.py:10817 ms19.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms13.2%
scantreewhitenoise/base.py:2719 ms11.0%
scantreewhitenoise/base.py:2716 ms6.6%
scantreewhitenoise/base.py:2694 ms4.4%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2692 ms2.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1206 ms6.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms6.6%
WhiteNoise.get_static_filewhitenoise/base.py:2174 ms4.4%
StaticFile.__init__whitenoise/responders.py:732 ms2.2%
StaticFile.get_headerswhitenoise/responders.py:1762 ms2.2%
StaticFile.__init__whitenoise/responders.py:772 ms2.2%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms2.2%
WhiteNoise.add_fileswhitenoise/base.py:1072 ms2.2%
isdir<frozen genericpath>:522 ms2.2%
ClientHandler.__call__django/test/client.py:1864 ms4.4%
BaseHandler.get_responsedjango/core/handlers/base.py:1424 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1454 ms4.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms4.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.2%
BaseHandler._get_responsedjango/core/handlers/base.py:1992 ms2.2%
indexaccounts/views.py:425 return render(2 ms2.2%
renderdjango/shortcuts.py:282 ms2.2%
HttpResponse.__init__django/http/response.py:3892 ms2.2%
HttpResponse.contentdjango/http/response.py:4212 ms2.2%
HttpResponseBase.make_bytesdjango/http/response.py:3292 ms2.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3822 ms2.2%
SessionMiddleware.process_responsedjango/contrib/sessions/middleware.py:602 ms2.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1212 ms2.2%
SessionStore.createdjango/contrib/sessions/backends/db.py:702 ms2.2%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2002 ms2.2%
get_random_stringdjango/utils/crypto.py:782 ms2.2%
get_random_string.<locals>.<genexpr>django/utils/crypto.py:782 ms2.2%
Random.choice<stdlib>/random.py:3542 ms2.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms4.4%
TestCase._fixture_teardowndjango/test/testcases.py:14984 ms4.4%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4954 ms4.4%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.4%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms4.4%
Cursor.executepsycopg/cursor.py:1134 ms4.4%
Connection.waitpsycopg/connection.py:4954 ms4.4%
TransactionTestCase._pre_setupdjango/test/testcases.py:1154 super()._pre_setup()2 ms2.2%
SimpleTestCase._pre_setupdjango/test/testcases.py:3872 ms2.2%
TestSelectedInstance.test_selected_instance_through_sessionaccounts/tests.py:265 self.assertEqual(self.client.session["selected_instance"], "mastodon.social")2 ms2.2%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:552 ms2.2%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2542 ms2.2%
SessionStore.loaddjango/contrib/sessions/backends/db.py:552 ms2.2%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:342 ms2.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms2.2%
QuerySet.getdjango/db/models/query.py:7022 ms2.2%
QuerySet.__len__django/db/models/query.py:4212 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
Estimated from 46 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/tests.py:261
self.client.get("/?selected_instance=mastodon.social")
TestSelectedInstance.test_selected_instance_through_session
· Libraries
|
21 ms |
|
accounts/views.py:425
return render(
index
· Templates
|
15 ms |
|
accounts/views.py:399
if request.user.is_authenticated:
index
· Database
|
13 ms |
|
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index
· Database
|
9 ms |
|
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__
· Database
|
8 ms |
|
accounts/tests.py:262
response = self.client.get("/?q=")
TestSelectedInstance.test_selected_instance_through_session
· Libraries
|
4 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
4 ms |
|
accounts/views.py:375
.filter(search_query)
index
· Database
|
2 ms |
|
accounts/views.py:376
.only(
index
· App code
|
2 ms |
|
accounts/tests.py:265
self.assertEqual(self.client.session["selected_instance"], "mastodon.social")
TestSelectedInstance.test_selected_instance_through_session
· Database
|
2 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 |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
17 queries · 9 msNo repeated queries.
Biggest pieces of work
|
call test body
accounts/tests.py:262
|
79 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
4 ms |
|
call _pre_setup
django/test/testcases.py:1154
|
2 ms |
|
setup __init__
__init__:-1
|
0.78 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 | 86 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 248 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 174 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 84 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 177 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 227 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 163 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 149 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 141 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 | 366 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 268 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 | 111 ms | Run |