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

TestCreateConference::test_form_renders_for_authenticated_user

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
803 ms
median 778 ms
max 1.29 s
Phases
Setup 2 ms Call 800 ms Teardown 0.38 ms
Categories
Password hashing 517 ms Database 40 ms Test code 0.20 ms Other (Templates, Libraries, Imports, Deep copies, ...) 246 ms

26 database queries per run

Needs 3 MB of memory (max 5 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup2 ms0.3%
call562 ms99.6%
TestCreateConference.setUpconfs/tests.py:1044 self.user = User.objects.create_user("alice", password="pw")319 ms56.5%
UserManager.create_userdjango/contrib/auth/models.py:180319 ms56.5%
UserManager._create_userdjango/contrib/auth/models.py:167317 ms56.1%
UserManager._create_user_objectdjango/contrib/auth/models.py:160317 ms56.1%
make_passworddjango/contrib/auth/hashers.py:118317 ms56.1%
PBKDF2PasswordHasher.encodedjango/contrib/auth/hashers.py:333317 ms56.1%
pbkdf2django/utils/crypto.py:93317 ms56.1%
1 smaller frames hidden
TestCreateConference.test_form_renders_for_authenticated_userconfs/tests.py:1067 response = self.client.get(reverse("create_conference"))197 ms35.0%
Client.getdjango/test/client.py:1133197 ms35.0%
RequestFactory.getdjango/test/client.py:475197 ms35.0%
RequestFactory.genericdjango/test/client.py:671197 ms35.0%
Client.requestdjango/test/client.py:1091197 ms35.0%
ClientHandler.__call__django/test/client.py:186182 ms32.3%
BaseHandler.get_responsedjango/core/handlers/base.py:142182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380182 ms32.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56182 ms32.3%
BaseHandler._get_responsedjango/core/handlers/base.py:199182 ms32.3%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:62138 ms24.5%
create_conferenceconfs/views.py:509 return render(135 ms24.0%
renderdjango/shortcuts.py:27132 ms23.4%
render_to_stringdjango/template/loader.py:6293 ms16.4%
Template.renderdjango/template/backends/django.py:10793 ms16.4%
Template.renderdjango/template/base.py:17587 ms15.3%
instrumented_test_renderdjango/test/utils.py:11387 ms15.3%
NodeList.renderdjango/template/base.py:110887 ms15.3%
Node.render_annotateddjango/template/base.py:106987 ms15.3%
ExtendsNode.renderdjango/template/loader_tags.py:16077 ms13.7%
instrumented_test_renderdjango/test/utils.py:11377 ms13.7%
NodeList.renderdjango/template/base.py:110877 ms13.7%
Node.render_annotateddjango/template/base.py:106976 ms13.5%
BlockNode.renderdjango/template/loader_tags.py:6644 ms7.8%
NodeList.renderdjango/template/base.py:110844 ms7.8%
Node.render_annotateddjango/template/base.py:106943 ms7.6%
VariableNode.renderdjango/template/base.py:117341 ms7.2%
render_value_in_contextdjango/template/base.py:115041 ms7.2%
RenderableFieldMixin.__str__django/forms/utils.py:7937 ms6.5%
BoundField.as_widgetdjango/forms/boundfield.py:10837 ms6.5%
Widget.renderdjango/forms/widgets.py:37636 ms6.3%
Widget._renderdjango/forms/widgets.py:38135 ms6.1%
BaseRenderer.renderdjango/forms/renderers.py:2927 ms4.9%
Template.renderdjango/template/backends/django.py:10727 ms4.9%
Template.renderdjango/template/base.py:17527 ms4.9%
instrumented_test_renderdjango/test/utils.py:11327 ms4.9%
NodeList.renderdjango/template/base.py:110827 ms4.9%
Node.render_annotateddjango/template/base.py:106927 ms4.9%
ForNode.renderdjango/template/defaulttags.py:24927 ms4.9%
Node.render_annotateddjango/template/base.py:106927 ms4.9%
ForNode.renderdjango/template/defaulttags.py:24927 ms4.9%
Node.render_annotateddjango/template/base.py:106927 ms4.9%
IncludeNode.renderdjango/template/loader_tags.py:21125 ms4.5%
Template.renderdjango/template/base.py:17719 ms3.4%
instrumented_test_renderdjango/test/utils.py:11319 ms3.4%
NodeList.renderdjango/template/base.py:110819 ms3.4%
Node.render_annotateddjango/template/base.py:106917 ms3.1%
IncludeNode.renderdjango/template/loader_tags.py:2117 ms1.3%
Template.renderdjango/template/base.py:1777 ms1.3%
instrumented_test_renderdjango/test/utils.py:1135 ms0.9%
NodeList.renderdjango/template/base.py:11085 ms0.9%
Node.render_annotateddjango/template/base.py:10695 ms0.9%
1 smaller frames hidden
VariableNode.renderdjango/template/base.py:11674 ms0.7%
FilterExpression.resolvedjango/template/base.py:8333 ms0.5%
1 smaller frames hidden
VariableNode.renderdjango/template/base.py:11734 ms0.7%
render_value_in_contextdjango/template/base.py:11514 ms0.7%
1 smaller frames hidden
Template.renderdjango/template/base.py:1716 ms1.1%
contextmanager.<locals>.helper<stdlib>/contextlib.py:3675 ms0.9%
_GeneratorContextManagerBase.__init__<stdlib>/contextlib.py:1715 ms0.9%
1 smaller frames hidden
2 smaller frames hidden
BaseRenderer.renderdjango/forms/renderers.py:287 ms1.3%
EngineMixin.get_templatedjango/forms/renderers.py:347 ms1.3%
DjangoTemplates.get_templatedjango/template/backends/django.py:794 ms0.7%
Engine.get_templatedjango/template/engine.py:1864 ms0.7%
Engine.find_templatedjango/template/engine.py:1594 ms0.7%
Loader.get_templatedjango/template/loaders/cached.py:574 ms0.7%
cached_property.__get__django/utils/functional.py:473 ms0.5%
EngineMixin.enginedjango/forms/renderers.py:383 ms0.5%
DjangoTemplates.__init__django/template/backends/django.py:263 ms0.5%
DjangoTemplates.get_templatetag_librariesdjango/template/backends/django.py:883 ms0.5%
get_installed_librariesdjango/template/backends/django.py:1633 ms0.5%
1 smaller frames hidden
RenderableMixin.renderdjango/forms/utils.py:554 ms0.7%
BaseRenderer.renderdjango/forms/renderers.py:293 ms0.5%
1 smaller frames hidden
SimpleNode.renderdjango/template/library.py:34325 ms4.5%
heroicon_outlineheroicons/templatetags/heroicons.py:2325 ms4.5%
_render_iconheroicons/templatetags/heroicons.py:4125 ms4.5%
_render_iconheroicons/__init__.py:4723 ms4.1%
_load_iconheroicons/__init__.py:1822 ms4.0%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150522 ms4.0%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16087 ms1.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15906 ms1.1%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16064 ms0.7%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16233 ms0.5%
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
IfNode.renderdjango/template/defaulttags.py:3334 ms0.7%
NodeList.renderdjango/template/base.py:11084 ms0.7%
Node.render_annotateddjango/template/base.py:10694 ms0.7%
VariableNode.renderdjango/template/base.py:11674 ms0.7%
FilterExpression.resolvedjango/template/base.py:8064 ms0.7%
Variable.resolvedjango/template/base.py:9454 ms0.7%
Variable._resolve_lookupdjango/template/base.py:9934 ms0.7%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2534 ms0.7%
ReverseOneToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:5373 ms0.5%
FetchOne.fetchdjango/db/models/fetch_modes.py:173 ms0.5%
ReverseOneToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:5623 ms0.5%
2 smaller frames hidden
ExtendsNode.renderdjango/template/loader_tags.py:1359 ms1.6%
ExtendsNode.get_parentdjango/template/loader_tags.py:1329 ms1.6%
ExtendsNode.find_templatedjango/template/loader_tags.py:1109 ms1.6%
Engine.find_templatedjango/template/engine.py:1599 ms1.6%
Loader.get_templatedjango/template/loaders/cached.py:579 ms1.6%
Loader.get_templatedjango/template/loaders/base.py:288 ms1.4%
__init____init__:-18 ms1.4%
Template.__init__django/template/base.py:1588 ms1.4%
Template.compile_nodelistdjango/template/base.py:2007 ms1.3%
Parser.parsedjango/template/base.py:6017 ms1.3%
do_staticdjango/templatetags/static.py:1553 ms0.5%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]3 ms0.5%
Coverage._should_tracecoverage/control.py:4523 ms0.5%
InOrOut.should_tracecoverage/inorout.py:4393 ms0.5%
InOrOut.check_include_omit_etccoverage/inorout.py:4693 ms0.5%
TreeMatcher.matchcoverage/files.py:2753 ms0.5%
abs_filecoverage/files.py:1583 ms0.5%
realpath<frozen posixpath>:4603 ms0.5%
3 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
Template.renderdjango/template/base.py:1736 ms1.1%
_request_context_bind_templatedebug_toolbar/panels/templates/panel.py:466 ms1.1%
cached_property.__get__django/utils/functional.py:476 ms1.1%
Engine.template_context_processorsdjango/template/engine.py:1186 ms1.1%
Engine.template_context_processors.<locals>.<genexpr>django/template/engine.py:1186 ms1.1%
import_stringdjango/utils/module_loading.py:306 ms1.1%
cached_importdjango/utils/module_loading.py:156 ms1.1%
import_module<stdlib>/importlib/__init__.py:886 ms1.1%
_gcd_import<frozen importlib._bootstrap>:13896 ms1.1%
_find_and_load<frozen importlib._bootstrap>:13536 ms1.1%
_find_and_load_unlocked<frozen importlib._bootstrap>:12496 ms1.1%
_load_unlocked<frozen importlib._bootstrap>:8576 ms1.1%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7516 ms1.1%
_call_with_frames_removed<frozen importlib._bootstrap>:4916 ms1.1%
<module>django/template/context_processors.py:166 ms1.1%
render_to_stringdjango/template/loader.py:6140 ms7.0%
get_templatedjango/template/loader.py:1223 ms4.1%
_engine_listdjango/template/loader.py:6623 ms4.1%
EngineHandler.alldjango/template/utils.py:9423 ms4.1%
EngineHandler.__getitem__django/template/utils.py:8523 ms4.1%
DjangoTemplates.__init__django/template/backends/django.py:2623 ms4.1%
DjangoTemplates.get_templatetag_librariesdjango/template/backends/django.py:8823 ms4.1%
get_installed_librariesdjango/template/backends/django.py:16323 ms4.1%
get_template_tag_modulesdjango/template/backends/django.py:15115 ms2.7%
get_package_librariesdjango/template/backends/django.py:17415 ms2.7%
import_module<stdlib>/importlib/__init__.py:8815 ms2.7%
_gcd_import<frozen importlib._bootstrap>:138915 ms2.7%
_find_and_load<frozen importlib._bootstrap>:135311 ms2.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:124910 ms1.8%
_load_unlocked<frozen importlib._bootstrap>:85710 ms1.8%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7519 ms1.6%
_call_with_frames_removed<frozen importlib._bootstrap>:4919 ms1.6%
<module>django/contrib/admin/templatetags/admin_modify.py4 ms0.7%
SysMonitor.sysmon_py_startcoverage/sysmon.py:3374 ms0.7%
<module>django_cotton/templatetags/_vars.py:183 ms0.5%
NamedTupleMeta.__new__<stdlib>/typing.py:30533 ms0.5%
_make_eager_annotate<stdlib>/typing.py:30173 ms0.5%
_type_check<stdlib>/typing.py:1953 ms0.5%
_type_convert<stdlib>/typing.py:1733 ms0.5%
_make_forward_ref<stdlib>/typing.py:10043 ms0.5%
ForwardRef.__forward_code__<stdlib>/annotationlib.py:3023 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
_find_and_load<frozen importlib._bootstrap>:13084 ms0.7%
get_template_tag_modulesdjango/template/backends/django.py:1458 ms1.4%
import_module<stdlib>/importlib/__init__.py:888 ms1.4%
_gcd_import<frozen importlib._bootstrap>:13898 ms1.4%
_find_and_load<frozen importlib._bootstrap>:13538 ms1.4%
_find_and_load_unlocked<frozen importlib._bootstrap>:12384 ms0.7%
_find_spec<frozen importlib._bootstrap>:11644 ms0.7%
_find_and_load_unlocked<frozen importlib._bootstrap>:12494 ms0.7%
_load_unlocked<frozen importlib._bootstrap>:8574 ms0.7%
get_templatedjango/template/loader.py:1516 ms2.9%
DjangoTemplates.get_templatedjango/template/backends/django.py:7916 ms2.9%
Engine.get_templatedjango/template/engine.py:18616 ms2.9%
Engine.find_templatedjango/template/engine.py:15711 ms2.0%
cached_property.__get__django/utils/functional.py:4711 ms2.0%
Engine.template_loadersdjango/template/engine.py:13111 ms2.0%
Engine.get_template_loadersdjango/template/engine.py:13611 ms2.0%
Engine.find_template_loaderdjango/template/engine.py:1496 ms1.1%
Loader.__init__django/template/loaders/cached.py:176 ms1.1%
Engine.get_template_loadersdjango/template/engine.py:1366 ms1.1%
Engine.find_template_loaderdjango/template/engine.py:1486 ms1.1%
import_stringdjango/utils/module_loading.py:306 ms1.1%
cached_importdjango/utils/module_loading.py:156 ms1.1%
import_module<stdlib>/importlib/__init__.py:886 ms1.1%
_gcd_import<frozen importlib._bootstrap>:13896 ms1.1%
_find_and_load<frozen importlib._bootstrap>:13536 ms1.1%
_find_and_load_unlocked<frozen importlib._bootstrap>:12383 ms0.5%
_find_spec<frozen importlib._bootstrap>:11643 ms0.5%
PurePath.name<stdlib>/pathlib/__init__.py:4043 ms0.5%
PurePath._tail<stdlib>/pathlib/__init__.py:3653 ms0.5%
_find_and_load_unlocked<frozen importlib._bootstrap>:12493 ms0.5%
_load_unlocked<frozen importlib._bootstrap>:8573 ms0.5%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7513 ms0.5%
_call_with_frames_removed<frozen importlib._bootstrap>:4913 ms0.5%
<module>django_cotton/cotton_loader.py:133 ms0.5%
_find_and_load<frozen importlib._bootstrap>:13533 ms0.5%
Engine.find_template_loaderdjango/template/engine.py:1485 ms0.9%
import_stringdjango/utils/module_loading.py:305 ms0.9%
cached_importdjango/utils/module_loading.py:155 ms0.9%
import_module<stdlib>/importlib/__init__.py:885 ms0.9%
_gcd_import<frozen importlib._bootstrap>:13895 ms0.9%
_find_and_load<frozen importlib._bootstrap>:13385 ms0.9%
_resolve_parents<frozen importlib._bootstrap>:12995 ms0.9%
_call_with_frames_removed<frozen importlib._bootstrap>:4915 ms0.9%
_gcd_import<frozen importlib._bootstrap>:13895 ms0.9%
_find_and_load<frozen importlib._bootstrap>:13535 ms0.9%
_find_and_load_unlocked<frozen importlib._bootstrap>:12495 ms0.9%
_load_unlocked<frozen importlib._bootstrap>:8575 ms0.9%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7515 ms0.9%
_call_with_frames_removed<frozen importlib._bootstrap>:4915 ms0.9%
<module>django/template/loaders/__init__.py5 ms0.9%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]5 ms0.9%
Coverage._should_tracecoverage/control.py:4525 ms0.9%
InOrOut.should_tracecoverage/inorout.py:4395 ms0.9%
InOrOut.check_include_omit_etccoverage/inorout.py:4695 ms0.9%
TreeMatcher.matchcoverage/files.py:2755 ms0.9%
abs_filecoverage/files.py:1585 ms0.9%
realpath<frozen posixpath>:4605 ms0.9%
Engine.find_templatedjango/template/engine.py:1595 ms0.9%
Loader.get_templatedjango/template/loaders/cached.py:575 ms0.9%
Loader.get_templatedjango/template/loaders/base.py:284 ms0.7%
Template.__init__django/template/base.py:1584 ms0.7%
Template.compile_nodelistdjango/template/base.py:2004 ms0.7%
Parser.parsedjango/template/base.py:6014 ms0.7%
1 smaller frames hidden
renderdjango/shortcuts.py:283 ms0.5%
create_conferenceconfs/views.py:5073 ms0.5%
ConferenceForm.__init__confs/views.py:420 super().__init__(*args, **kwargs)3 ms0.5%
BaseModelForm.__init__django/forms/models.py:3813 ms0.5%
BaseForm.__init__django/forms/forms.py:1063 ms0.5%
deepcopy<stdlib>/copy.py:1303 ms0.5%
_deepcopy_dict<stdlib>/copy.py:2013 ms0.5%
deepcopy<stdlib>/copy.py:1373 ms0.5%
ChoiceField.__deepcopy__django/forms/fields.py:8743 ms0.5%
deepcopy<stdlib>/copy.py:1303 ms0.5%
_deepcopy_list<stdlib>/copy.py:1763 ms0.5%
deepcopy<stdlib>/copy.py:1303 ms0.5%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:5944 ms7.8%
login_required.<locals>.<lambda>django/contrib/auth/decorators.py:8244 ms7.8%
new_method_proxy.<locals>.innerdjango/utils/functional.py:25144 ms7.8%
SimpleLazyObject._setupdjango/utils/functional.py:40444 ms7.8%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:3944 ms7.8%
get_userdjango/contrib/auth/middleware.py:1944 ms7.8%
get_userdjango/contrib/auth/__init__.py:28744 ms7.8%
_get_user_session_keydjango/contrib/auth/__init__.py:11144 ms7.8%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:5544 ms7.8%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:25444 ms7.8%
SessionStore.loaddjango/contrib/sessions/backends/db.py:5544 ms7.8%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:3444 ms7.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8744 ms7.8%
QuerySet.getdjango/db/models/query.py:70244 ms7.8%
QuerySet.__len__django/db/models/query.py:42144 ms7.8%
QuerySet._fetch_alldjango/db/models/query.py:226244 ms7.8%
ModelIterable.__iter__django/db/models/query.py:10344 ms7.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162544 ms7.8%
CursorWrapper.executedjango/db/backends/utils.py:7944 ms7.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9244 ms7.8%
CursorWrapper._executedjango/db/backends/utils.py:10544 ms7.8%
Cursor.executepsycopg/cursor.py:11442 ms7.4%
1 smaller frames hidden
ClientHandler.__call__django/test/client.py:17315 ms2.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6315 ms2.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10415 ms2.7%
WhiteNoise.add_fileswhitenoise/base.py:10815 ms2.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms1.6%
scantreewhitenoise/base.py:2718 ms1.4%
scantreewhitenoise/base.py:2718 ms1.4%
scantreewhitenoise/base.py:2733 ms0.5%
scantreewhitenoise/base.py:2713 ms0.5%
scantreewhitenoise/base.py:2713 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
WhiteNoise.update_files_dictionarywhitenoise/base.py:1206 ms1.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:2175 ms0.9%
1 smaller frames hidden
TestCreateConference.test_form_renders_for_authenticated_userconfs/tests.py:1066 self.client.force_login(self.user)21 ms3.8%
ClientMixin.force_logindjango/test/client.py:85821 ms3.8%
ClientMixin._logindjango/test/client.py:88911 ms2.0%
logindjango/contrib/auth/__init__.py:1898 ms1.4%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4375 ms0.9%
SessionStore.createdjango/contrib/sessions/backends/db.py:743 ms0.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1263 ms0.5%
1 smaller frames hidden
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4403 ms0.5%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1753 ms0.5%
2 smaller frames hidden
ClientMixin._logindjango/test/client.py:8846 ms1.1%
ClientMixin.sessiondjango/test/client.py:8156 ms1.1%
SessionStore.savedjango/contrib/sessions/backends/db.py:1216 ms1.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:703 ms0.5%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2013 ms0.5%
SessionStore.existsdjango/contrib/sessions/backends/db.py:633 ms0.5%
QuerySet.existsdjango/db/models/query.py:14583 ms0.5%
Query.has_resultsdjango/db/models/sql/query.py:6873 ms0.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15933 ms0.5%
SessionStore.createdjango/contrib/sessions/backends/db.py:743 ms0.5%
ClientMixin._logindjango/test/client.py:8914 ms0.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1273 ms0.5%
Model.savedjango/db/models/base.py:9043 ms0.5%
Model.save_basedjango/db/models/base.py:9963 ms0.5%
Model._save_tabledjango/db/models/base.py:11403 ms0.5%
Model._do_updatedjango/db/models/base.py:12443 ms0.5%
QuerySet._updatedjango/db/models/query.py:14483 ms0.5%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21503 ms0.5%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21213 ms0.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms0.5%
Cursor.executepsycopg/cursor.py:1133 ms0.5%
Connection.waitpsycopg/connection.py:4953 ms0.5%
1 smaller frames hidden
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()18 ms3.2%
TestCase._fixture_teardowndjango/test/testcases.py:149715 ms2.7%
TestCase._should_check_constraintsdjango/test/testcases.py:150615 ms2.7%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:50415 ms2.7%
Cursor.executepsycopg/cursor.py:11315 ms2.7%
Connection.waitpsycopg/connection.py:49515 ms2.7%
TestCase._fixture_teardowndjango/test/testcases.py:15003 ms0.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14083 ms0.5%
Atomic.__exit__django/db/transaction.py:2953 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms0.5%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4133 ms0.5%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3713 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms0.5%
Cursor.executepsycopg/cursor.py:1133 ms0.5%
Connection.waitpsycopg/connection.py:4953 ms0.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms0.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms0.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms0.5%
TestCreateConference.test_form_renders_for_authenticated_userconfs/tests.py:1065 ConferenceTag.objects.get_or_create(slug="python", defaults={"name": "Python", "icon": "languages/python.png"})6 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:876 ms1.1%
QuerySet.get_or_createdjango/db/models/query.py:10546 ms1.1%
QuerySet.getdjango/db/models/query.py:6925 ms0.9%
QuerySet.filterdjango/db/models/query.py:16765 ms0.9%
QuerySet._filter_or_excludedjango/db/models/query.py:16945 ms0.9%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17045 ms0.9%
Query.add_qdjango/db/models/sql/query.py:16815 ms0.9%
Query._add_qdjango/db/models/sql/query.py:17135 ms0.9%
Query.build_filterdjango/db/models/sql/query.py:15605 ms0.9%
Query.resolve_lookup_valuedjango/db/models/sql/query.py:13235 ms0.9%
<GC>~5 ms0.9%
1 smaller frames hidden
Estimated from 553 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:1044
self.user = User.objects.create_user("alice", password="pw")
TestCreateConference.setUp · Password hashing
319 ms
confs/views.py:509
return render(
create_conference · Templates
135 ms
confs/tests.py:1067
response = self.client.get(reverse("create_conference"))
TestCreateConference.test_form_renders_for_authenticated_user · Database
59 ms
confs/tests.py:1066
self.client.force_login(self.user)
TestCreateConference.test_form_renders_for_authenticated_user · Database
21 ms
confs/tests.py:1065
ConferenceTag.objects.get_or_create(slug="python", defaults={"name": "Python", "icon": "languages/python.png"})
TestCreateConference.test_form_renders_for_authenticated_user · Database
6 ms
confs/views.py:420
super().__init__(*args, **kwargs)
ConferenceForm.__init__ · Deep copies
3 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.07 ms
_django_db_marker function 0.04 ms
_django_isolate_apps function 0.04 ms
_template_string_if_invalid_marker function 0.03 ms
_django_set_urlconf function 0.03 ms
_live_server_helper function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

26 queries · 28 ms
No repeated queries.

Biggest pieces of work

call setUp
confs/tests.py:1044
319 ms
call test body
confs/tests.py:1067
225 ms
call _post_teardown
django/test/testcases.py:1243
18 ms
setup pytest internals 2 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 564 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 778 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 875 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 515 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 1.00 s 4f01055 main Profile
1 month ago CI github-actions:test passed 964 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 638 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 620 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 625 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 493 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 1.25 s 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 819 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 1.29 s ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 643 ms 0c23747 main Run