Tests / fedidevs/tests.py
TestAnonymousCacheAndCsrf::test_anonymous_forms_work_after_csrf_bootstrap
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
228 ms
median 169 ms
max 436 ms
max 436 ms
Phases
Setup 20 ms
Call 208 ms
Teardown 0.32 ms
Categories
Database 32 ms
Network 0.50 ms
Other (Libraries, pytest, Imports, Templates, ...) 196 ms
8 database queries per run
Needs 88 KB of memory (max 204 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
setup13 ms9.1%
CallInfo.from_call_pytest/runner.py:36113 ms9.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:25013 ms9.1%
HookCaller.__call__pluggy/_hooks.py:51213 ms9.1%
PluginManager._hookexecpluggy/_manager.py:12013 ms9.1%
_multicallpluggy/_callers.py:12112 ms8.4%
pytest_runtest_setup_pytest/runner.py:17012 ms8.4%
SetupState.setup_pytest/runner.py:53612 ms8.4%
TestCaseFunction.setup_pytest/unittest.py:24812 ms8.4%
Function.setup_pytest/python.py:171012 ms8.4%
TopRequest._fillfixtures_pytest/fixtures.py:80612 ms8.4%
FixtureRequest.getfixturevalue_pytest/fixtures.py:63012 ms8.4%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:72612 ms8.4%
FixtureDef.execute_pytest/fixtures.py:123212 ms8.4%
HookCaller.__call__pluggy/_hooks.py:51212 ms8.4%
PluginManager._hookexecpluggy/_manager.py:12012 ms8.4%
_multicallpluggy/_callers.py:12112 ms8.4%
pytest_fixture_setup_pytest/fixtures.py:132812 ms8.4%
call_fixture_func_pytest/fixtures.py:99812 ms8.4%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:15912 ms8.4%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()12 ms8.4%
TestCase._enter_atomicsdjango/test/testcases.py:139912 ms8.4%
Atomic.__enter__django/db/transaction.py:21012 ms8.4%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45412 ms8.4%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30412 ms8.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2612 ms8.4%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27912 ms8.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2612 ms8.4%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25612 ms8.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2612 ms8.4%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34512 ms8.4%
Connection.connectpsycopg/connection.py:10910 ms7.0%
wait_connpsycopg/waiting.py:1457 ms4.9%
BaseConnection._connect_genpsycopg/_connection_base.py:4396 ms4.2%
BaseConnection._connect_genpsycopg/_connection_base.py:4400.98 ms0.7%
__init____init__:-10.98 ms0.7%
Connection.__init__psycopg/connection.py:750.98 ms0.7%
BaseConnection.__init__psycopg/_connection_base.py:1220.98 ms0.7%
wait_connpsycopg/waiting.py:1413 ms2.1%
EpollSelector.select<stdlib>/selectors.py:4523 ms2.1%
Connection.connectpsycopg/connection.py:972 ms1.4%
Connection._get_connection_paramspsycopg/connection.py:1852 ms1.4%
_multicallpluggy/_callers.py:1520.98 ms0.7%
CaptureManager.pytest_runtest_setup_pytest/capture.py:8940.98 ms0.7%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2100.98 ms0.7%
CaptureManager.item_capture_pytest/capture.py:8670.98 ms0.7%
CaptureManager.read_global_capture_pytest/capture.py:8030.98 ms0.7%
MultiCapture.readouterr_pytest/capture.py:7060.98 ms0.7%
FDCapture.snap_pytest/capture.py:5940.98 ms0.7%
call127 ms90.7%
CallInfo.from_call_pytest/runner.py:361127 ms90.7%
call_and_report.<locals>.<lambda>_pytest/runner.py:250127 ms90.7%
HookCaller.__call__pluggy/_hooks.py:512127 ms90.7%
PluginManager._hookexecpluggy/_manager.py:120127 ms90.7%
_multicallpluggy/_callers.py:121125 ms89.7%
pytest_runtest_call_pytest/runner.py:184125 ms89.7%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:614125 ms89.7%
SimpleTestCase.__call__django/test/testcases.py:314125 ms89.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:369122 ms87.7%
TestCase.__call__<stdlib>/unittest/case.py:747122 ms87.7%
TestCase.run<stdlib>/unittest/case.py:691122 ms87.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:637122 ms87.7%
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrapfedidevs/tests.py:97 subscribe = client.post(63 ms45.3%
Client.postdjango/test/client.py:116263 ms45.3%
RequestFactory.postdjango/test/client.py:49963 ms45.3%
RequestFactory.genericdjango/test/client.py:67163 ms45.3%
Client.requestdjango/test/client.py:109163 ms45.3%
ClientHandler.__call__django/test/client.py:18663 ms45.3%
BaseHandler.get_responsedjango/core/handlers/base.py:14263 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12363 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14563 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38063 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5663 ms45.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19963 ms45.3%
subscribeposts/views.py:38 if form.is_valid():54 ms38.4%
BaseForm.is_validdjango/forms/forms.py:20654 ms38.4%
BaseForm.errorsdjango/forms/forms.py:20154 ms38.4%
BaseForm.full_cleandjango/forms/forms.py:33754 ms38.4%
BaseForm._clean_fieldsdjango/forms/forms.py:34554 ms38.4%
Field._clean_bound_fielddjango/forms/fields.py:27354 ms38.4%
Field.cleandjango/forms/fields.py:21054 ms38.4%
Field.run_validatorsdjango/forms/fields.py:19554 ms38.4%
EmailValidator.__call__django/core/validators.py:25552 ms37.5%
EmailValidator.validate_domain_partdjango/core/validators.py:26152 ms37.5%
new_method_proxy.<locals>.innerdjango/utils/functional.py:25152 ms37.5%
SimpleLazyObject._setupdjango/utils/functional.py:40452 ms37.5%
_lazy_re_compile.<locals>._compiledjango/utils/regex_helper.py:34952 ms37.5%
compile<stdlib>/re/__init__.py:29152 ms37.5%
_compile<stdlib>/re/__init__.py:35252 ms37.5%
compile<stdlib>/re/_compiler.py:76652 ms37.5%
_code<stdlib>/re/_compiler.py:59952 ms37.5%
_compile<stdlib>/re/_compiler.py:12432 ms22.7%
_compile<stdlib>/re/_compiler.py:11622 ms15.8%
_compile<stdlib>/re/_compiler.py:8822 ms15.8%
_optimize_charset<stdlib>/re/_compiler.py:27412 ms8.9%
_optimize_charset<stdlib>/re/_compiler.py:2736 ms3.9%
_optimize_charset<stdlib>/re/_compiler.py:2724 ms3.0%
_compile<stdlib>/re/_compiler.py:8810 ms6.9%
_optimize_charset<stdlib>/re/_compiler.py:2746 ms3.9%
_optimize_charset<stdlib>/re/_compiler.py:2723 ms2.0%
_optimize_charset<stdlib>/re/_compiler.py:2731 ms1.0%
_compile<stdlib>/re/_compiler.py:8811 ms7.9%
_optimize_charset<stdlib>/re/_compiler.py:2727 ms4.9%
_optimize_charset<stdlib>/re/_compiler.py:2743 ms2.0%
_optimize_charset<stdlib>/re/_compiler.py:2731 ms1.0%
_compile<stdlib>/re/_compiler.py:18110 ms6.9%
_compile<stdlib>/re/_compiler.py:11610 ms6.9%
_compile<stdlib>/re/_compiler.py:8810 ms6.9%
_optimize_charset<stdlib>/re/_compiler.py:2746 ms3.9%
_optimize_charset<stdlib>/re/_compiler.py:2724 ms3.0%
EmailValidator.__call__django/core/validators.py:2521 ms1.0%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms1.0%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms1.0%
_lazy_re_compile.<locals>._compiledjango/utils/regex_helper.py:3491 ms1.0%
compile<stdlib>/re/__init__.py:2911 ms1.0%
_compile<stdlib>/re/__init__.py:3521 ms1.0%
compile<stdlib>/re/_compiler.py:7661 ms1.0%
_code<stdlib>/re/_compiler.py:5991 ms1.0%
_compile<stdlib>/re/_compiler.py:1331 ms1.0%
_compile<stdlib>/re/_compiler.py:1811 ms1.0%
_compile<stdlib>/re/_compiler.py:1241 ms1.0%
_compile<stdlib>/re/_compiler.py:1331 ms1.0%
_compile<stdlib>/re/_compiler.py:1161 ms1.0%
_compile<stdlib>/re/_compiler.py:881 ms1.0%
_optimize_charset<stdlib>/re/_compiler.py:2721 ms1.0%
subscribeposts/views.py:41 send_mail(6 ms3.9%
deprecate_posargs.<locals>.decorator.<locals>.wrapperdjango/utils/deprecation.py:3396 ms3.9%
send_maildjango/core/mail/__init__.py:1653 ms2.0%
deprecate_posargs.<locals>.decorator.<locals>.wrapperdjango/utils/deprecation.py:3393 ms2.0%
get_connectiondjango/core/mail/__init__.py:973 ms2.0%
MailersHandler.create_connectiondjango/core/mail/handler.py:733 ms2.0%
import_stringdjango/utils/module_loading.py:303 ms2.0%
cached_importdjango/utils/module_loading.py:153 ms2.0%
import_module<stdlib>/importlib/__init__.py:883 ms2.0%
_gcd_import<frozen importlib._bootstrap>:13903 ms2.0%
_find_and_load<frozen importlib._bootstrap>:13503 ms2.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:12771 ms1.0%
_call_with_frames_removed<frozen importlib._bootstrap>:5491 ms1.0%
_gcd_import<frozen importlib._bootstrap>:13901 ms1.0%
_find_and_load<frozen importlib._bootstrap>:13501 ms1.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:13091 ms1.0%
_load_unlocked<frozen importlib._bootstrap>:9151 ms1.0%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7431 ms1.0%
SourceLoader.get_code<frozen importlib._bootstrap_external>:8901 ms1.0%
SourceFileLoader._cache_bytecode<frozen importlib._bootstrap_external>:9461 ms1.0%
SourceFileLoader.set_data<frozen importlib._bootstrap_external>:9601 ms1.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:13091 ms1.0%
_load_unlocked<frozen importlib._bootstrap>:9151 ms1.0%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:7471 ms1.0%
_call_with_frames_removed<frozen importlib._bootstrap>:5491 ms1.0%
<module>django/core/mail/backends/locmem.py1 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.0%
Coverage._should_tracecoverage/control.py:4521 ms1.0%
InOrOut.should_tracecoverage/inorout.py:4391 ms1.0%
InOrOut.check_include_omit_etccoverage/inorout.py:4691 ms1.0%
TreeMatcher.matchcoverage/files.py:2751 ms1.0%
abs_filecoverage/files.py:1581 ms1.0%
realpath<frozen posixpath>:4601 ms1.0%
send_maildjango/core/mail/__init__.py:1031 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.0%
Coverage._should_tracecoverage/control.py:4521 ms1.0%
InOrOut.should_tracecoverage/inorout.py:4011 ms1.0%
canonical_filenamecoverage/files.py:851 ms1.0%
abs_filecoverage/files.py:1581 ms1.0%
realpath<frozen posixpath>:4601 ms1.0%
send_maildjango/core/mail/__init__.py:1831 ms1.0%
EmailMessage.senddjango/core/mail/message.py:4171 ms1.0%
EmailBackend.send_messagesdjango/core/mail/backends/locmem.py:321 ms1.0%
EmailMessage.messagedjango/core/mail/message.py:3411 ms1.0%
EmailMultiAlternatives._add_bodiesdjango/core/mail/message.py:6621 ms1.0%
EmailMessage._add_bodiesdjango/core/mail/message.py:4931 ms1.0%
EmailMessage.set_content<stdlib>/email/message.py:12171 ms1.0%
Message.__setitem__<stdlib>/email/message.py:4391 ms1.0%
EmailPolicy.header_max_count<stdlib>/email/policy.py:1121 ms1.0%
HeaderRegistry.__getitem__<stdlib>/email/headerregistry.py:6041 ms1.0%
subscribeposts/views.py:39 form.save()3 ms2.0%
BaseModelForm.savedjango/forms/models.py:5743 ms2.0%
Model.savedjango/db/models/base.py:9043 ms2.0%
Model.save_basedjango/db/models/base.py:9963 ms2.0%
Model._save_tabledjango/db/models/base.py:11993 ms2.0%
Model._do_insertdjango/db/models/base.py:12513 ms2.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms2.0%
QuerySet._insertdjango/db/models/query.py:21413 ms2.0%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19363 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms2.0%
Cursor.executepsycopg/cursor.py:1133 ms2.0%
Connection.waitpsycopg/connection.py:4953 ms2.0%
subscribeposts/views.py:37 form = SubscribeForm(request.POST)1 ms1.0%
BaseModelForm.__init__django/forms/models.py:3811 ms1.0%
BaseForm.__init__django/forms/forms.py:1231 ms1.0%
get_default_rendererdjango/forms/renderers.py:111 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.0%
Coverage._should_tracecoverage/control.py:4521 ms1.0%
InOrOut.should_tracecoverage/inorout.py:4011 ms1.0%
canonical_filenamecoverage/files.py:851 ms1.0%
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrapfedidevs/tests.py:87 page = client.get("/login/")37 ms26.6%
Client.getdjango/test/client.py:113337 ms26.6%
RequestFactory.getdjango/test/client.py:47537 ms26.6%
RequestFactory.genericdjango/test/client.py:67137 ms26.6%
Client.requestdjango/test/client.py:109137 ms26.6%
ClientHandler.__call__django/test/client.py:17330 ms21.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6329 ms20.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms20.7%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms20.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12019 ms13.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13119 ms13.8%
WhiteNoise.get_static_filewhitenoise/base.py:21718 ms12.8%
StaticFile.__init__whitenoise/responders.py:7310 ms6.9%
StaticFile.get_headerswhitenoise/responders.py:1763 ms2.0%
StaticFile.get_headerswhitenoise/responders.py:1703 ms2.0%
StaticFile.get_headerswhitenoise/responders.py:1781 ms1.0%
parsedate<stdlib>/email/_parseaddr.py:1851 ms1.0%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms1.0%
StaticFile.get_headerswhitenoise/responders.py:1811 ms1.0%
StaticFile.__init__whitenoise/responders.py:774 ms3.0%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms3.0%
__init____init__:-14 ms3.0%
Headers.__init__<stdlib>/wsgiref/headers.py:431 ms1.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.0%
Headers.__init__<stdlib>/wsgiref/headers.py:361 ms1.0%
<GC>~1 ms1.0%
Headers.__init__<stdlib>/wsgiref/headers.py:441 ms1.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms1.0%
StaticFile.__init__whitenoise/responders.py:763 ms2.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1881 ms1.0%
Headers.__contains__<stdlib>/wsgiref/headers.py:871 ms1.0%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms1.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1901 ms1.0%
StaticFile.__init__whitenoise/responders.py:721 ms1.0%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms1.0%
formatdate<stdlib>/email/utils.py:2591 ms1.0%
Headers.__init__<stdlib>/wsgiref/headers.py:441 ms1.0%
WhiteNoise.get_static_filewhitenoise/base.py:2121 ms1.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2331 ms1.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms1.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms1.0%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms1.0%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms1.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2081 ms1.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms5.9%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2737 ms4.9%
scantreewhitenoise/base.py:2731 ms1.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:421 ms1.0%
import_stringdjango/utils/module_loading.py:301 ms1.0%
cached_importdjango/utils/module_loading.py:161 ms1.0%
ClientHandler.__call__django/test/client.py:1867 ms4.9%
BaseHandler.get_responsedjango/core/handlers/base.py:1427 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1237 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1457 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3807 ms4.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:567 ms4.9%
BaseHandler._get_responsedjango/core/handlers/base.py:1997 ms4.9%
loginaccounts/views.py:280 return render(request, "login.html")7 ms4.9%
renderdjango/shortcuts.py:277 ms4.9%
render_to_stringdjango/template/loader.py:627 ms4.9%
Template.renderdjango/template/backends/django.py:1077 ms4.9%
Template.renderdjango/template/base.py:1757 ms4.9%
instrumented_test_renderdjango/test/utils.py:1137 ms4.9%
NodeList.renderdjango/template/base.py:11087 ms4.9%
Node.render_annotateddjango/template/base.py:10697 ms4.9%
ExtendsNode.renderdjango/template/loader_tags.py:1607 ms4.9%
instrumented_test_renderdjango/test/utils.py:1137 ms4.9%
NodeList.renderdjango/template/base.py:11087 ms4.9%
Node.render_annotateddjango/template/base.py:10697 ms4.9%
BlockNode.renderdjango/template/loader_tags.py:664 ms3.0%
NodeList.renderdjango/template/base.py:11084 ms3.0%
Node.render_annotateddjango/template/base.py:10694 ms3.0%
WithNode.renderdjango/template/defaulttags.py:5814 ms3.0%
NodeList.renderdjango/template/base.py:11084 ms3.0%
Node.render_annotateddjango/template/base.py:10694 ms3.0%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms3.0%
Template.renderdjango/template/base.py:1774 ms3.0%
instrumented_test_renderdjango/test/utils.py:1134 ms3.0%
NodeList.renderdjango/template/base.py:11084 ms3.0%
Node.render_annotateddjango/template/base.py:10694 ms3.0%
SimpleNode.renderdjango/template/library.py:3434 ms3.0%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms3.0%
QuerySet.__iter__django/db/models/query.py:4394 ms3.0%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms3.0%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms3.0%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms3.0%
Cursor.executepsycopg/cursor.py:1134 ms3.0%
IfNode.renderdjango/template/defaulttags.py:3333 ms2.0%
NodeList.renderdjango/template/base.py:11083 ms2.0%
Node.render_annotateddjango/template/base.py:10693 ms2.0%
SimpleNode.renderdjango/template/library.py:3431 ms1.0%
heroicon_outlineheroicons/templatetags/heroicons.py:231 ms1.0%
_render_iconheroicons/templatetags/heroicons.py:411 ms1.0%
_render_iconheroicons/__init__.py:651 ms1.0%
tostring<stdlib>/xml/etree/ElementTree.py:11101 ms1.0%
IncludeNode.renderdjango/template/loader_tags.py:2111 ms1.0%
Template.renderdjango/template/base.py:1771 ms1.0%
instrumented_test_renderdjango/test/utils.py:1131 ms1.0%
NodeList.renderdjango/template/base.py:11081 ms1.0%
Node.render_annotateddjango/template/base.py:10691 ms1.0%
URLNode.renderdjango/template/defaulttags.py:5111 ms1.0%
reversedjango/urls/base.py:981 ms1.0%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8131 ms1.0%
escape_leading_slashesdjango/utils/http.py:3431 ms1.0%
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrapfedidevs/tests.py:91 response = client.post(19 ms13.8%
Client.postdjango/test/client.py:116219 ms13.8%
RequestFactory.postdjango/test/client.py:49919 ms13.8%
RequestFactory.genericdjango/test/client.py:67119 ms13.8%
Client.requestdjango/test/client.py:109119 ms13.8%
ClientHandler.__call__django/test/client.py:18618 ms12.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14218 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12318 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14518 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms12.8%
BaseHandler._get_responsedjango/core/handlers/base.py:19917 ms11.8%
set_languagedjango/views/i18n.py:6115 ms10.8%
translate_urldjango/urls/base.py:2018 ms5.9%
reversedjango/urls/base.py:988 ms5.9%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:7628 ms5.9%
URLResolver.reverse_dictdjango/urls/resolvers.py:6338 ms5.9%
URLResolver._populatedjango/urls/resolvers.py:5847 ms4.9%
URLResolver._populatedjango/urls/resolvers.py:5983 ms2.0%
normalizedjango/utils/regex_helper.py:751 ms1.0%
next_chardjango/utils/regex_helper.py:2081 ms1.0%
normalizedjango/utils/regex_helper.py:1851 ms1.0%
URLResolver._populatedjango/urls/resolvers.py:5841 ms1.0%
URLResolver._populatedjango/urls/resolvers.py:5631 ms1.0%
normalizedjango/utils/regex_helper.py:751 ms1.0%
next_chardjango/utils/regex_helper.py:1961 ms1.0%
<GC>~1 ms1.0%
URLResolver._populatedjango/urls/resolvers.py:5911 ms1.0%
URLResolver.reverse_dictdjango/urls/resolvers.py:6311 ms1.0%
get_languagedjango/utils/translation/__init__.py:2111 ms1.0%
get_languagedjango/utils/translation/trans_real.py:3291 ms1.0%
Local.__getattr__asgiref/local.py:1571 ms1.0%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2101 ms1.0%
URLResolver._populatedjango/urls/resolvers.py:6061 ms1.0%
URLResolver._populatedjango/urls/resolvers.py:5631 ms1.0%
normalizedjango/utils/regex_helper.py:1931 ms1.0%
flatten_resultdjango/utils/regex_helper.py:3201 ms1.0%
translate_urldjango/urls/base.py:1997 ms4.9%
override.__enter__django/utils/translation/__init__.py:1977 ms4.9%
activatedjango/utils/translation/__init__.py:1827 ms4.9%
activatedjango/utils/translation/trans_real.py:3057 ms4.9%
translationdjango/utils/translation/trans_real.py:2947 ms4.9%
__init____init__:-17 ms4.9%
DjangoTranslation.__init__django/utils/translation/trans_real.py:1716 ms3.9%
DjangoTranslation._add_installed_apps_translationsdjango/utils/translation/trans_real.py:2274 ms3.0%
DjangoTranslation._new_gnu_transdjango/utils/translation/trans_real.py:2004 ms3.0%
translation<stdlib>/gettext.py:5484 ms3.0%
__init____init__:-14 ms3.0%
NullTranslations.__init__<stdlib>/gettext.py:2804 ms3.0%
GNUTranslations._parse<stdlib>/gettext.py:4153 ms2.0%
c2py<stdlib>/gettext.py:2203 ms2.0%
GNUTranslations._parse<stdlib>/gettext.py:3541 ms1.0%
DjangoTranslation._add_installed_apps_translationsdjango/utils/translation/trans_real.py:2261 ms1.0%
exists<frozen genericpath>:201 ms1.0%
DjangoTranslation.__init__django/utils/translation/trans_real.py:1641 ms1.0%
DjangoTranslation._init_translation_catalogdjango/utils/translation/trans_real.py:2111 ms1.0%
DjangoTranslation._new_gnu_transdjango/utils/translation/trans_real.py:2001 ms1.0%
translation<stdlib>/gettext.py:5481 ms1.0%
__init____init__:-11 ms1.0%
NullTranslations.__init__<stdlib>/gettext.py:2801 ms1.0%
GNUTranslations._parse<stdlib>/gettext.py:4151 ms1.0%
c2py<stdlib>/gettext.py:2041 ms1.0%
_parse<stdlib>/gettext.py:1271 ms1.0%
set_languagedjango/views/i18n.py:301 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.0%
Coverage._should_tracecoverage/control.py:4521 ms1.0%
InOrOut.should_tracecoverage/inorout.py:4011 ms1.0%
canonical_filenamecoverage/files.py:851 ms1.0%
abs_filecoverage/files.py:1581 ms1.0%
realpath<frozen posixpath>:4201 ms1.0%
BaseHandler._get_responsedjango/core/handlers/base.py:1871 ms1.0%
CsrfViewMiddleware.process_viewdjango/middleware/csrf.py:4661 ms1.0%
CsrfViewMiddleware._check_tokendjango/middleware/csrf.py:3681 ms1.0%
WSGIRequest._get_postdjango/core/handlers/wsgi.py:931 ms1.0%
HttpRequest._load_post_and_filesdjango/http/request.py:4691 ms1.0%
HttpRequest.parse_file_uploaddjango/http/request.py:3881 ms1.0%
HttpRequest.upload_handlersdjango/http/request.py:3601 ms1.0%
HttpRequest._initialize_handlersdjango/http/request.py:3511 ms1.0%
load_handlerdjango/core/files/uploadhandler.py:2551 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms1.0%
Coverage._should_tracecoverage/control.py:4521 ms1.0%
InOrOut.should_tracecoverage/inorout.py:4391 ms1.0%
InOrOut.check_include_omit_etccoverage/inorout.py:4691 ms1.0%
TreeMatcher.matchcoverage/files.py:2751 ms1.0%
abs_filecoverage/files.py:1581 ms1.0%
realpath<frozen posixpath>:4601 ms1.0%
ClientHandler.__call__django/test/client.py:2071 ms1.0%
HttpResponseBase.closedjango/http/response.py:3481 ms1.0%
Signal.senddjango/dispatch/dispatcher.py:2471 ms1.0%
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrapfedidevs/tests.py:90 token = client.get("/csrf/").json()["csrfToken"]3 ms2.0%
Client.getdjango/test/client.py:11331 ms1.0%
RequestFactory.getdjango/test/client.py:4751 ms1.0%
RequestFactory.genericdjango/test/client.py:6711 ms1.0%
Client.requestdjango/test/client.py:10911 ms1.0%
ClientHandler.__call__django/test/client.py:1861 ms1.0%
BaseHandler.get_responsedjango/core/handlers/base.py:1421 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1231 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1451 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms1.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms1.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3821 ms1.0%
LocaleMiddleware.process_responsedjango/middleware/locale.py:401 ms1.0%
get_language_from_pathdjango/utils/translation/__init__.py:2521 ms1.0%
get_language_from_pathdjango/utils/translation/trans_real.py:5591 ms1.0%
get_supported_language_variantdjango/utils/translation/trans_real.py:5421 ms1.0%
ClientMixin._parse_jsondjango/test/client.py:9531 ms1.0%
SysMonitor.sysmon_py_startcoverage/sysmon.py:3281 ms1.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3601 ms1.0%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms1.0%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms1.0%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms1.0%
Atomic.__enter__django/db/transaction.py:2231 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms1.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms1.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.0%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.0%
Cursor.executepsycopg/cursor.py:1131 ms1.0%
Connection.waitpsycopg/connection.py:4951 ms1.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2041 ms1.0%
BaseCursor._start_querypsycopg/_cursor_base.py:3871 ms1.0%
BaseConnection._start_querypsycopg/_connection_base.py:5531 ms1.0%
BaseConnection._exec_commandpsycopg/_connection_base.py:4741 ms1.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3721 ms1.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms1.0%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms1.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms1.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms1.0%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.0%
Cursor.executepsycopg/cursor.py:1131 ms1.0%
Connection.waitpsycopg/connection.py:4951 ms1.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.0%
_multicallpluggy/_callers.py:1521 ms1.0%
CaptureManager.pytest_runtest_call_pytest/capture.py:8991 ms1.0%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2101 ms1.0%
CaptureManager.item_capture_pytest/capture.py:8651 ms1.0%
Estimated from 105 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
posts/views.py:38
if form.is_valid():
subscribe
· Libraries
|
54 ms |
|
fedidevs/tests.py:87
page = client.get("/login/")
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrap
· Libraries
|
30 ms |
|
fedidevs/tests.py:91
response = client.post(
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrap
· Libraries
|
19 ms |
|
posts/views.py:41
send_mail(
subscribe
· Libraries
|
6 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
4 ms |
|
posts/views.py:39
form.save()
subscribe
· Database
|
3 ms |
|
accounts/views.py:280
return render(request, "login.html")
login
· Templates
|
3 ms |
|
fedidevs/tests.py:90
token = client.get("/csrf/").json()["csrfToken"]
TestAnonymousCacheAndCsrf.test_anonymous_forms_work_after_csrf_bootstrap
· Libraries
|
3 ms |
|
posts/views.py:37
form = SubscribeForm(request.POST)
subscribe
· Libraries
|
1 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestAnonymousCacheAndCsrf class | 11 ms |
| _django_setup_unittest class | 0.28 ms |
| _dj_autoclear_mailbox function | 0.06 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| monkeypatch function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
Database
8 queries · 6 msNo repeated queries.
Biggest pieces of work
|
call test body
fedidevs/tests.py:97
|
122 ms |
|
setup setUpClass
django/test/testcases.py:1426
|
12 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
1 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
1 ms |
| call pytest internals | 1 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 140 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 155 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 436 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 183 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 92 ms | Run |