flakytest.dev anze3db fedidevs
Tests / starter_packs/tests.py

TestCreateStarterPack::test_create_starter_pack_rejects_too_many_languages

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
139 ms
median 108 ms
max 298 ms
Phases
Setup 4 ms Call 135 ms Teardown 0.70 ms
Categories
Database 40 ms Other (Libraries, Templates, pytest, Unsampled, ...) 98 ms

25 database queries per run

Needs 522 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
Show pytest frames
call95 ms98.6%
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languagesstarter_packs/tests.py:170 response = self.client.post(72 ms74.2%
Client.postdjango/test/client.py:116272 ms74.2%
RequestFactory.postdjango/test/client.py:49972 ms74.2%
RequestFactory.genericdjango/test/client.py:67172 ms74.2%
Client.requestdjango/test/client.py:109171 ms73.1%
ClientHandler.__call__django/test/client.py:18639 ms39.9%
BaseHandler.get_responsedjango/core/handlers/base.py:14239 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12339 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14539 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms39.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms39.9%
BaseHandler._get_responsedjango/core/handlers/base.py:19939 ms39.9%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:6239 ms39.9%
create_starter_packstarter_packs/views.py:548 form = StarterPackForm(request.POST)21 ms22.2%
WSGIRequest._get_postdjango/core/handlers/wsgi.py:9321 ms22.2%
HttpRequest._load_post_and_filesdjango/http/request.py:46921 ms22.2%
HttpRequest.parse_file_uploaddjango/http/request.py:39721 ms22.2%
MultiPartParser.parsedjango/http/multipartparser.py:12521 ms22.2%
MultiPartParser._parsedjango/http/multipartparser.py:18821 ms22.2%
Parser.__iter__django/http/multipartparser.py:75621 ms22.2%
create_starter_packstarter_packs/views.py:573 return render(17 ms17.7%
renderdjango/shortcuts.py:2717 ms17.7%
render_to_stringdjango/template/loader.py:6214 ms14.4%
Template.renderdjango/template/backends/django.py:10714 ms14.4%
Template.renderdjango/template/base.py:17514 ms14.4%
instrumented_test_renderdjango/test/utils.py:11314 ms14.4%
NodeList.renderdjango/template/base.py:110814 ms14.4%
Node.render_annotateddjango/template/base.py:106914 ms14.4%
ExtendsNode.renderdjango/template/loader_tags.py:16014 ms14.4%
instrumented_test_renderdjango/test/utils.py:11314 ms14.4%
NodeList.renderdjango/template/base.py:110814 ms14.4%
Node.render_annotateddjango/template/base.py:106914 ms14.4%
BlockNode.renderdjango/template/loader_tags.py:667 ms7.8%
NodeList.renderdjango/template/base.py:11087 ms7.8%
Node.render_annotateddjango/template/base.py:10696 ms6.6%
VariableNode.renderdjango/template/base.py:11733 ms3.3%
render_value_in_contextdjango/template/base.py:11503 ms3.3%
RenderableMixin.renderdjango/forms/utils.py:553 ms3.3%
BaseRenderer.renderdjango/forms/renderers.py:282 ms2.2%
EngineMixin.get_templatedjango/forms/renderers.py:342 ms2.2%
cached_property.__get__django/utils/functional.py:472 ms2.2%
EngineMixin.enginedjango/forms/renderers.py:382 ms2.2%
DjangoTemplates.__init__django/template/backends/django.py:262 ms2.2%
DjangoTemplates.get_templatetag_librariesdjango/template/backends/django.py:882 ms2.2%
get_installed_librariesdjango/template/backends/django.py:1632 ms2.2%
get_template_tag_modulesdjango/template/backends/django.py:1512 ms2.2%
get_package_librariesdjango/template/backends/django.py:1722 ms2.2%
walk_packages<stdlib>/pkgutil.py:742 ms2.2%
iter_modules<stdlib>/pkgutil.py:1172 ms2.2%
_iter_file_finder_modules<stdlib>/pkgutil.py:1552 ms2.2%
BaseRenderer.renderdjango/forms/renderers.py:291 ms1.1%
Template.renderdjango/template/backends/django.py:1071 ms1.1%
Template.renderdjango/template/base.py:1751 ms1.1%
instrumented_test_renderdjango/test/utils.py:1131 ms1.1%
NodeList.renderdjango/template/base.py:11081 ms1.1%
Node.render_annotateddjango/template/base.py:10691 ms1.1%
IncludeNode.renderdjango/template/loader_tags.py:2001 ms1.1%
Engine.select_templatedjango/template/engine.py:2281 ms1.1%
Engine.get_templatedjango/template/engine.py:1861 ms1.1%
Engine.find_templatedjango/template/engine.py:1591 ms1.1%
Loader.get_templatedjango/template/loaders/cached.py:571 ms1.1%
Loader.get_templatedjango/template/loaders/base.py:281 ms1.1%
__init____init__:-11 ms1.1%
Template.__init__django/template/base.py:1581 ms1.1%
Template.compile_nodelistdjango/template/base.py:1911 ms1.1%
_create_smart_tokenize.<locals>.smart_tokenizedjango_cotton/nested_tag_support.py:421 ms1.1%
Lexer.tokenizedjango/template/base.py:4261 ms1.1%
ForNode.renderdjango/template/defaulttags.py:2493 ms3.3%
Node.render_annotateddjango/template/base.py:10693 ms3.3%
VariableNode.renderdjango/template/base.py:11672 ms2.2%
FilterExpression.resolvedjango/template/base.py:8341 ms1.1%
FilterExpression.resolvedjango/template/base.py:8061 ms1.1%
Variable.resolvedjango/template/base.py:9451 ms1.1%
Variable._resolve_lookupdjango/template/base.py:9851 ms1.1%
IfNode.renderdjango/template/defaulttags.py:3331 ms1.1%
NodeList.renderdjango/template/base.py:11081 ms1.1%
IfNode.renderdjango/template/defaulttags.py:3335 ms5.5%
NodeList.renderdjango/template/base.py:11084 ms4.4%
Node.render_annotateddjango/template/base.py:10694 ms4.4%
VariableNode.renderdjango/template/base.py:11674 ms4.4%
FilterExpression.resolvedjango/template/base.py:8064 ms4.4%
Variable.resolvedjango/template/base.py:9454 ms4.4%
Variable._resolve_lookupdjango/template/base.py:9934 ms4.4%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2532 ms2.2%
ReverseOneToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:5372 ms2.2%
FetchOne.fetchdjango/db/models/fetch_modes.py:172 ms2.2%
ReverseOneToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:5622 ms2.2%
QuerySet.getdjango/db/models/query.py:6921 ms1.1%
QuerySet.filterdjango/db/models/query.py:16761 ms1.1%
QuerySet._filter_or_excludedjango/db/models/query.py:16941 ms1.1%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17041 ms1.1%
Query.add_qdjango/db/models/sql/query.py:16811 ms1.1%
Query._add_qdjango/db/models/sql/query.py:17131 ms1.1%
Query.build_filterdjango/db/models/sql/query.py:16051 ms1.1%
QuerySet.getdjango/db/models/query.py:7021 ms1.1%
QuerySet.__len__django/db/models/query.py:4211 ms1.1%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.1%
ModelIterable.__iter__django/db/models/query.py:1031 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3181 ms1.1%
BaseCursor._set_resultspsycopg/_cursor_base.py:5351 ms1.1%
BaseCursor._select_current_resultpsycopg/_cursor_base.py:5141 ms1.1%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:2662 ms2.2%
FetchOne.fetchdjango/db/models/fetch_modes.py:172 ms2.2%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:2792 ms2.2%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:2312 ms2.2%
QuerySet.getdjango/db/models/query.py:7022 ms2.2%
QuerySet.__len__django/db/models/query.py:4212 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms1.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms1.1%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms1.1%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms1.1%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3191 ms1.1%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.1%
Col.as_sqldjango/db/models/expressions.py:13691 ms1.1%
<GC>~1 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
InclusionNode.renderdjango/template/library.py:3811 ms1.1%
tailwind_csstailwind/templatetags/tailwind_tags.py:201 ms1.1%
get_configtailwind/__init__.py:121 ms1.1%
render_to_stringdjango/template/loader.py:613 ms3.3%
get_templatedjango/template/loader.py:153 ms3.3%
DjangoTemplates.get_templatedjango/template/backends/django.py:793 ms3.3%
Engine.get_templatedjango/template/engine.py:1863 ms3.3%
Engine.find_templatedjango/template/engine.py:1593 ms3.3%
Loader.get_templatedjango/template/loaders/cached.py:573 ms3.3%
Loader.get_templatedjango/template/loaders/base.py:283 ms3.3%
__init____init__:-13 ms3.3%
Template.__init__django/template/base.py:1583 ms3.3%
Template.compile_nodelistdjango/template/base.py:2003 ms3.3%
Parser.parsedjango/template/base.py:6013 ms3.3%
do_extendsdjango/template/loader_tags.py:3073 ms3.3%
Parser.parsedjango/template/base.py:6013 ms3.3%
do_blockdjango/template/loader_tags.py:2353 ms3.3%
Parser.parsedjango/template/base.py:6013 ms3.3%
do_fordjango/template/defaulttags.py:8943 ms3.3%
Parser.parsedjango/template/base.py:5553 ms3.3%
Parser.compile_filterdjango/template/base.py:6943 ms3.3%
FilterExpression.__init__django/template/base.py:7903 ms3.3%
FilterExpression.args_checkdjango/template/base.py:8473 ms3.3%
getfullargspecdjango/utils/inspect.py:1333 ms3.3%
getfullargspec<stdlib>/inspect.py:13573 ms3.3%
ClientHandler.__call__django/test/client.py:17332 ms33.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6332 ms33.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10432 ms33.2%
WhiteNoise.add_fileswhitenoise/base.py:10832 ms33.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms21.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13120 ms21.1%
WhiteNoise.get_static_filewhitenoise/base.py:21719 ms19.9%
StaticFile.__init__whitenoise/responders.py:739 ms8.9%
StaticFile.get_headerswhitenoise/responders.py:1783 ms3.3%
parsedate<stdlib>/email/_parseaddr.py:1853 ms3.3%
parsedate_tz<stdlib>/email/_parseaddr.py:503 ms3.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1013 ms3.3%
StaticFile.get_headerswhitenoise/responders.py:1813 ms3.3%
Headers.__setitem__<stdlib>/wsgiref/headers.py:642 ms2.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms1.1%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1672 ms2.2%
StaticFile.__init__whitenoise/responders.py:777 ms7.8%
StaticFile.get_alternativeswhitenoise/responders.py:2073 ms3.3%
Headers.items<stdlib>/wsgiref/headers.py:1313 ms3.3%
<GC>~3 ms3.3%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms2.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms2.2%
Headers.__delitem__<stdlib>/wsgiref/headers.py:711 ms1.1%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms1.1%
<GC>~1 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:1981 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2001 ms1.1%
StaticFile.__init__whitenoise/responders.py:742 ms2.2%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.2%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms2.2%
_parsedate_tz<stdlib>/email/_parseaddr.py:1212 ms2.2%
StaticFile.__init__whitenoise/responders.py:721 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:2111 ms1.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2251 ms1.1%
MediaTypes.get_typewhitenoise/media_types.py:161 ms1.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11512 ms12.2%
scantreewhitenoise/base.py:27112 ms12.2%
scantreewhitenoise/base.py:2717 ms7.8%
scantreewhitenoise/base.py:2734 ms4.4%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2691 ms1.1%
scantreewhitenoise/base.py:2734 ms4.4%
Client.requestdjango/test/client.py:10891 ms1.1%
Signal.connectdjango/dispatch/dispatcher.py:1531 ms1.1%
iscoroutinefunction<stdlib>/inspect.py:3361 ms1.1%
_has_code_flag<stdlib>/inspect.py:2951 ms1.1%
_unwrap_partialmethod<stdlib>/functools.py:5091 ms1.1%
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languagesstarter_packs/tests.py:169 self.client.force_login(self.user)18 ms18.8%
ClientMixin.force_logindjango/test/client.py:85818 ms18.8%
ClientMixin._logindjango/test/client.py:8849 ms8.9%
ClientMixin.sessiondjango/test/client.py:8159 ms8.9%
SessionStore.savedjango/contrib/sessions/backends/db.py:1219 ms8.9%
SessionStore.createdjango/contrib/sessions/backends/db.py:707 ms7.8%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2017 ms7.8%
SessionStore.existsdjango/contrib/sessions/backends/db.py:637 ms7.8%
QuerySet.existsdjango/db/models/query.py:14587 ms7.8%
Query.has_resultsdjango/db/models/sql/query.py:6877 ms7.8%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15937 ms7.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16257 ms7.8%
CursorWrapper.executedjango/db/backends/utils.py:797 ms7.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms7.8%
CursorWrapper._executedjango/db/backends/utils.py:1057 ms7.8%
Cursor.executepsycopg/cursor.py:1137 ms7.8%
Connection.waitpsycopg/connection.py:4957 ms7.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2067 ms7.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2867 ms7.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:787 ms7.8%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms1.1%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms1.1%
Model.savedjango/db/models/base.py:9041 ms1.1%
Model.save_basedjango/db/models/base.py:9961 ms1.1%
Model._save_tabledjango/db/models/base.py:11991 ms1.1%
Model._do_insertdjango/db/models/base.py:12511 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.1%
QuerySet._insertdjango/db/models/query.py:21411 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
ClientMixin._logindjango/test/client.py:8896 ms6.6%
logindjango/contrib/auth/__init__.py:1894 ms4.4%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4373 ms3.3%
SessionStore.createdjango/contrib/sessions/backends/db.py:742 ms2.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms1.1%
Model.savedjango/db/models/base.py:9041 ms1.1%
Model.save_basedjango/db/models/base.py:9961 ms1.1%
Model._save_tabledjango/db/models/base.py:11991 ms1.1%
Model._do_insertdjango/db/models/base.py:12511 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.1%
QuerySet._insertdjango/db/models/query.py:21411 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
SessionStore.savedjango/contrib/sessions/backends/db.py:1261 ms1.1%
Atomic.__exit__django/db/transaction.py:2591 ms1.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.1%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms1.1%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms1.1%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2011 ms1.1%
SessionStore.existsdjango/contrib/sessions/backends/db.py:631 ms1.1%
QuerySet.existsdjango/db/models/query.py:14581 ms1.1%
Query.has_resultsdjango/db/models/sql/query.py:6871 ms1.1%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15931 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4401 ms1.1%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1751 ms1.1%
Model.deletedjango/db/models/base.py:13311 ms1.1%
Collector.deletedjango/db/models/deletion.py:4831 ms1.1%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:431 ms1.1%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:251 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
logindjango/contrib/auth/__init__.py:1772 ms2.2%
SessionBase.__contains__django/contrib/sessions/backends/base.py:522 ms2.2%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2542 ms2.2%
SessionStore.loaddjango/contrib/sessions/backends/db.py:552 ms2.2%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:342 ms2.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms2.2%
QuerySet.getdjango/db/models/query.py:7022 ms2.2%
QuerySet.__len__django/db/models/query.py:4212 ms2.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms2.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.2%
Cursor.executepsycopg/cursor.py:1132 ms2.2%
Connection.waitpsycopg/connection.py:4952 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.2%
ClientMixin._logindjango/test/client.py:8913 ms3.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1263 ms3.3%
Atomic.__enter__django/db/transaction.py:2233 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms3.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms3.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3673 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms3.3%
Cursor.executepsycopg/cursor.py:1133 ms3.3%
Connection.waitpsycopg/connection.py:4953 ms3.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms3.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms3.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms3.3%
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languagesstarter_packs/tests.py:180 self.assertEqual(self.user.starterpack_set.count(), 0)3 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms3.3%
QuerySet.countdjango/db/models/query.py:6773 ms3.3%
QuerySet.querydjango/db/models/query.py:3552 ms2.2%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms2.2%
Query.add_qdjango/db/models/sql/query.py:16812 ms2.2%
Query._add_qdjango/db/models/sql/query.py:17132 ms2.2%
Query.build_filterdjango/db/models/sql/query.py:15772 ms2.2%
Query.setup_joinsdjango/db/models/sql/query.py:19922 ms2.2%
Join.__init__django/db/models/sql/datastructures.py:652 ms2.2%
Query.get_countdjango/db/models/sql/query.py:6571 ms1.1%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms1.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms1.1%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms1.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.1%
Cursor.executepsycopg/cursor.py:1131 ms1.1%
Connection.waitpsycopg/connection.py:4951 ms1.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.1%
teardown0.62 ms0.6%
Estimated from 90 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:170
response = self.client.post(
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languages · Libraries
33 ms
starter_packs/views.py:548
form = StarterPackForm(request.POST)
create_starter_pack · Libraries
21 ms
starter_packs/tests.py:169
self.client.force_login(self.user)
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languages · Database
18 ms
starter_packs/views.py:573
return render(
create_starter_pack · Templates
17 ms
starter_packs/tests.py:180
self.assertEqual(self.user.starterpack_set.count(), 0)
TestCreateStarterPack.test_create_starter_pack_rejects_too_many_languages · Database
3 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_template_string_if_invalid_marker function 0.04 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.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

25 queries · 14 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:170
93 ms
call _post_teardown
django/test/testcases.py:1243
1 ms
call pytest internals 1 ms
teardown pytest internals 0.62 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 97 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 108 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 112 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 98 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 173 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 123 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 82 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 108 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 86 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 94 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 245 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 298 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 181 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 98 ms 0c23747 main Run