Tests / starter_packs/tests.py
TestCreateStarterPack::test_create_page
First seen 1 year, 10 months ago in 1b5db0c
CI
github-actions:test
4 runs
Average
219 ms
median 244 ms
max 304 ms
max 304 ms
Phases
Setup 39 ms
Call 180 ms
Teardown 0.29 ms
Categories
Database 54 ms
Factories 3 ms
Other (Libraries, Templates, pytest, Unsampled) 162 ms
11 database queries per run
Needs 3 KB of memory (max 8 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 9 hours ago ·
open run
setup21 ms25.4%
CallInfo.from_call_pytest/runner.py:36121 ms25.4%
call_and_report.<locals>.<lambda>_pytest/runner.py:25021 ms25.4%
HookCaller.__call__pluggy/_hooks.py:51221 ms25.4%
PluginManager._hookexecpluggy/_manager.py:12021 ms25.4%
_multicallpluggy/_callers.py:12121 ms25.4%
pytest_runtest_setup_pytest/runner.py:17021 ms25.4%
SetupState.setup_pytest/runner.py:53621 ms25.4%
TestCaseFunction.setup_pytest/unittest.py:24821 ms25.4%
Function.setup_pytest/python.py:171021 ms25.4%
TopRequest._fillfixtures_pytest/fixtures.py:80621 ms25.4%
FixtureRequest.getfixturevalue_pytest/fixtures.py:63021 ms25.4%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:72621 ms25.4%
FixtureDef.execute_pytest/fixtures.py:123221 ms25.4%
HookCaller.__call__pluggy/_hooks.py:51221 ms25.4%
PluginManager._hookexecpluggy/_manager.py:12021 ms25.4%
_multicallpluggy/_callers.py:12121 ms25.4%
pytest_fixture_setup_pytest/fixtures.py:132821 ms25.4%
call_fixture_func_pytest/fixtures.py:99821 ms25.4%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:15921 ms25.4%
TestCase.setUpClassdjango/test/testcases.py:1442 cls.setUpTestData()11 ms13.5%
TestCreateStarterPack.setUpTestDatastarter_packs/tests.py:88 baker.make("mastodon_auth.AccountAccess", user=cls.user)7 ms8.5%
makemodel_bakery/baker.py:1757 ms8.5%
Baker.makemodel_bakery/baker.py:4547 ms8.5%
Baker._makemodel_bakery/baker.py:5296 ms6.8%
Baker.generate_valuemodel_bakery/baker.py:10196 ms6.8%
gen_relatedmodel_bakery/random_gen.py:4546 ms6.8%
makemodel_bakery/baker.py:1756 ms6.8%
Baker.makemodel_bakery/baker.py:4546 ms6.8%
Baker._makemodel_bakery/baker.py:5426 ms6.8%
Baker.instancemodel_bakery/baker.py:6596 ms6.8%
Model.savedjango/db/models/base.py:9046 ms6.8%
Model.save_basedjango/db/models/base.py:9966 ms6.8%
Model._save_tabledjango/db/models/base.py:11996 ms6.8%
Model._do_insertdjango/db/models/base.py:12516 ms6.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:876 ms6.8%
QuerySet._insertdjango/db/models/query.py:21416 ms6.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19366 ms6.8%
CursorWrapper.executedjango/db/backends/utils.py:796 ms6.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms6.8%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1006 ms6.8%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms6.8%
Cursor.executepsycopg/cursor.py:1136 ms6.8%
Connection.waitpsycopg/connection.py:4956 ms6.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2066 ms6.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2866 ms6.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:786 ms6.8%
Baker._makemodel_bakery/baker.py:5421 ms1.7%
Baker.instancemodel_bakery/baker.py:6591 ms1.7%
Model.savedjango/db/models/base.py:9041 ms1.7%
Model.save_basedjango/db/models/base.py:9961 ms1.7%
Model._save_tabledjango/db/models/base.py:11991 ms1.7%
Model._do_insertdjango/db/models/base.py:12511 ms1.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.7%
QuerySet._insertdjango/db/models/query.py:21411 ms1.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms1.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.7%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.7%
Cursor.executepsycopg/cursor.py:1131 ms1.7%
Connection.waitpsycopg/connection.py:4951 ms1.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.7%
TestCreateStarterPack.setUpTestDatastarter_packs/tests.py:87 cls.user = baker.make("auth.User")4 ms5.1%
makemodel_bakery/baker.py:1754 ms5.1%
Baker.makemodel_bakery/baker.py:4544 ms5.1%
Baker._makemodel_bakery/baker.py:5424 ms5.1%
Baker.instancemodel_bakery/baker.py:6594 ms5.1%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:624 ms5.1%
Model.savedjango/db/models/base.py:9044 ms5.1%
Model.save_basedjango/db/models/base.py:9964 ms5.1%
Model._save_tabledjango/db/models/base.py:11994 ms5.1%
Model._do_insertdjango/db/models/base.py:12514 ms5.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:874 ms5.1%
QuerySet._insertdjango/db/models/query.py:21414 ms5.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19364 ms5.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms5.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms5.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms5.1%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms5.1%
Cursor.executepsycopg/cursor.py:1134 ms5.1%
Connection.waitpsycopg/connection.py:4954 ms5.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms5.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms5.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms5.1%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()10 ms11.9%
TestCase._enter_atomicsdjango/test/testcases.py:139910 ms11.9%
Atomic.__enter__django/db/transaction.py:21010 ms11.9%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45410 ms11.9%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30410 ms11.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms11.9%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27910 ms11.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms11.9%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25610 ms11.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms11.9%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34510 ms11.9%
Connection.connectpsycopg/connection.py:10910 ms11.9%
wait_connpsycopg/waiting.py:1457 ms8.5%
BaseConnection._connect_genpsycopg/_connection_base.py:4397 ms8.5%
wait_connpsycopg/waiting.py:1413 ms3.4%
EpollSelector.select<stdlib>/selectors.py:4523 ms3.4%
call61 ms74.3%
CallInfo.from_call_pytest/runner.py:36161 ms74.3%
call_and_report.<locals>.<lambda>_pytest/runner.py:25061 ms74.3%
HookCaller.__call__pluggy/_hooks.py:51261 ms74.3%
PluginManager._hookexecpluggy/_manager.py:12061 ms74.3%
_multicallpluggy/_callers.py:12161 ms74.3%
pytest_runtest_call_pytest/runner.py:18461 ms74.3%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61461 ms74.3%
SimpleTestCase.__call__django/test/testcases.py:31461 ms74.3%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36956 ms69.0%
TestCase.__call__<stdlib>/unittest/case.py:74756 ms69.0%
TestCase.run<stdlib>/unittest/case.py:69156 ms69.0%
TestCase._callTestMethod<stdlib>/unittest/case.py:63756 ms69.0%
TestCreateStarterPack.test_create_pagestarter_packs/tests.py:91 response = self.client.get(reverse("create_starter_pack"))48 ms58.4%
Client.getdjango/test/client.py:113348 ms58.4%
RequestFactory.getdjango/test/client.py:47548 ms58.4%
RequestFactory.genericdjango/test/client.py:67148 ms58.4%
Client.requestdjango/test/client.py:109148 ms58.4%
ClientHandler.__call__django/test/client.py:17346 ms55.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6346 ms55.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10446 ms55.7%
WhiteNoise.add_fileswhitenoise/base.py:10846 ms55.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12035 ms42.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13135 ms42.5%
WhiteNoise.get_static_filewhitenoise/base.py:21728 ms34.5%
StaticFile.__init__whitenoise/responders.py:7313 ms15.9%
StaticFile.get_headerswhitenoise/responders.py:1784 ms5.3%
parsedate<stdlib>/email/_parseaddr.py:1854 ms5.3%
parsedate_tz<stdlib>/email/_parseaddr.py:504 ms5.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1052 ms2.7%
_parsedate_tz<stdlib>/email/_parseaddr.py:692 ms2.7%
StaticFile.get_headerswhitenoise/responders.py:1762 ms2.7%
StaticFile.get_headerswhitenoise/responders.py:1812 ms2.7%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms2.7%
Headers.__delitem__<stdlib>/wsgiref/headers.py:722 ms2.7%
StaticFile.get_headerswhitenoise/responders.py:1702 ms2.7%
StaticFile.__init__whitenoise/responders.py:7711 ms13.3%
StaticFile.get_alternativeswhitenoise/responders.py:2014 ms5.3%
StaticFile.get_alternativeswhitenoise/responders.py:1984 ms5.3%
<GC>~2 ms2.7%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1982 ms2.7%
<GC>~2 ms2.7%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms2.7%
__init____init__:-12 ms2.7%
Headers.__init__<stdlib>/wsgiref/headers.py:362 ms2.7%
<GC>~2 ms2.7%
StaticFile.__init__whitenoise/responders.py:752 ms2.7%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms2.7%
StaticFile.__init__whitenoise/responders.py:762 ms2.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.7%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.7%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms2.7%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms2.7%
WhiteNoise.get_static_filewhitenoise/base.py:2127 ms8.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2334 ms5.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms5.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1974 ms5.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms5.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2362 ms2.7%
StaticFile.get_file_statswhitenoise/responders.py:1572 ms2.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms10.6%
scantreewhitenoise/base.py:2719 ms10.6%
scantreewhitenoise/base.py:2734 ms5.3%
scantreewhitenoise/base.py:2732 ms2.7%
scantreewhitenoise/base.py:2714 ms5.3%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2732 ms2.7%
scantreewhitenoise/base.py:2732 ms2.7%
ClientHandler.__call__django/test/client.py:1862 ms2.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1422 ms2.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms2.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms2.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms2.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1452 ms2.7%
TestCreateStarterPack.test_create_pagestarter_packs/tests.py:929 ms10.6%
SimpleTestCase.assertRedirectsdjango/test/testcases.py:5029 ms10.6%
Client.getdjango/test/client.py:11339 ms10.6%
RequestFactory.getdjango/test/client.py:4759 ms10.6%
RequestFactory.genericdjango/test/client.py:6719 ms10.6%
Client.requestdjango/test/client.py:10919 ms10.6%
ClientHandler.__call__django/test/client.py:1869 ms10.6%
BaseHandler.get_responsedjango/core/handlers/base.py:1429 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1239 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1459 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms10.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms10.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1999 ms10.6%
loginaccounts/views.py:280 return render(request, "login.html")9 ms10.6%
renderdjango/shortcuts.py:279 ms10.6%
render_to_stringdjango/template/loader.py:627 ms8.0%
Template.renderdjango/template/backends/django.py:1077 ms8.0%
Template.renderdjango/template/base.py:1757 ms8.0%
instrumented_test_renderdjango/test/utils.py:1137 ms8.0%
NodeList.renderdjango/template/base.py:11087 ms8.0%
Node.render_annotateddjango/template/base.py:10697 ms8.0%
ExtendsNode.renderdjango/template/loader_tags.py:1607 ms8.0%
instrumented_test_renderdjango/test/utils.py:1137 ms8.0%
NodeList.renderdjango/template/base.py:11087 ms8.0%
Node.render_annotateddjango/template/base.py:10697 ms8.0%
CsrfTokenNode.renderdjango/template/defaulttags.py:782 ms2.7%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2512 ms2.7%
SimpleLazyObject._setupdjango/utils/functional.py:4042 ms2.7%
csrf.<locals>._get_valdjango/template/context_processors.py:262 ms2.7%
get_tokendjango/middleware/csrf.py:1132 ms2.7%
_add_new_csrf_cookiedjango/middleware/csrf.py:862 ms2.7%
_get_new_csrf_stringdjango/middleware/csrf.py:562 ms2.7%
get_random_stringdjango/utils/crypto.py:782 ms2.7%
get_random_string.<locals>.<genexpr>django/utils/crypto.py:782 ms2.7%
Random.choice<stdlib>/random.py:3542 ms2.7%
Random._randbelow_with_getrandbits<stdlib>/random.py:2492 ms2.7%
SystemRandom.getrandbits<stdlib>/random.py:9152 ms2.7%
BlockNode.renderdjango/template/loader_tags.py:662 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
WithNode.renderdjango/template/defaulttags.py:5812 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.7%
Template.renderdjango/template/base.py:1772 ms2.7%
instrumented_test_renderdjango/test/utils.py:1132 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
SimpleNode.renderdjango/template/library.py:3432 ms2.7%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.7%
QuerySet.__iter__django/db/models/query.py:4392 ms2.7%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.7%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.7%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.7%
Template.renderdjango/template/base.py:1772 ms2.7%
instrumented_test_renderdjango/test/utils.py:1132 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
SimpleNode.renderdjango/template/library.py:3432 ms2.7%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.7%
QuerySet.__iter__django/db/models/query.py:4392 ms2.7%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.7%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms2.7%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms2.7%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:912 ms2.7%
render_to_stringdjango/template/loader.py:612 ms2.7%
get_templatedjango/template/loader.py:152 ms2.7%
DjangoTemplates.get_templatedjango/template/backends/django.py:792 ms2.7%
Engine.get_templatedjango/template/engine.py:1862 ms2.7%
Engine.find_templatedjango/template/engine.py:1592 ms2.7%
Loader.get_templatedjango/template/loaders/cached.py:572 ms2.7%
Loader.get_templatedjango/template/loaders/base.py:282 ms2.7%
__init____init__:-12 ms2.7%
Template.__init__django/template/base.py:1582 ms2.7%
Template.compile_nodelistdjango/template/base.py:2002 ms2.7%
Parser.parsedjango/template/base.py:6012 ms2.7%
do_extendsdjango/template/loader_tags.py:3072 ms2.7%
Parser.parsedjango/template/base.py:6012 ms2.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3724 ms5.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms2.7%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms2.7%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.7%
Cursor.executepsycopg/cursor.py:1132 ms2.7%
Connection.waitpsycopg/connection.py:4952 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:12452 ms2.7%
Estimated from 43 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
starter_packs/tests.py:91
response = self.client.get(reverse("create_starter_pack"))
TestCreateStarterPack.test_create_page
· Libraries
|
48 ms |
|
starter_packs/tests.py:88
baker.make("mastodon_auth.AccountAccess", user=cls.user)
TestCreateStarterPack.setUpTestData
· Database
|
7 ms |
|
accounts/views.py:280
return render(request, "login.html")
login
· Templates
|
4 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
4 ms |
|
starter_packs/tests.py:87
cls.user = baker.make("auth.User")
TestCreateStarterPack.setUpTestData
· Database
|
4 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestCreateStarterPack class | 20 ms |
| _django_setup_unittest class | 0.27 ms |
| _dj_autoclear_mailbox function | 0.09 ms |
| _django_db_marker function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _live_server_helper function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
11 queries · 13 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:91
|
56 ms |
|
setup setUpClass
django/test/testcases.py:1426
|
21 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
4 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 | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 82 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 271 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 304 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 217 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 83 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 60 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 84 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 88 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 103 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 87 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 98 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 86 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 94 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 103 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 98 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 95 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 97 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 92 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 101 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 99 ms | Run |