Tests / starter_packs/tests.py
TestAddAccountsSearch::test_username_search_shows_checked_for_existing_account
First seen 8 months, 3 weeks ago in 6dd8d99
CI
github-actions:test
13 runs
Average
197 ms
median 188 ms
max 344 ms
max 344 ms
Phases
Setup 47 ms
Call 149 ms
Teardown 0.68 ms
Categories
Database 109 ms
Factories 4 ms
Other (Mocking, Templates, pytest, Libraries, ...) 83 ms
40 database queries per run
Needs 185 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup41 ms28.3%
TestCase.setUpClassdjango/test/testcases.py:1442 cls.setUpTestData()25 ms16.8%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:277 baker.make("mastodon_auth.AccountAccess", user=cls.user)12 ms8.4%
makemodel_bakery/baker.py:17512 ms8.4%
Baker.makemodel_bakery/baker.py:45412 ms8.4%
Baker._makemodel_bakery/baker.py:52911 ms7.7%
Baker.generate_valuemodel_bakery/baker.py:101911 ms7.7%
gen_relatedmodel_bakery/random_gen.py:45410 ms6.9%
makemodel_bakery/baker.py:17510 ms6.9%
Baker.makemodel_bakery/baker.py:45410 ms6.9%
Baker._makemodel_bakery/baker.py:5428 ms5.4%
Baker.instancemodel_bakery/baker.py:6598 ms5.4%
Model.savedjango/db/models/base.py:9048 ms5.4%
Model.save_basedjango/db/models/base.py:9968 ms5.4%
Model._save_tabledjango/db/models/base.py:11998 ms5.4%
Model._do_insertdjango/db/models/base.py:12518 ms5.4%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:878 ms5.4%
QuerySet._insertdjango/db/models/query.py:21418 ms5.4%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19368 ms5.4%
CursorWrapper.executedjango/db/backends/utils.py:798 ms5.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:928 ms5.4%
CursorWrapper._executedjango/db/backends/utils.py:1058 ms5.4%
Cursor.executepsycopg/cursor.py:1138 ms5.4%
Connection.waitpsycopg/connection.py:4958 ms5.4%
Baker._makemodel_bakery/baker.py:5012 ms1.5%
Baker._skip_fieldmodel_bakery/baker.py:7571 ms0.8%
Baker.instancemodel_bakery/baker.py:6591 ms0.8%
Model.savedjango/db/models/base.py:9041 ms0.8%
Model.save_basedjango/db/models/base.py:9961 ms0.8%
Model._save_tabledjango/db/models/base.py:11991 ms0.8%
Model._do_insertdjango/db/models/base.py:12511 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet._insertdjango/db/models/query.py:21411 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
gen_stringmodel_bakery/random_gen.py:2701 ms0.8%
gen_string.<locals>.<genexpr>model_bakery/random_gen.py:2701 ms0.8%
Baker._makemodel_bakery/baker.py:5421 ms0.8%
Baker.instancemodel_bakery/baker.py:6591 ms0.8%
Model.savedjango/db/models/base.py:9041 ms0.8%
Model.save_basedjango/db/models/base.py:9961 ms0.8%
Model._save_tabledjango/db/models/base.py:11991 ms0.8%
Model._do_insertdjango/db/models/base.py:12511 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet._insertdjango/db/models/query.py:21411 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:276 cls.user = baker.make("auth.User")6 ms3.8%
makemodel_bakery/baker.py:1756 ms3.8%
Baker.makemodel_bakery/baker.py:4546 ms3.8%
Baker._makemodel_bakery/baker.py:5426 ms3.8%
Baker.instancemodel_bakery/baker.py:6596 ms3.8%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:626 ms3.8%
Model.savedjango/db/models/base.py:9046 ms3.8%
Model.save_basedjango/db/models/base.py:9966 ms3.8%
Model._save_tabledjango/db/models/base.py:11996 ms3.8%
Model._do_insertdjango/db/models/base.py:12516 ms3.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:876 ms3.8%
QuerySet._insertdjango/db/models/query.py:21416 ms3.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19363 ms2.3%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.3%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms2.3%
Cursor.executepsycopg/cursor.py:1133 ms2.3%
Connection.waitpsycopg/connection.py:4953 ms2.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19352 ms1.5%
SQLInsertCompiler.as_sqldjango/db/models/sql/compiler.py:18802 ms1.5%
SQLInsertCompiler.assemble_as_sqldjango/db/backends/postgresql/compiler.py:552 ms1.5%
SQLInsertCompiler.assemble_as_sqldjango/db/models/sql/compiler.py:17942 ms1.5%
SQLInsertCompiler.assemble_as_sql.<locals>.<genexpr>django/db/models/sql/compiler.py:17902 ms1.5%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:280 cls.instance = baker.make("accounts.Instance", instance="instance.org")2 ms1.5%
makemodel_bakery/baker.py:1752 ms1.5%
Baker.makemodel_bakery/baker.py:4542 ms1.5%
Baker._makemodel_bakery/baker.py:5422 ms1.5%
Baker.instancemodel_bakery/baker.py:6592 ms1.5%
Model.savedjango/db/models/base.py:9042 ms1.5%
Model.save_basedjango/db/models/base.py:9962 ms1.5%
Model._save_tabledjango/db/models/base.py:11992 ms1.5%
Model._do_insertdjango/db/models/base.py:12512 ms1.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.5%
QuerySet._insertdjango/db/models/query.py:21412 ms1.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.5%
Cursor.executepsycopg/cursor.py:1132 ms1.5%
Connection.waitpsycopg/connection.py:4952 ms1.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.5%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:279 cls.starter_pack.owners.add(cls.user)2 ms1.5%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager.adddjango/db/models/fields/related_descriptors.py:13242 ms1.5%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager._add_basedjango/db/models/fields/related_descriptors.py:13012 ms1.5%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager._add_itemsdjango/db/models/fields/related_descriptors.py:16032 ms1.5%
QuerySet.bulk_createdjango/db/models/query.py:9002 ms1.5%
QuerySet._batched_insertdjango/db/models/query.py:21792 ms1.5%
QuerySet._insertdjango/db/models/query.py:21412 ms1.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.5%
Cursor.executepsycopg/cursor.py:1132 ms1.5%
Connection.waitpsycopg/connection.py:4952 ms1.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:2781 ms0.8%
makemodel_bakery/baker.py:1751 ms0.8%
Baker.makemodel_bakery/baker.py:4541 ms0.8%
Baker._makemodel_bakery/baker.py:5421 ms0.8%
Baker.instancemodel_bakery/baker.py:6591 ms0.8%
Model.savedjango/db/models/base.py:9041 ms0.8%
Model.save_basedjango/db/models/base.py:9961 ms0.8%
Model._save_tabledjango/db/models/base.py:11991 ms0.8%
Model._do_insertdjango/db/models/base.py:12511 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet._insertdjango/db/models/query.py:21411 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19351 ms0.8%
SQLInsertCompiler.as_sqldjango/db/models/sql/compiler.py:18241 ms0.8%
SQLInsertCompiler.prepare_valuedjango/db/models/sql/compiler.py:17471 ms0.8%
TestAddAccountsSearch.setUpTestDatastarter_packs/tests.py:2811 ms0.8%
makemodel_bakery/baker.py:1751 ms0.8%
Baker.makemodel_bakery/baker.py:4541 ms0.8%
Baker._makemodel_bakery/baker.py:5421 ms0.8%
Baker.instancemodel_bakery/baker.py:6591 ms0.8%
Model.savedjango/db/models/base.py:9041 ms0.8%
Model.save_basedjango/db/models/base.py:9961 ms0.8%
Model._save_tabledjango/db/models/base.py:11991 ms0.8%
Model._do_insertdjango/db/models/base.py:12511 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet._insertdjango/db/models/query.py:21411 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()14 ms10.0%
TestCase._enter_atomicsdjango/test/testcases.py:139914 ms10.0%
Atomic.__enter__django/db/transaction.py:21014 ms10.0%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45414 ms10.0%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30414 ms10.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2614 ms10.0%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27914 ms10.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2614 ms10.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25614 ms10.0%
DatabaseWrapper.get_new_connectionfedidevs/db/postgresql/base.py:39 return super().get_new_connection(conn_params)14 ms10.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2614 ms10.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34514 ms10.0%
Connection.connectpsycopg/connection.py:10914 ms10.0%
wait_connpsycopg/waiting.py:1419 ms6.1%
EpollSelector.select<stdlib>/selectors.py:4529 ms6.1%
wait_connpsycopg/waiting.py:1456 ms3.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4396 ms3.8%
call104 ms71.5%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:299 response = self.client.get(75 ms51.4%
Client.getdjango/test/client.py:113375 ms51.4%
RequestFactory.getdjango/test/client.py:47575 ms51.4%
RequestFactory.genericdjango/test/client.py:67174 ms50.6%
Client.requestdjango/test/client.py:109174 ms50.6%
ClientHandler.__call__django/test/client.py:18639 ms26.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14239 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12339 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14539 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms26.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms26.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38034 ms23.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5634 ms23.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19934 ms23.3%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:6234 ms23.3%
add_accounts_to_starter_packstarter_packs/views.py:296 return render(16 ms11.2%
renderdjango/shortcuts.py:2716 ms11.2%
render_to_stringdjango/template/loader.py:6216 ms11.2%
Template.renderdjango/template/backends/django.py:10716 ms11.2%
Template.renderdjango/template/base.py:17516 ms11.2%
instrumented_test_renderdjango/test/utils.py:11316 ms11.2%
NodeList.renderdjango/template/base.py:110816 ms11.2%
Node.render_annotateddjango/template/base.py:106916 ms11.2%
ExtendsNode.renderdjango/template/loader_tags.py:16015 ms10.4%
instrumented_test_renderdjango/test/utils.py:11315 ms10.4%
NodeList.renderdjango/template/base.py:110815 ms10.4%
Node.render_annotateddjango/template/base.py:106915 ms10.4%
BlockNode.renderdjango/template/loader_tags.py:6614 ms9.6%
NodeList.renderdjango/template/base.py:110814 ms9.6%
Node.render_annotateddjango/template/base.py:106914 ms9.6%
IncludeNode.renderdjango/template/loader_tags.py:21112 ms8.0%
Template.renderdjango/template/base.py:17712 ms8.0%
instrumented_test_renderdjango/test/utils.py:11312 ms8.0%
NodeList.renderdjango/template/base.py:110812 ms8.0%
Node.render_annotateddjango/template/base.py:106912 ms8.0%
ForNode.renderdjango/template/defaulttags.py:20211 ms7.2%
Page.__len__django/core/paginator.py:31211 ms7.2%
QuerySet.__len__django/db/models/query.py:42111 ms7.2%
QuerySet._fetch_alldjango/db/models/query.py:226211 ms7.2%
ModelIterable.__iter__django/db/models/query.py:10311 ms7.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms4.0%
CursorWrapper.executedjango/db/backends/utils.py:796 ms4.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms4.0%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms4.0%
Cursor.executepsycopg/cursor.py:1136 ms4.0%
Connection.waitpsycopg/connection.py:4956 ms4.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16125 ms3.2%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7685 ms3.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:895 ms3.2%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:785 ms3.2%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3195 ms3.2%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5794 ms2.4%
Exists.as_sqldjango/db/models/expressions.py:19064 ms2.4%
Subquery.as_sqldjango/db/models/expressions.py:18764 ms2.4%
Query.as_sqldjango/db/models/sql/query.py:13184 ms2.4%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7964 ms2.4%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5794 ms2.4%
WhereNode.as_sqldjango/db/models/sql/where.py:1514 ms2.4%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5794 ms2.4%
RelatedLookupMixin.as_sqldjango/db/models/fields/related_lookups.py:1284 ms2.4%
Exact.as_sqldjango/db/models/lookups.py:4074 ms2.4%
BuiltinLookup.as_sqldjango/db/models/lookups.py:2434 ms2.4%
BuiltinLookup.process_lhsdjango/db/models/lookups.py:2364 ms2.4%
Field.get_internal_typedjango/db/models/fields/__init__.py:10254 ms2.4%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5751 ms0.8%
ForNode.renderdjango/template/defaulttags.py:2491 ms0.8%
Node.render_annotateddjango/template/base.py:10691 ms0.8%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.8%
NodeList.renderdjango/template/base.py:11081 ms0.8%
Node.render_annotateddjango/template/base.py:10691 ms0.8%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms0.8%
Template.renderdjango/template/base.py:1771 ms0.8%
instrumented_test_renderdjango/test/utils.py:1131 ms0.8%
NodeList.renderdjango/template/base.py:11081 ms0.8%
Node.render_annotateddjango/template/base.py:10691 ms0.8%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.8%
NodeList.renderdjango/template/base.py:11081 ms0.8%
Node.render_annotateddjango/template/base.py:10691 ms0.8%
URLNode.renderdjango/template/defaulttags.py:5111 ms0.8%
reversedjango/urls/base.py:981 ms0.8%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8031 ms0.8%
search<stdlib>/re/__init__.py:1791 ms0.8%
_compile<stdlib>/re/__init__.py:3521 ms0.8%
compile<stdlib>/re/_compiler.py:7661 ms0.8%
_code<stdlib>/re/_compiler.py:5991 ms0.8%
SimpleNode.renderdjango/template/library.py:3432 ms1.6%
render_language_emojisaccounts/templatetags/account_extras.py:27 f"<img src='{static(lang.image)}' class='emojione' alt=':{lang.code}:' title=':{lang.code}:' />",2 ms1.6%
staticdjango/templatetags/static.py:1792 ms1.6%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms1.6%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms1.6%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms1.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms1.6%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6112 ms1.6%
IfNode.renderdjango/template/defaulttags.py:3331 ms0.8%
NodeList.renderdjango/template/base.py:11081 ms0.8%
Node.render_annotateddjango/template/base.py:10691 ms0.8%
VariableNode.renderdjango/template/base.py:11731 ms0.8%
render_value_in_contextdjango/template/base.py:11461 ms0.8%
template_localtimedjango/utils/timezone.py:1561 ms0.8%
LazyObject.__getattribute__django/utils/functional.py:2801 ms0.8%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2521 ms0.8%
LazyObject.__getattribute__django/utils/functional.py:-11 ms0.8%
ExtendsNode.renderdjango/template/loader_tags.py:1521 ms0.8%
NodeList.get_nodes_by_typedjango/template/base.py:11141 ms0.8%
Node.get_nodes_by_typedjango/template/base.py:10961 ms0.8%
IfNode.nodelistdjango/template/defaulttags.py:3201 ms0.8%
IfNode.__iter__django/template/defaulttags.py:3161 ms0.8%
add_accounts_to_starter_packstarter_packs/views.py:227 access_account = request.user.accountaccess.account6 ms4.0%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:2665 ms3.2%
FetchOne.fetchdjango/db/models/fetch_modes.py:175 ms3.2%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:2795 ms3.2%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:2315 ms3.2%
QuerySet.getdjango/db/models/query.py:7025 ms3.2%
QuerySet.__len__django/db/models/query.py:4215 ms3.2%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms3.2%
ModelIterable.__iter__django/db/models/query.py:1035 ms3.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms3.2%
CursorWrapper.executedjango/db/backends/utils.py:795 ms3.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms3.2%
CursorWrapper._executedjango/db/backends/utils.py:1055 ms3.2%
Cursor.executepsycopg/cursor.py:1135 ms3.2%
Connection.waitpsycopg/connection.py:4955 ms3.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2531 ms0.8%
ReverseOneToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:5371 ms0.8%
FetchOne.fetchdjango/db/models/fetch_modes.py:171 ms0.8%
ReverseOneToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:5621 ms0.8%
QuerySet.getdjango/db/models/query.py:7021 ms0.8%
QuerySet.__len__django/db/models/query.py:4211 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.8%
ModelIterable.__iter__django/db/models/query.py:1031 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
add_accounts_to_starter_packstarter_packs/views.py:2255 ms3.2%
get_editable_packstarter_packs/views.py:60 return get_object_or_404(StarterPack, slug=slug, owners=request.user, **extra)5 ms3.2%
get_object_or_404django/shortcuts.py:1005 ms3.2%
QuerySet.getdjango/db/models/query.py:7024 ms2.4%
QuerySet.__len__django/db/models/query.py:4214 ms2.4%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms2.4%
ModelIterable.__iter__django/db/models/query.py:1034 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.6%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.6%
Cursor.executepsycopg/cursor.py:1132 ms1.6%
Connection.waitpsycopg/connection.py:4952 ms1.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms0.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms0.8%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms0.8%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2651 ms0.8%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10311 ms0.8%
ForeignKey.get_coldjango/db/models/fields/related.py:13401 ms0.8%
QuerySet.getdjango/db/models/query.py:6921 ms0.8%
QuerySet.filterdjango/db/models/query.py:16761 ms0.8%
QuerySet._filter_or_excludedjango/db/models/query.py:16941 ms0.8%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17041 ms0.8%
Query.add_qdjango/db/models/sql/query.py:16811 ms0.8%
Query._add_qdjango/db/models/sql/query.py:17131 ms0.8%
Query.build_filterdjango/db/models/sql/query.py:15661 ms0.8%
Query.check_filterabledjango/db/models/sql/query.py:14111 ms0.8%
add_accounts_to_starter_packstarter_packs/views.py:258 if Instance.objects.filter(instance=instance_name, deleted_at__isnull=False).exists():4 ms2.4%
QuerySet.existsdjango/db/models/query.py:14584 ms2.4%
Query.has_resultsdjango/db/models/sql/query.py:6874 ms2.4%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15934 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:794 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms2.4%
Cursor.executepsycopg/cursor.py:1134 ms2.4%
Connection.waitpsycopg/connection.py:4954 ms2.4%
add_accounts_to_starter_packstarter_packs/views.py:309 ).count(),2 ms1.6%
QuerySet.countdjango/db/models/query.py:6772 ms1.6%
Query.get_countdjango/db/models/sql/query.py:6572 ms1.6%
Query.get_aggregationdjango/db/models/sql/query.py:4721 ms0.8%
Count.resolve_expressiondjango/db/models/aggregates.py:3121 ms0.8%
Aggregate.resolve_expressiondjango/db/models/aggregates.py:1251 ms0.8%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:3011 ms0.8%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:2971 ms0.8%
BaseExpression.copydjango/db/models/expressions.py:4441 ms0.8%
copy<stdlib>/copy.py:1001 ms0.8%
_reconstruct<stdlib>/copy.py:2631 ms0.8%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
add_accounts_to_starter_packstarter_packs/views.py:294 page_obj = paginator.get_page(page_number)1 ms0.8%
Paginator.get_pagedjango/core/paginator.py:1611 ms0.8%
Paginator.validate_numberdjango/core/paginator.py:1531 ms0.8%
cached_property.__get__django/utils/functional.py:471 ms0.8%
Paginator.num_pagesdjango/core/paginator.py:1881 ms0.8%
cached_property.__get__django/utils/functional.py:471 ms0.8%
Paginator.countdjango/core/paginator.py:1821 ms0.8%
QuerySet.countdjango/db/models/query.py:6771 ms0.8%
Query.get_countdjango/db/models/sql/query.py:6571 ms0.8%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3795 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms2.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms2.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms2.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms2.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms2.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms2.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:564 ms2.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3804 ms2.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms1.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms1.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms1.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1831 ms0.8%
BaseHandler.resolve_requestdjango/core/handlers/base.py:3151 ms0.8%
URLResolver.resolvedjango/urls/resolvers.py:6781 ms0.8%
URLPattern.resolvedjango/urls/resolvers.py:4721 ms0.8%
BaseHandler._get_responsedjango/core/handlers/base.py:1991 ms0.8%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:591 ms0.8%
login_required.<locals>.<lambda>django/contrib/auth/decorators.py:821 ms0.8%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms0.8%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms0.8%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:391 ms0.8%
get_userdjango/contrib/auth/middleware.py:191 ms0.8%
get_userdjango/contrib/auth/__init__.py:2871 ms0.8%
_get_user_session_keydjango/contrib/auth/__init__.py:1111 ms0.8%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:551 ms0.8%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2541 ms0.8%
SessionStore.loaddjango/contrib/sessions/backends/db.py:551 ms0.8%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:341 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet.getdjango/db/models/query.py:7021 ms0.8%
QuerySet.__len__django/db/models/query.py:4211 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.8%
ModelIterable.__iter__django/db/models/query.py:1031 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
LocaleMiddleware.process_requestdjango/middleware/locale.py:251 ms0.8%
ClientHandler.__call__django/test/client.py:17334 ms23.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6333 ms22.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms20.1%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms20.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms7.2%
scantreewhitenoise/base.py:2719 ms6.4%
scantreewhitenoise/base.py:2719 ms6.4%
scantreewhitenoise/base.py:2735 ms3.2%
<GC>~1 ms0.8%
scantreewhitenoise/base.py:2694 ms2.4%
scantreewhitenoise/base.py:2711 ms0.8%
scantreewhitenoise/base.py:2711 ms0.8%
scantreewhitenoise/base.py:2711 ms0.8%
scantreewhitenoise/base.py:2731 ms0.8%
scantreewhitenoise/base.py:2731 ms0.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms1.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms1.6%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms1.6%
StaticFile.__init__whitenoise/responders.py:732 ms1.6%
StaticFile.get_headerswhitenoise/responders.py:1711 ms0.8%
StaticFile.get_headerswhitenoise/responders.py:1761 ms0.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1114 ms2.4%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms1.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms1.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms1.6%
WhiteNoise.get_static_filewhitenoise/base.py:2171 ms0.8%
StaticFile.__init__whitenoise/responders.py:731 ms0.8%
StaticFile.get_headerswhitenoise/responders.py:1781 ms0.8%
parsedate<stdlib>/email/_parseaddr.py:1851 ms0.8%
WhiteNoise.add_fileswhitenoise/base.py:981 ms0.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:971 ms0.8%
convert_exception_to_responsedjango/core/handlers/exception.py:381 ms0.8%
iscoroutinefunction<stdlib>/inspect.py:3361 ms0.8%
_has_code_flag<stdlib>/inspect.py:2991 ms0.8%
ClientHandler.__call__django/test/client.py:1761 ms0.8%
Signal.senddjango/dispatch/dispatcher.py:2491 ms0.8%
reset_queriesdjango/db/__init__.py:481 ms0.8%
BaseConnectionHandler.alldjango/utils/connection.py:801 ms0.8%
RequestFactory.genericdjango/test/client.py:6651 ms0.8%
urlencodedjango/utils/http.py:831 ms0.8%
urlencode<stdlib>/urllib/parse.py:11821 ms0.8%
quote_plus<stdlib>/urllib/parse.py:10831 ms0.8%
quote<stdlib>/urllib/parse.py:10721 ms0.8%
quote_from_bytes<stdlib>/urllib/parse.py:11151 ms0.8%
_Quoter.__missing__<stdlib>/urllib/parse.py:10161 ms0.8%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:298 self.client.force_login(self.user)18 ms12.0%
ClientMixin.force_logindjango/test/client.py:85818 ms12.0%
ClientMixin._logindjango/test/client.py:8899 ms6.4%
logindjango/contrib/auth/__init__.py:1898 ms5.6%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4406 ms4.0%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1756 ms4.0%
Model.deletedjango/db/models/base.py:13315 ms3.2%
Collector.deletedjango/db/models/deletion.py:4835 ms3.2%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:435 ms3.2%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:255 ms3.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms3.2%
CursorWrapper.executedjango/db/backends/utils.py:795 ms3.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms3.2%
CursorWrapper._executedjango/db/backends/utils.py:1055 ms3.2%
Cursor.executepsycopg/cursor.py:1135 ms3.2%
Connection.waitpsycopg/connection.py:4955 ms3.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms3.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms3.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms3.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet.getdjango/db/models/query.py:7021 ms0.8%
QuerySet.__len__django/db/models/query.py:4211 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.8%
ModelIterable.__iter__django/db/models/query.py:1031 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4372 ms1.6%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms0.8%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2001 ms0.8%
get_random_stringdjango/utils/crypto.py:781 ms0.8%
get_random_string.<locals>.<genexpr>django/utils/crypto.py:781 ms0.8%
Random.choice<stdlib>/random.py:3541 ms0.8%
Random._randbelow_with_getrandbits<stdlib>/random.py:2491 ms0.8%
SystemRandom.getrandbits<stdlib>/random.py:9151 ms0.8%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms0.8%
SessionStore.savedjango/contrib/sessions/backends/db.py:1261 ms0.8%
Atomic.__enter__django/db/transaction.py:2231 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.8%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms0.8%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
logindjango/contrib/auth/__init__.py:1771 ms0.8%
SessionBase.__contains__django/contrib/sessions/backends/base.py:521 ms0.8%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2541 ms0.8%
SessionStore.loaddjango/contrib/sessions/backends/db.py:551 ms0.8%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:341 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet.getdjango/db/models/query.py:7021 ms0.8%
ClientMixin._logindjango/test/client.py:8846 ms4.0%
ClientMixin.sessiondjango/test/client.py:8156 ms4.0%
SessionStore.savedjango/contrib/sessions/backends/db.py:1216 ms4.0%
SessionStore.createdjango/contrib/sessions/backends/db.py:705 ms3.2%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2015 ms3.2%
SessionStore.existsdjango/contrib/sessions/backends/db.py:635 ms3.2%
QuerySet.existsdjango/db/models/query.py:14585 ms3.2%
Query.has_resultsdjango/db/models/sql/query.py:6875 ms3.2%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15935 ms3.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms3.2%
CursorWrapper.executedjango/db/backends/utils.py:795 ms3.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms3.2%
CursorWrapper._executedjango/db/backends/utils.py:1055 ms3.2%
Cursor.executepsycopg/cursor.py:1135 ms3.2%
Connection.waitpsycopg/connection.py:4955 ms3.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2051 ms0.8%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms0.8%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms0.8%
PostgresClientQuery.dumppsycopg/_queries.py:2991 ms0.8%
PostgresClientQuery.dump.<locals>.<genexpr>psycopg/_queries.py:3001 ms0.8%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms0.8%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms0.8%
Model.savedjango/db/models/base.py:9041 ms0.8%
Model.save_basedjango/db/models/base.py:9961 ms0.8%
Model._save_tabledjango/db/models/base.py:11991 ms0.8%
Model._do_insertdjango/db/models/base.py:12511 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
QuerySet._insertdjango/db/models/query.py:21411 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
ClientMixin._logindjango/test/client.py:8912 ms1.6%
SessionStore.savedjango/contrib/sessions/backends/db.py:1262 ms1.6%
Atomic.__exit__django/db/transaction.py:2372 ms1.6%
get_connectiondjango/db/transaction.py:282 ms1.6%
BaseConnectionHandler.__getitem__django/utils/connection.py:582 ms1.6%
Local.__getattr__asgiref/local.py:1572 ms1.6%
Local._lock_storageasgiref/local.py:1272 ms1.6%
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_accountstarter_packs/tests.py:293 baker.make(5 ms3.2%
makemodel_bakery/baker.py:1755 ms3.2%
Baker.makemodel_bakery/baker.py:4545 ms3.2%
Baker._makemodel_bakery/baker.py:5422 ms1.6%
Baker.instancemodel_bakery/baker.py:6592 ms1.6%
Model.savedjango/db/models/base.py:9042 ms1.6%
Model.save_basedjango/db/models/base.py:9962 ms1.6%
Model._save_tabledjango/db/models/base.py:11992 ms1.6%
Model._do_insertdjango/db/models/base.py:12512 ms1.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.6%
QuerySet._insertdjango/db/models/query.py:21412 ms1.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.6%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.6%
Cursor.executepsycopg/cursor.py:1132 ms1.6%
Connection.waitpsycopg/connection.py:4952 ms1.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.6%
Baker._makemodel_bakery/baker.py:5292 ms1.6%
Baker.generate_valuemodel_bakery/baker.py:10192 ms1.6%
gen_relatedmodel_bakery/random_gen.py:4542 ms1.6%
makemodel_bakery/baker.py:1752 ms1.6%
Baker.makemodel_bakery/baker.py:4542 ms1.6%
Baker._makemodel_bakery/baker.py:5422 ms1.6%
Baker.instancemodel_bakery/baker.py:6592 ms1.6%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:622 ms1.6%
Model.savedjango/db/models/base.py:9042 ms1.6%
Model.save_basedjango/db/models/base.py:9962 ms1.6%
Model._save_tabledjango/db/models/base.py:11992 ms1.6%
Model._do_insertdjango/db/models/base.py:12512 ms1.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.6%
QuerySet._insertdjango/db/models/query.py:21412 ms1.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19341 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.8%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3201 ms0.8%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2981 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.8%
DatabaseWrapper.create_cursordjango/db/backends/postgresql/base.py:4421 ms0.8%
Connection.cursorpsycopg/connection.py:2441 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()5 ms3.2%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms1.6%
TestCase._should_check_constraintsdjango/test/testcases.py:15062 ms1.6%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5042 ms1.6%
Cursor.executepsycopg/cursor.py:1132 ms1.6%
Connection.waitpsycopg/connection.py:4952 ms1.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.6%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms1.6%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.6%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.6%
Cursor.executepsycopg/cursor.py:1132 ms1.6%
Connection.waitpsycopg/connection.py:4952 ms1.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.6%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms0.8%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms0.8%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms0.8%
Atomic.__enter__django/db/transaction.py:2231 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.8%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms0.8%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
Estimated from 126 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:299
response = self.client.get(
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account
· Mocking
|
41 ms |
|
starter_packs/tests.py:298
self.client.force_login(self.user)
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account
· Database
|
18 ms |
|
fedidevs/db/postgresql/base.py:39
return super().get_new_connection(conn_params)
DatabaseWrapper.get_new_connection
· Database
|
14 ms |
|
starter_packs/views.py:296
return render(
add_accounts_to_starter_pack
· Database
|
14 ms |
|
starter_packs/tests.py:277
baker.make("mastodon_auth.AccountAccess", user=cls.user)
TestAddAccountsSearch.setUpTestData
· Database
|
12 ms |
|
starter_packs/views.py:227
access_account = request.user.accountaccess.account
add_accounts_to_starter_pack
· Database
|
6 ms |
|
starter_packs/tests.py:276
cls.user = baker.make("auth.User")
TestAddAccountsSearch.setUpTestData
· Database
|
6 ms |
|
starter_packs/tests.py:293
baker.make(
TestAddAccountsSearch.test_username_search_shows_checked_for_existing_account
· Database
|
5 ms |
|
starter_packs/views.py:60
return get_object_or_404(StarterPack, slug=slug, owners=request.user, **extra)
get_editable_pack
· Database
|
5 ms |
|
starter_packs/views.py:258
if Instance.objects.filter(instance=instance_name, deleted_at__isnull=False).exists():
add_accounts_to_starter_pack
· Database
|
4 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestAddAccountsSearch class | 39 ms |
| _django_setup_unittest class | 0.40 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 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
40 queries · 46 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:299
|
97 ms |
|
setup setUpClass
django/test/testcases.py:1426
|
39 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
5 ms |
| setup pytest internals | 2 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 | 146 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 200 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 192 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 105 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 253 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 174 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 193 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 176 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 188 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 160 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 162 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 267 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 344 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 120 ms | Run |