Tests / starter_packs/tests.py
TestShareStarterPack::test_order_by_htmx_swaps_account_list
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
148 ms
median 131 ms
max 270 ms
max 270 ms
Phases
Setup 2 ms
Call 146 ms
Teardown 0.55 ms
Categories
Database 57 ms
Test code 0.56 ms
App code 0.07 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 90 ms
19 database queries per run
Needs 345 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
call64 ms98.5%
TestShareStarterPack.test_order_by_htmx_swaps_account_liststarter_packs/tests.py:805 response = self.client.get(55 ms84.7%
Client.getdjango/test/client.py:113355 ms84.7%
RequestFactory.getdjango/test/client.py:47555 ms84.7%
RequestFactory.genericdjango/test/client.py:67155 ms84.7%
Client.requestdjango/test/client.py:109155 ms84.7%
ClientHandler.__call__django/test/client.py:17339 ms61.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6339 ms61.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10438 ms59.1%
WhiteNoise.add_fileswhitenoise/base.py:10838 ms59.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms7.9%
scantreewhitenoise/base.py:2715 ms7.9%
scantreewhitenoise/base.py:2714 ms5.9%
scantreewhitenoise/base.py:2711 ms2.0%
scantreewhitenoise/base.py:2711 ms2.0%
scantreewhitenoise/base.py:2691 ms2.0%
scantreewhitenoise/base.py:2691 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1204 ms5.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1314 ms5.9%
WhiteNoise.get_static_filewhitenoise/base.py:2173 ms3.9%
StaticFile.__init__whitenoise/responders.py:731 ms2.0%
StaticFile.get_headerswhitenoise/responders.py:1761 ms2.0%
WhiteNoise.get_static_filewhitenoise/base.py:2121 ms2.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1111 ms2.0%
WhiteNoise.add_fileswhitenoise/base.py:991 ms2.0%
ClientHandler.__call__django/test/client.py:18615 ms23.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14215 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12315 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14515 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms23.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms23.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38013 ms19.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5613 ms19.7%
BaseHandler._get_responsedjango/core/handlers/base.py:19913 ms19.7%
share_starter_packstarter_packs/views.py:862 return render(5 ms7.9%
renderdjango/shortcuts.py:274 ms5.9%
render_to_stringdjango/template/loader.py:624 ms5.9%
Template.renderdjango/template/backends/django.py:1074 ms5.9%
Template.renderdjango/template/base.py:1754 ms5.9%
instrumented_test_renderdjango/test/utils.py:1134 ms5.9%
NodeList.renderdjango/template/base.py:11084 ms5.9%
Node.render_annotateddjango/template/base.py:10694 ms5.9%
ForNode.renderdjango/template/defaulttags.py:2493 ms3.9%
Node.render_annotateddjango/template/base.py:10693 ms3.9%
IncludeNode.renderdjango/template/loader_tags.py:2001 ms2.0%
Engine.select_templatedjango/template/engine.py:2281 ms2.0%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms2.0%
Template.renderdjango/template/base.py:1771 ms2.0%
instrumented_test_renderdjango/test/utils.py:1131 ms2.0%
NodeList.renderdjango/template/base.py:11081 ms2.0%
Node.render_annotateddjango/template/base.py:10691 ms2.0%
IfNode.renderdjango/template/defaulttags.py:3261 ms2.0%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms2.0%
<lambda>django/template/smartif.py:1061 ms2.0%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms2.0%
FilterExpression.resolvedjango/template/base.py:8061 ms2.0%
Variable.resolvedjango/template/base.py:9451 ms2.0%
Variable._resolve_lookupdjango/template/base.py:10431 ms2.0%
ForNode.renderdjango/template/defaulttags.py:2021 ms2.0%
Page.__len__django/core/paginator.py:3121 ms2.0%
QuerySet.__len__django/db/models/query.py:4211 ms2.0%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms2.0%
ModelIterable.__iter__django/db/models/query.py:1031 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
renderdjango/shortcuts.py:281 ms2.0%
HttpResponse.__init__django/http/response.py:3891 ms2.0%
HttpResponse.contentdjango/http/response.py:4211 ms2.0%
share_starter_packstarter_packs/views.py:856 page_obj = paginator.get_page(page_number)3 ms3.9%
Paginator.get_pagedjango/core/paginator.py:1613 ms3.9%
Paginator.validate_numberdjango/core/paginator.py:1533 ms3.9%
cached_property.__get__django/utils/functional.py:473 ms3.9%
Paginator.num_pagesdjango/core/paginator.py:1883 ms3.9%
cached_property.__get__django/utils/functional.py:473 ms3.9%
Paginator.countdjango/core/paginator.py:1823 ms3.9%
QuerySet.countdjango/db/models/query.py:6773 ms3.9%
Query.get_countdjango/db/models/sql/query.py:6573 ms3.9%
Query.get_aggregationdjango/db/models/sql/query.py:6393 ms3.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms2.0%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7931 ms2.0%
SQLCompiler.get_from_clausedjango/db/models/sql/compiler.py:11601 ms2.0%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms2.0%
Join.as_sqldjango/db/models/sql/datastructures.py:881 ms2.0%
DatabaseOperations.prepare_join_on_clausedjango/db/backends/postgresql/operations.py:4021 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
share_starter_packstarter_packs/views.py:8603 ms3.9%
pack_header_avatarsstarter_packs/views.py:82 .values_list(1 ms2.0%
QuerySet.values_listdjango/db/models/query.py:15921 ms2.0%
QuerySet._valuesdjango/db/models/query.py:15311 ms2.0%
Query.set_valuesdjango/db/models/sql/query.py:26601 ms2.0%
pack_header_avatarsstarter_packs/views.py:89 for pack_id, avatar, handle, name in rows:1 ms2.0%
QuerySet.__iter__django/db/models/query.py:4391 ms2.0%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms2.0%
ValuesListIterable.__iter__django/db/models/query.py:2631 ms2.0%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15741 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
share_starter_packstarter_packs/views.py:858 owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))1 ms2.0%
QuerySet.__iter__django/db/models/query.py:4391 ms2.0%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms2.0%
ModelIterable.__iter__django/db/models/query.py:1031 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
share_starter_packstarter_packs/views.py:886 .count(),1 ms2.0%
QuerySet.countdjango/db/models/query.py:6771 ms2.0%
Query.get_countdjango/db/models/sql/query.py:6571 ms2.0%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3793 ms3.9%
LocaleMiddleware.process_requestdjango/middleware/locale.py:283 ms3.9%
get_language_from_pathdjango/utils/translation/__init__.py:2523 ms3.9%
get_language_from_pathdjango/utils/translation/trans_real.py:5593 ms3.9%
get_supported_language_variantdjango/utils/translation/trans_real.py:5421 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
BaseHandler._get_responsedjango/core/handlers/base.py:1991 ms2.0%
share_starter_packstarter_packs/views.py:729 starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)1 ms2.0%
get_object_or_404django/shortcuts.py:1001 ms2.0%
QuerySet.getdjango/db/models/query.py:7021 ms2.0%
QuerySet.__len__django/db/models/query.py:4211 ms2.0%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms2.0%
ModelIterable.__iter__django/db/models/query.py:1031 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
TestShareStarterPack.test_order_by_htmx_swaps_account_liststarter_packs/tests.py:8048 ms11.8%
TestShareStarterPack._set_up_orderable_accountsstarter_packs/tests.py:767 StarterPackAccount.objects.filter(pk=spa.pk).update(created_at=now - datetime.timedelta(hours=i))3 ms3.9%
QuerySet.updatedjango/db/models/query.py:14213 ms3.9%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21213 ms3.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms3.9%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.9%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms3.9%
Cursor.executepsycopg/cursor.py:1133 ms3.9%
Connection.waitpsycopg/connection.py:4953 ms3.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms3.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms3.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms3.9%
TestShareStarterPack._set_up_orderable_accountsstarter_packs/tests.py:758 accounts = list(Account.objects.filter(starterpackaccount__starter_pack=self.starter_pack).order_by("id"))3 ms3.9%
TestData.__get__django/test/testcases.py:13701 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
_reconstruct<stdlib>/copy.py:2541 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1301 ms2.0%
_deepcopy_dict<stdlib>/copy.py:2011 ms2.0%
deepcopy<stdlib>/copy.py:1561 ms2.0%
QuerySet.__iter__django/db/models/query.py:4391 ms2.0%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms2.0%
ModelIterable.__iter__django/db/models/query.py:1031 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
TestShareStarterPack._set_up_orderable_accountsstarter_packs/tests.py:764 Account.objects.bulk_update(accounts, ["followers_count", "display_name", "created_at", "last_status_at"])3 ms3.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms3.9%
QuerySet.bulk_updatedjango/db/models/query.py:10303 ms3.9%
QuerySet.updatedjango/db/models/query.py:13951 ms2.0%
UpdateQuery.add_update_valuesdjango/db/models/sql/subqueries.py:1041 ms2.0%
UpdateQuery.add_update_fieldsdjango/db/models/sql/subqueries.py:1191 ms2.0%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:3011 ms2.0%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:3011 ms2.0%
When.resolve_expressiondjango/db/models/expressions.py:16801 ms2.0%
Q.resolve_expressiondjango/db/models/query_utils.py:1061 ms2.0%
Query._add_qdjango/db/models/sql/query.py:17131 ms2.0%
Query.build_filterdjango/db/models/sql/query.py:15591 ms2.0%
QuerySet.updatedjango/db/models/query.py:14211 ms2.0%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21211 ms2.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4951 ms2.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms2.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms2.0%
TestShareStarterPack.test_order_by_htmx_swaps_account_liststarter_packs/tests.py:806 reverse("share_starter_pack", args=[self.starter_pack.slug]),1 ms2.0%
reversedjango/urls/base.py:391 ms2.0%
get_urlconfdjango/urls/base.py:1661 ms2.0%
Estimated from 50 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:805
response = self.client.get(
TestShareStarterPack.test_order_by_htmx_swaps_account_list
· Libraries
|
41 ms |
|
starter_packs/views.py:862
return render(
share_starter_pack
· Templates
|
5 ms |
|
starter_packs/tests.py:767
StarterPackAccount.objects.filter(pk=spa.pk).update(created_at=now - datetime.timedelta(hours=i))
TestShareStarterPack._set_up_orderable_accounts
· Database
|
3 ms |
|
starter_packs/tests.py:758
accounts = list(Account.objects.filter(starterpackaccount__starter_pack=self.starter_pack).order_by("id"))
TestShareStarterPack._set_up_orderable_accounts
· Deep copies
|
3 ms |
|
starter_packs/tests.py:764
Account.objects.bulk_update(accounts, ["followers_count", "display_name", "created_at", "last_status_at"])
TestShareStarterPack._set_up_orderable_accounts
· Database
|
3 ms |
|
starter_packs/views.py:856
page_obj = paginator.get_page(page_number)
share_starter_pack
· Database
|
3 ms |
|
starter_packs/tests.py:806
reverse("share_starter_pack", args=[self.starter_pack.slug]),
TestShareStarterPack.test_order_by_htmx_swaps_account_list
· Libraries
|
1 ms |
|
starter_packs/views.py:729
starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)
share_starter_pack
· Database
|
1 ms |
|
starter_packs/views.py:858
owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))
share_starter_pack
· Database
|
1 ms |
|
starter_packs/views.py:82
.values_list(
pack_header_avatars
· Database
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
19 queries · 11 ms
Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).
5×
UPDATE "starter_packs_starterpackaccount" SET "created_at" = %s WHERE "starter_packs_starterpackaccount"."id" = %s
Biggest pieces of work
|
call test body
starter_packs/tests.py:805
|
64 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 | 64 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 136 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 123 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 85 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 135 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 102 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 104 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 131 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 184 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 94 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 241 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 270 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 258 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 116 ms | Run |