Tests / starter_packs/tests.py
TestShareStarterPack::test_share_starter_pack
First seen 1 year, 10 months ago in 1b5db0c
CI
github-actions:test
4 runs
Average
214 ms
median 226 ms
max 332 ms
max 332 ms
Phases
Setup 3 ms
Call 211 ms
Teardown 0.32 ms
Categories
Database 50 ms
Test code 0.85 ms
Other (Libraries, Templates, pytest, Logging, ...) 163 ms
18 database queries per run
Needs 272 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
call71 ms98.6%
TestShareStarterPack.test_share_starter_packstarter_packs/tests.py:680 response = self.client.get(reverse("share_starter_pack", args=[self.starter_pack.slug]))51 ms70.9%
Client.getdjango/test/client.py:113351 ms70.9%
RequestFactory.getdjango/test/client.py:47551 ms70.9%
RequestFactory.genericdjango/test/client.py:67151 ms70.9%
Client.requestdjango/test/client.py:109151 ms70.9%
ClientHandler.__call__django/test/client.py:17326 ms37.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6326 ms37.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms33.9%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms33.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12015 ms21.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13115 ms21.6%
WhiteNoise.get_static_filewhitenoise/base.py:21711 ms15.4%
StaticFile.__init__whitenoise/responders.py:734 ms6.2%
StaticFile.get_headerswhitenoise/responders.py:1762 ms3.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:642 ms3.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:462 ms3.1%
StaticFile.get_headerswhitenoise/responders.py:1712 ms3.1%
StaticFile.__init__whitenoise/responders.py:752 ms3.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.1%
StaticFile.__init__whitenoise/responders.py:772 ms3.1%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms3.1%
__init____init__:-12 ms3.1%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms3.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms3.1%
StaticFile.__init__whitenoise/responders.py:742 ms3.1%
parsedate<stdlib>/email/_parseaddr.py:1852 ms3.1%
WhiteNoise.get_static_filewhitenoise/base.py:2124 ms6.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2334 ms6.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms6.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms3.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms3.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms12.3%
scantreewhitenoise/base.py:2719 ms12.3%
scantreewhitenoise/base.py:2719 ms12.3%
scantreewhitenoise/base.py:2714 ms6.2%
scantreewhitenoise/base.py:2714 ms6.2%
scantreewhitenoise/base.py:2712 ms3.1%
scantreewhitenoise/base.py:2732 ms3.1%
scantreewhitenoise/base.py:2692 ms3.1%
scantreewhitenoise/base.py:2692 ms3.1%
scantreewhitenoise/base.py:2732 ms3.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1112 ms3.1%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms3.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms3.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms3.1%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms3.1%
ClientHandler.__call__django/test/client.py:18624 ms33.9%
BaseHandler.get_responsedjango/core/handlers/base.py:14224 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12324 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14524 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms33.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms33.9%
BaseHandler._get_responsedjango/core/handlers/base.py:19924 ms33.9%
share_starter_packstarter_packs/views.py:862 return render(11 ms15.4%
renderdjango/shortcuts.py:2711 ms15.4%
render_to_stringdjango/template/loader.py:6211 ms15.4%
Template.renderdjango/template/backends/django.py:10711 ms15.4%
Template.renderdjango/template/base.py:17511 ms15.4%
instrumented_test_renderdjango/test/utils.py:11311 ms15.4%
NodeList.renderdjango/template/base.py:110811 ms15.4%
Node.render_annotateddjango/template/base.py:106911 ms15.4%
ExtendsNode.renderdjango/template/loader_tags.py:16011 ms15.4%
instrumented_test_renderdjango/test/utils.py:11311 ms15.4%
NodeList.renderdjango/template/base.py:110811 ms15.4%
Node.render_annotateddjango/template/base.py:106911 ms15.4%
BlockNode.renderdjango/template/loader_tags.py:669 ms12.3%
NodeList.renderdjango/template/base.py:11089 ms12.3%
Node.render_annotateddjango/template/base.py:10699 ms12.3%
IfNode.renderdjango/template/defaulttags.py:3329 ms12.3%
Page.__len__django/core/paginator.py:3129 ms12.3%
QuerySet.__len__django/db/models/query.py:4219 ms12.3%
QuerySet._fetch_alldjango/db/models/query.py:22629 ms12.3%
ModelIterable.__iter__django/db/models/query.py:1037 ms9.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms6.2%
CursorWrapper.executedjango/db/backends/utils.py:794 ms6.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms6.2%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms6.2%
Cursor.executepsycopg/cursor.py:1134 ms6.2%
Connection.waitpsycopg/connection.py:4954 ms6.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms6.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms6.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms6.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms3.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms3.1%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms3.1%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms3.1%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3192 ms3.1%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms3.1%
ModelIterable.__iter__django/db/models/query.py:1362 ms3.1%
IfNode.renderdjango/template/defaulttags.py:3332 ms3.1%
NodeList.renderdjango/template/base.py:11082 ms3.1%
Node.render_annotateddjango/template/base.py:10692 ms3.1%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms3.1%
Template.renderdjango/template/base.py:1772 ms3.1%
instrumented_test_renderdjango/test/utils.py:1132 ms3.1%
NodeList.renderdjango/template/base.py:11082 ms3.1%
Node.render_annotateddjango/template/base.py:10692 ms3.1%
SimpleNode.renderdjango/template/library.py:3432 ms3.1%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms3.1%
QuerySet.__iter__django/db/models/query.py:4392 ms3.1%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.1%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms3.1%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
share_starter_packstarter_packs/views.py:729 starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)4 ms6.2%
get_object_or_404django/shortcuts.py:1004 ms6.2%
QuerySet.getdjango/db/models/query.py:7024 ms6.2%
QuerySet.__len__django/db/models/query.py:4214 ms6.2%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms6.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
ModelIterable.__iter__django/db/models/query.py:1152 ms3.1%
share_starter_packstarter_packs/views.py:856 page_obj = paginator.get_page(page_number)2 ms3.1%
Paginator.get_pagedjango/core/paginator.py:1612 ms3.1%
Paginator.validate_numberdjango/core/paginator.py:1532 ms3.1%
cached_property.__get__django/utils/functional.py:472 ms3.1%
Paginator.num_pagesdjango/core/paginator.py:1882 ms3.1%
cached_property.__get__django/utils/functional.py:472 ms3.1%
Paginator.countdjango/core/paginator.py:1822 ms3.1%
QuerySet.countdjango/db/models/query.py:6772 ms3.1%
Query.get_countdjango/db/models/sql/query.py:6572 ms3.1%
Query.get_aggregationdjango/db/models/sql/query.py:6392 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
share_starter_packstarter_packs/views.py:858 owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))2 ms3.1%
QuerySet.__iter__django/db/models/query.py:4392 ms3.1%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.1%
ModelIterable.__iter__django/db/models/query.py:1032 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
share_starter_packstarter_packs/views.py:860 header_avatars = pack_header_avatars([starter_pack.id], limit=18).get(starter_pack.id, [])2 ms3.1%
pack_header_avatarsstarter_packs/views.py:75 StarterPackAccount.objects.filter(2 ms3.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.1%
QuerySet.filterdjango/db/models/query.py:16762 ms3.1%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms3.1%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms3.1%
share_starter_packstarter_packs/views.py:886 .count(),2 ms3.1%
QuerySet.countdjango/db/models/query.py:6772 ms3.1%
Query.get_countdjango/db/models/sql/query.py:6572 ms3.1%
Query.get_aggregationdjango/db/models/sql/query.py:6392 ms3.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
TestShareStarterPack.test_share_starter_packstarter_packs/tests.py:687 self.assertContains(response, account.account.username)11 ms15.4%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:2667 ms9.2%
FetchOne.fetchdjango/db/models/fetch_modes.py:177 ms9.2%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:2797 ms9.2%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:2317 ms9.2%
QuerySet.getdjango/db/models/query.py:7024 ms6.2%
QuerySet.__len__django/db/models/query.py:4214 ms6.2%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms6.2%
ModelIterable.__iter__django/db/models/query.py:1034 ms6.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms6.2%
CursorWrapper.executedjango/db/backends/utils.py:794 ms6.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms6.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
QuerySet.getdjango/db/models/query.py:6922 ms3.1%
QuerySet.filterdjango/db/models/query.py:16762 ms3.1%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms3.1%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms3.1%
Query.add_qdjango/db/models/sql/query.py:16812 ms3.1%
Query._add_qdjango/db/models/sql/query.py:17132 ms3.1%
Query.build_filterdjango/db/models/sql/query.py:15282 ms3.1%
Query._add_qdjango/db/models/sql/query.py:17132 ms3.1%
Query.build_filterdjango/db/models/sql/query.py:15772 ms3.1%
Query.setup_joinsdjango/db/models/sql/query.py:19422 ms3.1%
SimpleTestCase.assertContainsdjango/test/testcases.py:6064 ms6.2%
SimpleTestCase._assert_containsdjango/test/testcases.py:5852 ms3.1%
SimpleTestCase._assert_containsdjango/test/testcases.py:5932 ms3.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms6.2%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms3.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms3.1%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms3.1%
Atomic.__exit__django/db/transaction.py:2952 ms3.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.1%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4132 ms3.1%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3712 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms3.1%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms3.1%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms3.1%
Atomic.__enter__django/db/transaction.py:2232 ms3.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.1%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms3.1%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms3.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.1%
Cursor.executepsycopg/cursor.py:1132 ms3.1%
Connection.waitpsycopg/connection.py:4952 ms3.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.1%
TestShareStarterPack.test_share_starter_packstarter_packs/tests.py:683 self.assertContains(response, self.starter_pack.description)2 ms3.1%
SimpleTestCase.assertContainsdjango/test/testcases.py:6062 ms3.1%
Estimated from 32 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:680
response = self.client.get(reverse("share_starter_pack", args=[self.starter_pack.slug]))
TestShareStarterPack.test_share_starter_pack
· Libraries
|
26 ms |
|
starter_packs/tests.py:687
self.assertContains(response, account.account.username)
TestShareStarterPack.test_share_starter_pack
· Database
|
11 ms |
|
starter_packs/views.py:862
return render(
share_starter_pack
· Database
|
9 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
|
4 ms |
|
starter_packs/views.py:856
page_obj = paginator.get_page(page_number)
share_starter_pack
· Database
|
2 ms |
|
starter_packs/views.py:858
owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))
share_starter_pack
· Database
|
2 ms |
|
starter_packs/views.py:75
StarterPackAccount.objects.filter(
pack_header_avatars
· Database
|
2 ms |
|
starter_packs/views.py:886
.count(),
share_starter_pack
· Database
|
2 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
2 ms |
|
starter_packs/tests.py:683
self.assertContains(response, self.starter_pack.description)
TestShareStarterPack.test_share_starter_pack
· Libraries
|
2 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.07 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
18 queries · 10 ms
Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).
6×
SELECT "accounts_account"."id", "accounts_account"."account_id", "accounts_account"."instance", "accounts_account"."instance_model_id", "accounts_account"."username_at_instance", "accounts_account"."search", "accounts_account"."username", "accounts_account"."acct", "accounts_account"."display_name"…
Biggest pieces of work
|
call test body
starter_packs/tests.py:680
|
64 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
4 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
2 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 50 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 72 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 237 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 214 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 332 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 104 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 90 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 133 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 124 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 137 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 123 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 138 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 122 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 131 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 142 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 142 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 135 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 139 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 134 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 146 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 140 ms | Run |