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

TestAddAccountsSearch::test_username_search_shows_checked_for_existing_account

First seen 8 months ago in 6dd8d99
CI github-actions:test 11 runs
Average
201 ms
median 188 ms
max 344 ms
Phases
Setup 47 ms Call 153 ms Teardown 0.74 ms
Categories
Database 112 ms Factories 5 ms Other (Mocking, Templates, pytest, Libraries, ...) 85 ms

40 database queries per run

Needs 218 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup49 ms25.5%
TestCase.setUpClassdjango/test/testcases.py:1442 cls.setUpTestData()26 ms13.6%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:277 baker.make("mastodon_auth.AccountAccess", user=cls.user)14 ms7.4%
makemodel_bakery/baker.py:17514 ms7.4%
Baker.makemodel_bakery/baker.py:45414 ms7.4%
Baker._makemodel_bakery/baker.py:52912 ms6.2%
Baker.generate_valuemodel_bakery/baker.py:101912 ms6.2%
gen_relatedmodel_bakery/random_gen.py:45412 ms6.2%
makemodel_bakery/baker.py:17512 ms6.2%
Baker.makemodel_bakery/baker.py:45412 ms6.2%
Baker._makemodel_bakery/baker.py:54210 ms5.1%
Baker.instancemodel_bakery/baker.py:65910 ms5.1%
Model.savedjango/db/models/base.py:90410 ms5.1%
Model.save_basedjango/db/models/base.py:99610 ms5.1%
Model._save_tabledjango/db/models/base.py:11999 ms4.5%
Model._do_insertdjango/db/models/base.py:12519 ms4.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:879 ms4.5%
QuerySet._insertdjango/db/models/query.py:21419 ms4.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19369 ms4.5%
CursorWrapper.executedjango/db/backends/utils.py:799 ms4.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:929 ms4.5%
CursorWrapper._executedjango/db/backends/utils.py:1059 ms4.5%
Cursor.executepsycopg/cursor.py:1139 ms4.5%
Connection.waitpsycopg/connection.py:4959 ms4.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
Model._save_tabledjango/db/models/base.py:10871 ms0.6%
Field.__eq__django/db/models/fields/__init__.py:7181 ms0.6%
Baker._makemodel_bakery/baker.py:5292 ms1.1%
Baker.generate_valuemodel_bakery/baker.py:10192 ms1.1%
gen_stringmodel_bakery/random_gen.py:2702 ms1.1%
gen_string.<locals>.<genexpr>model_bakery/random_gen.py:2701 ms0.6%
Baker._makemodel_bakery/baker.py:5422 ms1.1%
Baker.instancemodel_bakery/baker.py:6592 ms1.1%
Model.savedjango/db/models/base.py:9042 ms1.1%
Model.save_basedjango/db/models/base.py:9962 ms1.1%
Model._save_tabledjango/db/models/base.py:11992 ms1.1%
Model._do_insertdjango/db/models/base.py:12512 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.1%
QuerySet._insertdjango/db/models/query.py:21412 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.1%
Cursor.executepsycopg/cursor.py:1132 ms1.1%
Connection.waitpsycopg/connection.py:4952 ms1.1%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:276 cls.user = baker.make("auth.User")5 ms2.8%
makemodel_bakery/baker.py:1755 ms2.8%
Baker.makemodel_bakery/baker.py:4545 ms2.8%
Baker._makemodel_bakery/baker.py:5424 ms2.3%
Baker.instancemodel_bakery/baker.py:6594 ms2.3%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:624 ms2.3%
Model.savedjango/db/models/base.py:9044 ms2.3%
Model.save_basedjango/db/models/base.py:9964 ms2.3%
Model._save_tabledjango/db/models/base.py:11994 ms2.3%
Model._do_insertdjango/db/models/base.py:12514 ms2.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:874 ms2.3%
QuerySet._insertdjango/db/models/query.py:21414 ms2.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19363 ms1.7%
CursorWrapper.executedjango/db/backends/utils.py:793 ms1.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms1.7%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms1.7%
Cursor.executepsycopg/cursor.py:1133 ms1.7%
Connection.waitpsycopg/connection.py:4953 ms1.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms1.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms1.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms1.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19351 ms0.6%
SQLInsertCompiler.as_sqldjango/db/models/sql/compiler.py:18801 ms0.6%
SQLInsertCompiler.assemble_as_sqldjango/db/backends/postgresql/compiler.py:551 ms0.6%
SQLInsertCompiler.assemble_as_sqldjango/db/models/sql/compiler.py:17941 ms0.6%
SQLInsertCompiler.assemble_as_sql.<locals>.<genexpr>django/db/models/sql/compiler.py:17901 ms0.6%
SQLInsertCompiler.assemble_as_sql.<locals>.<genexpr>.<genexpr>django/db/models/sql/compiler.py:17801 ms0.6%
SQLInsertCompiler.field_as_sqldjango/db/models/sql/compiler.py:17161 ms0.6%
Baker._makemodel_bakery/baker.py:5291 ms0.6%
Baker.generate_valuemodel_bakery/baker.py:10191 ms0.6%
gen_stringmodel_bakery/random_gen.py:2701 ms0.6%
gen_string.<locals>.<genexpr>model_bakery/random_gen.py:2701 ms0.6%
Random.choice<stdlib>/random.py:3541 ms0.6%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:278 cls.starter_pack = baker.make("starter_packs.StarterPack", created_by=cls.user)2 ms1.1%
makemodel_bakery/baker.py:1752 ms1.1%
Baker.makemodel_bakery/baker.py:4542 ms1.1%
Baker._makemodel_bakery/baker.py:5422 ms1.1%
Baker.instancemodel_bakery/baker.py:6592 ms1.1%
Model.savedjango/db/models/base.py:9042 ms1.1%
Model.save_basedjango/db/models/base.py:9962 ms1.1%
Model._save_tabledjango/db/models/base.py:11992 ms1.1%
Model._do_insertdjango/db/models/base.py:12512 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.1%
QuerySet._insertdjango/db/models/query.py:21412 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.1%
Cursor.executepsycopg/cursor.py:1132 ms1.1%
Connection.waitpsycopg/connection.py:4952 ms1.1%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:280 cls.instance = baker.make("accounts.Instance", instance="instance.org")2 ms1.1%
makemodel_bakery/baker.py:1752 ms1.1%
Baker.makemodel_bakery/baker.py:4542 ms1.1%
Baker._makemodel_bakery/baker.py:5291 ms0.6%
Baker.generate_valuemodel_bakery/baker.py:10191 ms0.6%
gen_stringmodel_bakery/random_gen.py:2701 ms0.6%
Baker._makemodel_bakery/baker.py:5421 ms0.6%
Baker.instancemodel_bakery/baker.py:6591 ms0.6%
Model.savedjango/db/models/base.py:9041 ms0.6%
Model.save_basedjango/db/models/base.py:9961 ms0.6%
Model._save_tabledjango/db/models/base.py:11991 ms0.6%
Model._do_insertdjango/db/models/base.py:12511 ms0.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.6%
QuerySet._insertdjango/db/models/query.py:21411 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:2791 ms0.6%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager.adddjango/db/models/fields/related_descriptors.py:13241 ms0.6%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager._add_basedjango/db/models/fields/related_descriptors.py:13011 ms0.6%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager._add_itemsdjango/db/models/fields/related_descriptors.py:16031 ms0.6%
QuerySet.bulk_createdjango/db/models/query.py:9001 ms0.6%
QuerySet._batched_insertdjango/db/models/query.py:21791 ms0.6%
QuerySet._insertdjango/db/models/query.py:21411 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:2811 ms0.6%
makemodel_bakery/baker.py:1751 ms0.6%
Baker.makemodel_bakery/baker.py:4541 ms0.6%
Baker._makemodel_bakery/baker.py:5421 ms0.6%
Baker.instancemodel_bakery/baker.py:6591 ms0.6%
Model.savedjango/db/models/base.py:9041 ms0.6%
Model.save_basedjango/db/models/base.py:9961 ms0.6%
Model._save_tabledjango/db/models/base.py:11991 ms0.6%
Model._do_insertdjango/db/models/base.py:12511 ms0.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.6%
QuerySet._insertdjango/db/models/query.py:21411 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()17 ms9.1%
TestCase._enter_atomicsdjango/test/testcases.py:139917 ms9.1%
Atomic.__enter__django/db/transaction.py:21017 ms9.1%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45417 ms9.1%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30417 ms9.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2617 ms9.1%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27917 ms9.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2617 ms9.1%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25617 ms9.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2617 ms9.1%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34517 ms9.1%
Connection.connectpsycopg/connection.py:10913 ms6.8%
wait_connpsycopg/waiting.py:1459 ms4.5%
BaseConnection._connect_genpsycopg/_connection_base.py:4399 ms4.5%
wait_connpsycopg/waiting.py:1413 ms1.7%
EpollSelector.select<stdlib>/selectors.py:4523 ms1.7%
wait_connpsycopg/waiting.py:1361 ms0.6%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms0.6%
Connection.connectpsycopg/connection.py:974 ms2.3%
Connection._get_connection_paramspsycopg/connection.py:1854 ms2.3%
conninfo_to_dictpsycopg/conninfo.py:824 ms2.3%
_parse_conninfopsycopg/conninfo.py:1014 ms2.3%
__init____init__:-12 ms1.1%
signature<stdlib>/inspect.py:33432 ms1.1%
Signature.from_callable<stdlib>/inspect.py:30582 ms1.1%
_signature_from_callable<stdlib>/inspect.py:25281 ms0.6%
_signature_from_function<stdlib>/inspect.py:24151 ms0.6%
_signature_from_callable<stdlib>/inspect.py:24761 ms0.6%
_Environ.__setitem__<frozen os>:7331 ms0.6%
call143 ms74.2%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:299 response = self.client.get(120 ms62.3%
Client.getdjango/test/client.py:1133120 ms62.3%
RequestFactory.getdjango/test/client.py:475120 ms62.3%
RequestFactory.genericdjango/test/client.py:671120 ms62.3%
Client.requestdjango/test/client.py:1091120 ms62.3%
ClientHandler.__call__django/test/client.py:18697 ms50.3%
BaseHandler.get_responsedjango/core/handlers/base.py:14297 ms50.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5697 ms50.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38096 ms49.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5696 ms49.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12394 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14594 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38094 ms49.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5694 ms49.1%
BaseHandler._get_responsedjango/core/handlers/base.py:19994 ms49.1%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:6294 ms49.1%
add_accounts_to_starter_packstarter_packs/views.py:258 if Instance.objects.filter(instance=instance_name, deleted_at__isnull=False).exists():63 ms32.7%
QuerySet.existsdjango/db/models/query.py:145860 ms31.5%
Query.has_resultsdjango/db/models/sql/query.py:68760 ms31.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:159360 ms31.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162559 ms30.8%
CursorWrapper.executedjango/db/backends/utils.py:7959 ms30.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9259 ms30.8%
CursorWrapper._executedjango/db/backends/utils.py:10559 ms30.8%
Cursor.executepsycopg/cursor.py:11359 ms30.8%
Connection.waitpsycopg/connection.py:49559 ms30.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2051 ms0.6%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms0.6%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.3%
QuerySet.filterdjango/db/models/query.py:16761 ms0.6%
QuerySet._filter_or_excludedjango/db/models/query.py:16941 ms0.6%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17041 ms0.6%
Query.add_qdjango/db/models/sql/query.py:16811 ms0.6%
Query._add_qdjango/db/models/sql/query.py:17131 ms0.6%
Query.build_filterdjango/db/models/sql/query.py:16131 ms0.6%
add_accounts_to_starter_packstarter_packs/views.py:296 return render(17 ms8.8%
renderdjango/shortcuts.py:2717 ms8.8%
render_to_stringdjango/template/loader.py:6217 ms8.8%
Template.renderdjango/template/backends/django.py:10717 ms8.8%
Template.renderdjango/template/base.py:17517 ms8.8%
instrumented_test_renderdjango/test/utils.py:11317 ms8.8%
NodeList.renderdjango/template/base.py:110817 ms8.8%
Node.render_annotateddjango/template/base.py:106917 ms8.8%
ExtendsNode.renderdjango/template/loader_tags.py:16017 ms8.8%
instrumented_test_renderdjango/test/utils.py:11317 ms8.8%
NodeList.renderdjango/template/base.py:110817 ms8.8%
Node.render_annotateddjango/template/base.py:106917 ms8.8%
BlockNode.renderdjango/template/loader_tags.py:6616 ms8.2%
NodeList.renderdjango/template/base.py:110816 ms8.2%
Node.render_annotateddjango/template/base.py:106916 ms8.2%
IncludeNode.renderdjango/template/loader_tags.py:21112 ms6.3%
Template.renderdjango/template/base.py:17712 ms6.3%
instrumented_test_renderdjango/test/utils.py:11312 ms6.3%
NodeList.renderdjango/template/base.py:110812 ms6.3%
Node.render_annotateddjango/template/base.py:106912 ms6.3%
ForNode.renderdjango/template/defaulttags.py:20210 ms5.0%
Page.__len__django/core/paginator.py:31210 ms5.0%
QuerySet.__len__django/db/models/query.py:42110 ms5.0%
QuerySet._fetch_alldjango/db/models/query.py:22627 ms3.8%
ModelIterable.__iter__django/db/models/query.py:1037 ms3.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:796 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms3.1%
Cursor.executepsycopg/cursor.py:1136 ms3.1%
Connection.waitpsycopg/connection.py:4956 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms1.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms1.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms1.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.6%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms0.6%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms0.6%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms0.6%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3191 ms0.6%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms0.6%
Exists.as_sqldjango/db/models/expressions.py:19061 ms0.6%
Subquery.as_sqldjango/db/models/expressions.py:18761 ms0.6%
Query.as_sqldjango/db/models/sql/query.py:13181 ms0.6%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7961 ms0.6%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms0.6%
WhereNode.as_sqldjango/db/models/sql/where.py:1511 ms0.6%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms0.6%
RelatedLookupMixin.as_sqldjango/db/models/fields/related_lookups.py:1281 ms0.6%
Exact.as_sqldjango/db/models/lookups.py:4071 ms0.6%
BuiltinLookup.as_sqldjango/db/models/lookups.py:2431 ms0.6%
BuiltinLookup.process_lhsdjango/db/models/lookups.py:2381 ms0.6%
DatabaseOperations.lookup_castdjango/db/backends/postgresql/operations.py:1611 ms0.6%
QuerySet._fetch_alldjango/db/models/query.py:22642 ms1.3%
QuerySet._prefetch_related_objectsdjango/db/models/query.py:14902 ms1.3%
prefetch_related_objectsdjango/db/models/query.py:27242 ms1.3%
prefetch_one_leveldjango/db/models/query.py:28992 ms1.3%
QuerySet.__iter__django/db/models/query.py:4392 ms1.3%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms1.3%
ModelIterable.__iter__django/db/models/query.py:1032 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.3%
Cursor.executepsycopg/cursor.py:1132 ms1.3%
Connection.waitpsycopg/connection.py:4952 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.3%
ForNode.renderdjango/template/defaulttags.py:2492 ms1.3%
Node.render_annotateddjango/template/base.py:10692 ms1.3%
VariableNode.renderdjango/template/base.py:11731 ms0.6%
render_value_in_contextdjango/template/base.py:11511 ms0.6%
conditional_escapedjango/utils/html.py:1321 ms0.6%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2261 ms0.6%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.6%
NodeList.renderdjango/template/base.py:11081 ms0.6%
Node.render_annotateddjango/template/base.py:10691 ms0.6%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms0.6%
Template.renderdjango/template/base.py:1771 ms0.6%
instrumented_test_renderdjango/test/utils.py:1131 ms0.6%
NodeList.renderdjango/template/base.py:11081 ms0.6%
Node.render_annotateddjango/template/base.py:10691 ms0.6%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.6%
NodeList.renderdjango/template/base.py:11081 ms0.6%
Node.render_annotateddjango/template/base.py:10691 ms0.6%
VariableNode.renderdjango/template/base.py:11731 ms0.6%
render_value_in_contextdjango/template/base.py:11461 ms0.6%
template_localtimedjango/utils/timezone.py:1561 ms0.6%
SimpleNode.renderdjango/template/library.py:3434 ms1.9%
render_language_emojisaccounts/templatetags/account_extras.py:27 f"<img src='{static(lang.image)}' class='emojione' alt=':{lang.code}:' title=':{lang.code}:' />",4 ms1.9%
staticdjango/templatetags/static.py:1794 ms1.9%
StaticNode.handle_simpledjango/templatetags/static.py:1294 ms1.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms1.9%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2354 ms1.9%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2164 ms1.9%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2074 ms1.9%
urljoin<stdlib>/urllib/parse.py:7094 ms1.9%
_urlsplit<stdlib>/urllib/parse.py:5972 ms1.3%
_urlsplit<stdlib>/urllib/parse.py:5981 ms0.6%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.6%
NodeList.renderdjango/template/base.py:11081 ms0.6%
Node.render_annotateddjango/template/base.py:10691 ms0.6%
VariableNode.renderdjango/template/base.py:11731 ms0.6%
render_value_in_contextdjango/template/base.py:11461 ms0.6%
template_localtimedjango/utils/timezone.py:1561 ms0.6%
LazyObject.__getattribute__django/utils/functional.py:2801 ms0.6%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms0.6%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms0.6%
csrf.<locals>._get_valdjango/template/context_processors.py:261 ms0.6%
get_tokendjango/middleware/csrf.py:1141 ms0.6%
_mask_cipher_secretdjango/middleware/csrf.py:641 ms0.6%
_get_new_csrf_stringdjango/middleware/csrf.py:561 ms0.6%
get_random_stringdjango/utils/crypto.py:781 ms0.6%
get_random_string.<locals>.<genexpr>django/utils/crypto.py:781 ms0.6%
Random.choice<stdlib>/random.py:3541 ms0.6%
Random._randbelow_with_getrandbits<stdlib>/random.py:2491 ms0.6%
SystemRandom.getrandbits<stdlib>/random.py:9151 ms0.6%
add_accounts_to_starter_packstarter_packs/views.py:233 .annotate(5 ms2.5%
QuerySet.annotatedjango/db/models/query.py:18425 ms2.5%
QuerySet._annotatedjango/db/models/query.py:18945 ms2.5%
Query.add_annotationdjango/db/models/sql/query.py:12435 ms2.5%
Subquery.resolve_expressiondjango/db/models/expressions.py:18455 ms2.5%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:3012 ms1.3%
Query.resolve_expressiondjango/db/models/sql/query.py:12642 ms1.3%
Query.bump_prefixdjango/db/models/sql/query.py:11052 ms1.3%
Query.change_aliasesdjango/db/models/sql/query.py:10312 ms1.3%
Join.relabeled_clonedjango/db/models/sql/datastructures.py:1421 ms0.6%
add_accounts_to_starter_packstarter_packs/views.py:309 ).count(),4 ms1.9%
QuerySet.countdjango/db/models/query.py:6774 ms1.9%
Query.get_countdjango/db/models/sql/query.py:6574 ms1.9%
Query.get_aggregationdjango/db/models/sql/query.py:6394 ms1.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms1.9%
CursorWrapper.executedjango/db/backends/utils.py:794 ms1.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms1.9%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms1.9%
Cursor.executepsycopg/cursor.py:1134 ms1.9%
Connection.waitpsycopg/connection.py:4954 ms1.9%
add_accounts_to_starter_packstarter_packs/views.py:235 StarterPackAccount.objects.filter(2 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.3%
QuerySet.filterdjango/db/models/query.py:16762 ms1.3%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms1.3%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms1.3%
Query.add_qdjango/db/models/sql/query.py:16812 ms1.3%
Query._add_qdjango/db/models/sql/query.py:17132 ms1.3%
Query.build_filterdjango/db/models/sql/query.py:15991 ms0.6%
Query.build_filterdjango/db/models/sql/query.py:16131 ms0.6%
Query.build_lookupdjango/db/models/sql/query.py:14401 ms0.6%
Lookup.__init__django/db/models/lookups.py:351 ms0.6%
RelatedLookupMixin.get_prep_lookupdjango/db/models/fields/related_lookups.py:1041 ms0.6%
get_normalized_valuedjango/db/models/fields/related_lookups.py:191 ms0.6%
add_accounts_to_starter_packstarter_packs/views.py:241 StarterPackAccount.objects.filter(starter_pack=starter_pack, account=OuterRef("pk"), pinned=True),2 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.3%
QuerySet.filterdjango/db/models/query.py:16762 ms1.3%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms1.3%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms1.3%
Query.add_qdjango/db/models/sql/query.py:16812 ms1.3%
Query._add_qdjango/db/models/sql/query.py:17132 ms1.3%
Query.build_filterdjango/db/models/sql/query.py:16131 ms0.6%
Query.build_lookupdjango/db/models/sql/query.py:14251 ms0.6%
add_accounts_to_starter_packstarter_packs/views.py:294 page_obj = paginator.get_page(page_number)1 ms0.6%
Paginator.get_pagedjango/core/paginator.py:1611 ms0.6%
Paginator.validate_numberdjango/core/paginator.py:1531 ms0.6%
cached_property.__get__django/utils/functional.py:471 ms0.6%
Paginator.num_pagesdjango/core/paginator.py:1881 ms0.6%
cached_property.__get__django/utils/functional.py:471 ms0.6%
Paginator.countdjango/core/paginator.py:1821 ms0.6%
QuerySet.countdjango/db/models/query.py:6771 ms0.6%
Query.get_countdjango/db/models/sql/query.py:6571 ms0.6%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms0.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3821 ms0.6%
CSPMiddleware.process_responsecsp/middleware.py:921 ms0.6%
HttpResponseBase.__setitem__django/http/response.py:2031 ms0.6%
ResponseHeaders.__setitem__django/http/response.py:961 ms0.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3821 ms0.6%
AnonymousCacheMiddleware.process_responsefedidevs/middleware.py:471 ms0.6%
HttpResponseBase.__setitem__django/http/response.py:2031 ms0.6%
ResponseHeaders.__setitem__django/http/response.py:951 ms0.6%
ClientHandler.__call__django/test/client.py:17323 ms12.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6323 ms12.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10423 ms12.0%
WhiteNoise.add_fileswhitenoise/base.py:10823 ms12.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12012 ms6.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13112 ms6.3%
WhiteNoise.get_static_filewhitenoise/base.py:2178 ms4.4%
StaticFile.__init__whitenoise/responders.py:741 ms0.6%
parsedate<stdlib>/email/_parseaddr.py:1851 ms0.6%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms0.6%
_parsedate_tz<stdlib>/email/_parseaddr.py:1011 ms0.6%
StaticFile.__init__whitenoise/responders.py:731 ms0.6%
StaticFile.get_headerswhitenoise/responders.py:1811 ms0.6%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms1.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms1.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms1.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms1.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms0.6%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms0.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2161 ms0.6%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2041 ms0.6%
filepath_to_uridjango/utils/encoding.py:2451 ms0.6%
quote<stdlib>/urllib/parse.py:10721 ms0.6%
quote_from_bytes<stdlib>/urllib/parse.py:11121 ms0.6%
WhiteNoise.get_static_filewhitenoise/base.py:2141 ms0.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms5.7%
scantreewhitenoise/base.py:27111 ms5.7%
scantreewhitenoise/base.py:27111 ms5.7%
scantreewhitenoise/base.py:2717 ms3.8%
scantreewhitenoise/base.py:2717 ms3.8%
scantreewhitenoise/base.py:2716 ms3.1%
scantreewhitenoise/base.py:2736 ms3.1%
<GC>~1 ms0.6%
scantreewhitenoise/base.py:2731 ms0.6%
scantreewhitenoise/base.py:2734 ms1.9%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:298 self.client.force_login(self.user)15 ms7.5%
ClientMixin.force_logindjango/test/client.py:85815 ms7.5%
ClientMixin._logindjango/test/client.py:8847 ms3.8%
ClientMixin.sessiondjango/test/client.py:8157 ms3.8%
SessionStore.savedjango/contrib/sessions/backends/db.py:1217 ms3.8%
SessionStore.createdjango/contrib/sessions/backends/db.py:706 ms3.1%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2016 ms3.1%
SessionStore.existsdjango/contrib/sessions/backends/db.py:636 ms3.1%
QuerySet.existsdjango/db/models/query.py:14586 ms3.1%
Query.has_resultsdjango/db/models/sql/query.py:6876 ms3.1%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15936 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:796 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms3.1%
Cursor.executepsycopg/cursor.py:1136 ms3.1%
Connection.waitpsycopg/connection.py:4956 ms3.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms0.6%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms0.6%
Model.savedjango/db/models/base.py:9041 ms0.6%
Model.save_basedjango/db/models/base.py:9961 ms0.6%
Model._save_tabledjango/db/models/base.py:11991 ms0.6%
Model._do_insertdjango/db/models/base.py:12511 ms0.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.6%
QuerySet._insertdjango/db/models/query.py:21411 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19351 ms0.6%
ClientMixin._logindjango/test/client.py:8915 ms2.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1265 ms2.5%
Atomic.__enter__django/db/transaction.py:2232 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms1.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.3%
Cursor.executepsycopg/cursor.py:1132 ms1.3%
Connection.waitpsycopg/connection.py:4952 ms1.3%
Atomic.__exit__django/db/transaction.py:2592 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms1.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.3%
Cursor.executepsycopg/cursor.py:1132 ms1.3%
Connection.waitpsycopg/connection.py:4952 ms1.3%
ClientMixin._logindjango/test/client.py:8892 ms1.3%
logindjango/contrib/auth/__init__.py:1891 ms0.6%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4401 ms0.6%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1751 ms0.6%
Model.deletedjango/db/models/base.py:13311 ms0.6%
Collector.deletedjango/db/models/deletion.py:4831 ms0.6%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:431 ms0.6%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:251 ms0.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
logindjango/contrib/auth/__init__.py:1981 ms0.6%
Signal.senddjango/dispatch/dispatcher.py:2491 ms0.6%
update_last_logindjango/contrib/auth/models.py:241 ms0.6%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:621 ms0.6%
Model.savedjango/db/models/base.py:9041 ms0.6%
Model.save_basedjango/db/models/base.py:9961 ms0.6%
Model._save_tabledjango/db/models/base.py:11401 ms0.6%
Model._do_updatedjango/db/models/base.py:12441 ms0.6%
QuerySet._updatedjango/db/models/query.py:14481 ms0.6%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21501 ms0.6%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21211 ms0.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms1.9%
TestCase._fixture_teardowndjango/test/testcases.py:14984 ms1.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4954 ms1.9%
CursorWrapper.executedjango/db/backends/utils.py:794 ms1.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms1.9%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms1.9%
Cursor.executepsycopg/cursor.py:1134 ms1.9%
Connection.waitpsycopg/connection.py:4954 ms1.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms1.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms1.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms1.9%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:293 baker.make(4 ms1.9%
makemodel_bakery/baker.py:1754 ms1.9%
Baker.makemodel_bakery/baker.py:4544 ms1.9%
Baker._makemodel_bakery/baker.py:5422 ms1.3%
Baker.instancemodel_bakery/baker.py:6592 ms1.3%
Model.savedjango/db/models/base.py:9042 ms1.3%
Model.save_basedjango/db/models/base.py:9962 ms1.3%
Model._save_tabledjango/db/models/base.py:11992 ms1.3%
Model._do_insertdjango/db/models/base.py:12512 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.3%
QuerySet._insertdjango/db/models/query.py:21412 ms1.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.3%
Cursor.executepsycopg/cursor.py:1132 ms1.3%
Connection.waitpsycopg/connection.py:4952 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.3%
Baker._makemodel_bakery/baker.py:5291 ms0.6%
Baker.generate_valuemodel_bakery/baker.py:10191 ms0.6%
gen_relatedmodel_bakery/random_gen.py:4541 ms0.6%
makemodel_bakery/baker.py:1751 ms0.6%
Baker.makemodel_bakery/baker.py:4541 ms0.6%
Baker._makemodel_bakery/baker.py:5421 ms0.6%
Baker.instancemodel_bakery/baker.py:6591 ms0.6%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:621 ms0.6%
Model.savedjango/db/models/base.py:9041 ms0.6%
Model.save_basedjango/db/models/base.py:9961 ms0.6%
Model._save_tabledjango/db/models/base.py:11991 ms0.6%
Model._do_insertdjango/db/models/base.py:12511 ms0.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.6%
QuerySet._insertdjango/db/models/query.py:21411 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)1 ms0.6%
Estimated from 163 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/views.py:258
if Instance.objects.filter(instance=instance_name, deleted_at__isnull=False).exists():
add_accounts_to_starter_pack · Database
63 ms
starter_packs/tests.py:299
response = self.client.get(
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account · Mocking
24 ms
starter_packs/tests.py:298
self.client.force_login(self.user)
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account · Database
15 ms
starter_packs/tests.py:277
baker.make("mastodon_auth.AccountAccess", user=cls.user)
TestAddAccountsSearch.setUpTestData · Database
14 ms
starter_packs/views.py:296
return render(
add_accounts_to_starter_pack · Database
13 ms
starter_packs/tests.py:276
cls.user = baker.make("auth.User")
TestAddAccountsSearch.setUpTestData · Database
5 ms
starter_packs/views.py:233
.annotate(
add_accounts_to_starter_pack · Database
5 ms
starter_packs/views.py:309
).count(),
add_accounts_to_starter_pack · Database
4 ms
starter_packs/tests.py:293
baker.make(
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account · Database
4 ms
accounts/templatetags/account_extras.py:27
f"<img src='{static(lang.image)}' class='emojione' alt=':{lang.code}:' title=':{lang.code}:' />",
render_language_emojis · Templates
4 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestAddAccountsSearch class 43 ms
_django_setup_unittest class 5 ms
_template_string_if_invalid_marker function 0.07 ms
_dj_autoclear_mailbox function 0.06 ms
_django_db_marker function 0.05 ms
_live_server_helper function 0.04 ms
_django_isolate_apps function 0.04 ms
_django_set_urlconf function 0.04 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

40 queries · 55 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:299
138 ms
setup setUpClass
django/test/testcases.py:1426
44 ms
call _post_teardown
django/test/testcases.py:1243
4 ms
setup __init__
__init__:-1
2 ms
setup pytest internals 2 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 192 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 105 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 253 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 174 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 193 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 176 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 188 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 160 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 162 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 267 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 344 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 120 ms 0c23747 main Run