Tests / starter_packs/tests.py
TestOwnerManagement::test_owner_handles_shown_on_list_card
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
151 ms
median 159 ms
max 215 ms
max 215 ms
Phases
Setup 2 ms
Call 148 ms
Teardown 0.81 ms
Categories
Database 40 ms
App code 1 ms
Test code 0.44 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 109 ms
17 database queries per run
Needs 264 KB of memory (max 976 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call206 ms98.9%
TestOwnerManagement.test_owner_handles_shown_on_list_cardstarter_packs/tests.py:635 response = self.client.get(reverse("starter_packs"))198 ms95.2%
Client.getdjango/test/client.py:1133197 ms94.4%
RequestFactory.getdjango/test/client.py:475197 ms94.4%
RequestFactory.genericdjango/test/client.py:671197 ms94.4%
Client.requestdjango/test/client.py:1091197 ms94.4%
ClientHandler.__call__django/test/client.py:186170 ms81.6%
BaseHandler.get_responsedjango/core/handlers/base.py:142170 ms81.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56170 ms81.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380170 ms81.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56170 ms81.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380170 ms81.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56170 ms81.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380170 ms81.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56168 ms80.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123168 ms80.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56168 ms80.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145168 ms80.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56168 ms80.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380168 ms80.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56168 ms80.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380165 ms79.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56165 ms79.3%
BaseHandler._get_responsedjango/core/handlers/base.py:199164 ms78.5%
starter_packsstarter_packs/views.py:185 return render(98 ms46.8%
renderdjango/shortcuts.py:2798 ms46.8%
render_to_stringdjango/template/loader.py:6172 ms34.7%
get_templatedjango/template/loader.py:1572 ms34.7%
DjangoTemplates.get_templatedjango/template/backends/django.py:7972 ms34.7%
Engine.get_templatedjango/template/engine.py:18672 ms34.7%
Engine.find_templatedjango/template/engine.py:15972 ms34.7%
Loader.get_templatedjango/template/loaders/cached.py:5772 ms34.7%
Loader.get_templatedjango/template/loaders/base.py:2872 ms34.7%
__init____init__:-172 ms34.7%
Template.__init__django/template/base.py:15872 ms34.7%
Template.compile_nodelistdjango/template/base.py:20072 ms34.7%
Parser.parsedjango/template/base.py:60172 ms34.7%
do_extendsdjango/template/loader_tags.py:30769 ms33.2%
Parser.parsedjango/template/base.py:60169 ms33.2%
do_blockdjango/template/loader_tags.py:23569 ms33.2%
Parser.parsedjango/template/base.py:60169 ms33.2%
do_ifdjango/template/defaulttags.py:99468 ms32.5%
Parser.parsedjango/template/base.py:60168 ms32.5%
do_fordjango/template/defaulttags.py:89468 ms32.5%
Parser.parsedjango/template/base.py:60168 ms32.5%
do_ifdjango/template/defaulttags.py:99466 ms31.7%
Parser.parsedjango/template/base.py:60466 ms31.7%
Parser.extend_nodelistdjango/template/base.py:63366 ms31.7%
do_ifdjango/template/defaulttags.py:10082 ms0.8%
Parser.parsedjango/template/base.py:6012 ms0.8%
do_ifdjango/template/defaulttags.py:9942 ms0.8%
Parser.parsedjango/template/base.py:6012 ms0.8%
do_ifdjango/template/defaulttags.py:9942 ms0.8%
Parser.parsedjango/template/base.py:6012 ms0.8%
do_translatedjango/templatetags/i18n.py:4002 ms0.8%
Token.split_contentsdjango/template/base.py:3942 ms0.8%
smart_splitdjango/utils/text.py:4402 ms0.8%
LazyObject.__getattribute__django/utils/functional.py:2802 ms0.8%
do_extendsdjango/template/loader_tags.py:3123 ms1.5%
__init____init__:-13 ms1.5%
ExtendsNode.__init__django/template/loader_tags.py:943 ms1.5%
NodeList.get_nodes_by_typedjango/template/base.py:11143 ms1.5%
Node.get_nodes_by_typedjango/template/base.py:10933 ms1.5%
render_to_stringdjango/template/loader.py:6225 ms12.1%
Template.renderdjango/template/backends/django.py:10725 ms12.1%
Template.renderdjango/template/base.py:17525 ms12.1%
instrumented_test_renderdjango/test/utils.py:11325 ms12.1%
NodeList.renderdjango/template/base.py:110825 ms12.1%
Node.render_annotateddjango/template/base.py:106925 ms12.1%
ExtendsNode.renderdjango/template/loader_tags.py:16025 ms12.1%
instrumented_test_renderdjango/test/utils.py:11325 ms12.1%
NodeList.renderdjango/template/base.py:110825 ms12.1%
Node.render_annotateddjango/template/base.py:106925 ms12.1%
BlockNode.renderdjango/template/loader_tags.py:6614 ms6.8%
NodeList.renderdjango/template/base.py:110814 ms6.8%
Node.render_annotateddjango/template/base.py:106914 ms6.8%
IfNode.renderdjango/template/defaulttags.py:3339 ms4.5%
NodeList.renderdjango/template/base.py:11089 ms4.5%
Node.render_annotateddjango/template/base.py:10699 ms4.5%
ForNode.renderdjango/template/defaulttags.py:2499 ms4.5%
Node.render_annotateddjango/template/base.py:10699 ms4.5%
SimpleNode.renderdjango/template/library.py:3439 ms4.5%
render_language_emojisaccounts/templatetags/account_extras.py:27 f"<img src='{static(lang.image)}' class='emojione' alt=':{lang.code}:' title=':{lang.code}:' />",9 ms4.5%
staticdjango/templatetags/static.py:1795 ms2.3%
StaticNode.handle_simpledjango/templatetags/static.py:1295 ms2.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:212 ms0.8%
LazyObject.__getattribute__django/utils/functional.py:2802 ms0.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms0.8%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms0.8%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2072 ms0.8%
urldefrag<stdlib>/urllib/parse.py:7842 ms0.8%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2403 ms1.5%
NodeList.renderdjango/template/base.py:11083 ms1.5%
Node.render_annotateddjango/template/base.py:10693 ms1.5%
SimpleNode.renderdjango/template/library.py:3433 ms1.5%
heroicon_solidheroicons/templatetags/heroicons.py:283 ms1.5%
_render_iconheroicons/templatetags/heroicons.py:413 ms1.5%
_render_iconheroicons/__init__.py:473 ms1.5%
_load_iconheroicons/__init__.py:182 ms0.8%
ZipFile.__init__<stdlib>/zipfile/__init__.py:15052 ms0.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16082 ms0.8%
deepcopy<stdlib>/copy.py:1372 ms0.8%
deepcopy<stdlib>/copy.py:1562 ms0.8%
IncludeNode.renderdjango/template/loader_tags.py:2002 ms0.8%
IfNode.renderdjango/template/defaulttags.py:3338 ms3.8%
NodeList.renderdjango/template/base.py:11088 ms3.8%
Node.render_annotateddjango/template/base.py:10698 ms3.8%
IncludeNode.renderdjango/template/loader_tags.py:2115 ms2.3%
Template.renderdjango/template/base.py:1775 ms2.3%
instrumented_test_renderdjango/test/utils.py:1135 ms2.3%
NodeList.renderdjango/template/base.py:11085 ms2.3%
Node.render_annotateddjango/template/base.py:10695 ms2.3%
SimpleNode.renderdjango/template/library.py:3435 ms2.3%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:3 ms1.5%
QuerySet.__iter__django/db/models/query.py:4393 ms1.5%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms1.5%
FlatValuesListIterable.__iter__django/db/models/query.py:3023 ms1.5%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15743 ms1.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms0.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms0.8%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms0.8%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms0.8%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3192 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms0.8%
Cursor.executepsycopg/cursor.py:1132 ms0.8%
Connection.waitpsycopg/connection.py:4952 ms0.8%
instances_datalistaccounts/templatetags/account_extras.py:34 instances = Instance.objects.filter(deleted_at__isnull=True).values_list("domain", flat=True)2 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms0.8%
QuerySet.filterdjango/db/models/query.py:16762 ms0.8%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms0.8%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms0.8%
Query.add_qdjango/db/models/sql/query.py:16812 ms0.8%
Query._add_qdjango/db/models/sql/query.py:17132 ms0.8%
Query.build_filterdjango/db/models/sql/query.py:15882 ms0.8%
Query.check_related_objectsdjango/db/models/sql/query.py:13812 ms0.8%
VariableNode.renderdjango/template/base.py:11732 ms0.8%
render_value_in_contextdjango/template/base.py:11512 ms0.8%
conditional_escapedjango/utils/html.py:1292 ms0.8%
TranslateNode.renderdjango/templatetags/i18n.py:912 ms0.8%
render_value_in_contextdjango/template/base.py:11502 ms0.8%
lazy.<locals>.__proxy__.__str__django/utils/functional.py:1192 ms0.8%
lazy.<locals>.__proxy__.__castdjango/utils/functional.py:1102 ms0.8%
gettextdjango/utils/translation/__init__.py:962 ms0.8%
gettextdjango/utils/translation/trans_real.py:3832 ms0.8%
Local.__getattr__asgiref/local.py:1572 ms0.8%
contextmanager.<locals>.helper<stdlib>/contextlib.py:367 return _GeneratorContextManager(func, args, kwds)2 ms0.8%
_GeneratorContextManagerBase.__init__<stdlib>/contextlib.py:1722 ms0.8%
BlockNode.renderdjango/template/loader_tags.py:532 ms0.8%
ContextDict.__exit__django/template/context.py:242 ms0.8%
SimpleNode.renderdjango/template/library.py:3432 ms0.8%
heroicon_outlineheroicons/templatetags/heroicons.py:232 ms0.8%
_render_iconheroicons/templatetags/heroicons.py:412 ms0.8%
_render_iconheroicons/__init__.py:652 ms0.8%
tostring<stdlib>/xml/etree/ElementTree.py:11062 ms0.8%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7452 ms0.8%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:9082 ms0.8%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:8982 ms0.8%
starter_packsstarter_packs/views.py:160 for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(60 ms28.7%
QuerySet.__iter__django/db/models/query.py:43957 ms27.2%
QuerySet._fetch_alldjango/db/models/query.py:226257 ms27.2%
FlatValuesListIterable.__iter__django/db/models/query.py:30257 ms27.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:157457 ms27.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162554 ms25.7%
CursorWrapper.executedjango/db/backends/utils.py:7954 ms25.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9254 ms25.7%
CursorWrapper._executedjango/db/backends/utils.py:10554 ms25.7%
Cursor.executepsycopg/cursor.py:11354 ms25.7%
Connection.waitpsycopg/connection.py:49554 ms25.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms0.8%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7962 ms0.8%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5792 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16232 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms0.8%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3202 ms0.8%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2982 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms0.8%
DatabaseWrapper.create_cursordjango/db/backends/postgresql/base.py:4422 ms0.8%
Connection.cursorpsycopg/connection.py:2592 ms0.8%
Cursor.__init__psycopg/cursor.py:472 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms0.8%
QuerySet.filterdjango/db/models/query.py:16762 ms0.8%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms0.8%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms0.8%
Query.add_qdjango/db/models/sql/query.py:16812 ms0.8%
Query._add_qdjango/db/models/sql/query.py:17132 ms0.8%
Query.build_filterdjango/db/models/sql/query.py:15772 ms0.8%
starter_packsstarter_packs/views.py:95 def starter_packs(request):2 ms0.8%
starter_packsstarter_packs/views.py:98 tab = "community"2 ms0.8%
starter_packsstarter_packs/views.py:116 starter_packs = StarterPack.objects.filter(published_at__isnull=False)2 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms0.8%
QuerySet.filterdjango/db/models/query.py:16762 ms0.8%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms0.8%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms0.8%
Query.add_qdjango/db/models/sql/query.py:16812 ms0.8%
Query._add_qdjango/db/models/sql/query.py:17132 ms0.8%
Query.build_filterdjango/db/models/sql/query.py:16032 ms0.8%
starter_packsstarter_packs/views.py:139 .prefetch_related("created_by__accountaccess__account", "owners__accountaccess__account")2 ms0.8%
BaseHandler._get_responsedjango/core/handlers/base.py:1832 ms0.8%
BaseHandler.resolve_requestdjango/core/handlers/base.py:3152 ms0.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3792 ms0.8%
LocaleMiddleware.process_requestdjango/middleware/locale.py:282 ms0.8%
get_language_from_pathdjango/utils/translation/__init__.py:2522 ms0.8%
get_language_from_pathdjango/utils/translation/trans_real.py:5592 ms0.8%
get_supported_language_variantdjango/utils/translation/trans_real.py:5412 ms0.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3822 ms0.8%
LocaleMiddleware.process_responsedjango/middleware/locale.py:402 ms0.8%
get_language_from_pathdjango/utils/translation/__init__.py:2522 ms0.8%
get_language_from_pathdjango/utils/translation/trans_real.py:5592 ms0.8%
get_supported_language_variantdjango/utils/translation/trans_real.py:5422 ms0.8%
ClientHandler.__call__django/test/client.py:17325 ms12.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6325 ms12.1%
__init____init__:-124 ms11.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms11.3%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms11.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12014 ms6.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13113 ms6.0%
WhiteNoise.get_static_filewhitenoise/base.py:2128 ms3.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2338 ms3.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1766 ms3.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1976 ms3.0%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms2.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2355 ms2.3%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms0.8%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2072 ms0.8%
urljoin<stdlib>/urllib/parse.py:7072 ms0.8%
_urlsplit<stdlib>/urllib/parse.py:6202 ms0.8%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms0.8%
WhiteNoise.get_static_filewhitenoise/base.py:2175 ms2.3%
StaticFile.__init__whitenoise/responders.py:735 ms2.3%
StaticFile.get_headerswhitenoise/responders.py:1813 ms1.5%
StaticFile.get_headerswhitenoise/responders.py:1762 ms0.8%
formatdate<stdlib>/email/utils.py:2662 ms0.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms4.5%
scantreewhitenoise/base.py:2718 ms3.8%
scantreewhitenoise/base.py:2716 ms3.0%
scantreewhitenoise/base.py:2733 ms1.5%
scantreewhitenoise/base.py:2713 ms1.5%
scantreewhitenoise/base.py:2713 ms1.5%
scantreewhitenoise/base.py:2713 ms1.5%
scantreewhitenoise/base.py:2692 ms0.8%
scantreewhitenoise/base.py:2732 ms0.8%
<GC>~2 ms0.8%
scantreewhitenoise/base.py:2732 ms0.8%
scantreewhitenoise/base.py:2732 ms0.8%
ClientHandler.__call__django/test/client.py:1772 ms0.8%
Signal.connectdjango/dispatch/dispatcher.py:1532 ms0.8%
reversedjango/urls/base.py:982 ms0.8%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8032 ms0.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()6 ms3.0%
TestCase._fixture_teardowndjango/test/testcases.py:14985 ms2.3%
BaseConnectionHandler.__getitem__django/utils/connection.py:582 ms0.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms0.8%
Cursor.executepsycopg/cursor.py:1132 ms0.8%
Connection.waitpsycopg/connection.py:4952 ms0.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4962 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms0.8%
Cursor.executepsycopg/cursor.py:1132 ms0.8%
Connection.waitpsycopg/connection.py:4952 ms0.8%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms0.8%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms0.8%
Atomic.__exit__django/db/transaction.py:2982 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms0.8%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms0.8%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3742 ms0.8%
TestOwnerManagement.test_owner_handles_shown_on_list_cardstarter_packs/tests.py:634 self.pack.save()2 ms0.8%
Model.savedjango/db/models/base.py:9042 ms0.8%
Model.save_basedjango/db/models/base.py:9962 ms0.8%
Model._save_tabledjango/db/models/base.py:11402 ms0.8%
Model._do_updatedjango/db/models/base.py:12442 ms0.8%
QuerySet._updatedjango/db/models/query.py:14482 ms0.8%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21502 ms0.8%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21212 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms0.8%
Cursor.executepsycopg/cursor.py:1132 ms0.8%
Connection.waitpsycopg/connection.py:4952 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms0.8%
teardown0.76 ms0.4%
Estimated from 132 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/views.py:185
return render(
starter_packs
· Templates
|
83 ms |
|
starter_packs/views.py:160
for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(
starter_packs
· Database
|
60 ms |
|
starter_packs/tests.py:635
response = self.client.get(reverse("starter_packs"))
TestOwnerManagement.test_owner_handles_shown_on_list_card
· Libraries
|
35 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
|
9 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
3 ms |
|
starter_packs/tests.py:634
self.pack.save()
TestOwnerManagement.test_owner_handles_shown_on_list_card
· Database
|
2 ms |
|
starter_packs/views.py:95
def starter_packs(request):
starter_packs
· App code
|
2 ms |
|
starter_packs/views.py:98
tab = "community"
starter_packs
· App code
|
2 ms |
|
starter_packs/views.py:116
starter_packs = StarterPack.objects.filter(published_at__isnull=False)
starter_packs
· Database
|
2 ms |
|
starter_packs/views.py:139
.prefetch_related("created_by__accountaccess__account", "owners__accountaccess__account")
starter_packs
· App code
|
2 ms |
Fixtures
Exact setup time| _django_isolate_apps function | 0.15 ms |
| _django_set_urlconf function | 0.10 ms |
| _dj_autoclear_mailbox function | 0.07 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.06 ms |
| _live_server_helper function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| monkeypatch function | 0.03 ms |
Database
17 queries · 21 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:635
|
200 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
6 ms |
| teardown pytest internals | 0.76 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 208 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 97 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 208 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 161 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 159 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 112 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 113 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 67 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 215 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 210 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 108 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 98 ms | Run |