Tests / confs/tests.py
TestMigratedLegacyConferences::test_djangoconus_date_redirects
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
157 ms
median 162 ms
max 255 ms
max 255 ms
Phases
Setup 3 ms
Call 152 ms
Teardown 3 ms
Categories
Database 10 ms
Other (Libraries, pytest, Unsampled) 148 ms
5 database queries per run
Needs 0 KB of memory (max 0 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
setup0.61 ms1.2%
CallInfo.from_call_pytest/runner.py:3610.61 ms1.2%
call_and_report.<locals>.<lambda>_pytest/runner.py:2500.61 ms1.2%
HookCaller.__call__pluggy/_hooks.py:5120.61 ms1.2%
PluginManager._hookexecpluggy/_manager.py:1200.61 ms1.2%
_multicallpluggy/_callers.py:1210.61 ms1.2%
pytest_runtest_setup_pytest/runner.py:1700.61 ms1.2%
SetupState.setup_pytest/runner.py:5360.61 ms1.2%
TestCaseFunction.setup_pytest/unittest.py:2480.61 ms1.2%
Function.setup_pytest/python.py:17100.61 ms1.2%
TopRequest._fillfixtures_pytest/fixtures.py:8060.61 ms1.2%
PluginManager._hookexecpluggy/_manager.py:1200.61 ms1.2%
_multicallpluggy/_callers.py:1070.61 ms1.2%
call47 ms91.9%
CallInfo.from_call_pytest/runner.py:36147 ms91.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:25047 ms91.9%
HookCaller.__call__pluggy/_hooks.py:51247 ms91.9%
PluginManager._hookexecpluggy/_manager.py:12047 ms91.9%
_multicallpluggy/_callers.py:12147 ms91.9%
pytest_runtest_call_pytest/runner.py:18447 ms91.9%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61447 ms91.9%
SimpleTestCase.__call__django/test/testcases.py:31447 ms91.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36938 ms75.7%
TestCase.__call__<stdlib>/unittest/case.py:74738 ms75.7%
TestCase.run<stdlib>/unittest/case.py:69138 ms75.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:63738 ms75.7%
TestMigratedLegacyConferences.test_djangoconus_date_redirectsconfs/tests.py:193 response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))38 ms75.7%
Client.getdjango/test/client.py:113338 ms75.7%
RequestFactory.getdjango/test/client.py:47538 ms75.7%
RequestFactory.genericdjango/test/client.py:67138 ms75.7%
Client.requestdjango/test/client.py:109138 ms75.7%
ClientHandler.__call__django/test/client.py:17338 ms75.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6338 ms75.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10436 ms70.3%
WhiteNoise.add_fileswhitenoise/base.py:10836 ms70.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms48.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13122 ms43.3%
WhiteNoise.get_static_filewhitenoise/base.py:21719 ms37.9%
StaticFile.__init__whitenoise/responders.py:728 ms16.2%
StaticFile.get_file_statswhitenoise/responders.py:1575 ms10.8%
__init____init__:-15 ms10.8%
FileEntry.__init__whitenoise/responders.py:2635 ms10.8%
FileEntry.stat_regular_filewhitenoise/responders.py:2875 ms10.8%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms5.4%
__init____init__:-13 ms5.4%
FileEntry.__init__whitenoise/responders.py:2603 ms5.4%
<GC>~3 ms5.4%
StaticFile.__init__whitenoise/responders.py:735 ms10.8%
StaticFile.get_headerswhitenoise/responders.py:1785 ms10.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms5.4%
Headers.get<stdlib>/wsgiref/headers.py:1073 ms5.4%
StaticFile.__init__whitenoise/responders.py:763 ms5.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms5.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:2333 ms5.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms5.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms5.4%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2533 ms5.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1323 ms5.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms21.6%
scantreewhitenoise/base.py:27111 ms21.6%
scantreewhitenoise/base.py:27111 ms21.6%
scantreewhitenoise/base.py:2738 ms16.2%
scantreewhitenoise/base.py:2693 ms5.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1113 ms5.4%
WhiteNoise.add_fileswhitenoise/base.py:1083 ms5.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1203 ms5.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1313 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:2173 ms5.4%
StaticFile.__init__whitenoise/responders.py:733 ms5.4%
StaticFile.get_headerswhitenoise/responders.py:1673 ms5.4%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3725 ms10.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()5 ms10.8%
TestCase._fixture_teardowndjango/test/testcases.py:14985 ms10.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4955 ms10.8%
CursorWrapper.executedjango/db/backends/utils.py:795 ms10.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms10.8%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1005 ms10.8%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms10.8%
Cursor.executepsycopg/cursor.py:1135 ms10.8%
Connection.waitpsycopg/connection.py:4955 ms10.8%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3603 ms5.4%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()3 ms5.4%
TestCase._fixture_setupdjango/test/testcases.py:14813 ms5.4%
TestCase._enter_atomicsdjango/test/testcases.py:13993 ms5.4%
Atomic.__enter__django/db/transaction.py:2233 ms5.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms5.4%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms5.4%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3663 ms5.4%
teardown3 ms6.9%
CallInfo.from_call_pytest/runner.py:3613 ms6.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:2503 ms6.9%
HookCaller.__call__pluggy/_hooks.py:5123 ms6.9%
PluginManager._hookexecpluggy/_manager.py:1203 ms6.9%
_multicallpluggy/_callers.py:1213 ms6.9%
pytest_runtest_teardown_pytest/runner.py:1993 ms6.9%
SetupState.teardown_exact_pytest/runner.py:5683 ms6.9%
FixtureDef.finish_pytest/fixtures.py:11563 ms6.9%
_teardown_yield_fixture_pytest/fixtures.py:10143 ms6.9%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:1693 ms6.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()2 ms4.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.6%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3552 ms4.6%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4082 ms4.6%
Connection.closepsycopg/connection.py:2012 ms4.6%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)1 ms2.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms2.3%
Atomic.__exit__django/db/transaction.py:3071 ms2.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms2.3%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3371 ms2.3%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3081 ms2.3%
Connection.rollbackpsycopg/connection.py:3141 ms2.3%
Connection.waitpsycopg/connection.py:4951 ms2.3%
BaseConnection._rollback_genpsycopg/_connection_base.py:6171 ms2.3%
BaseConnection._exec_commandpsycopg/_connection_base.py:4741 ms2.3%
Estimated from 21 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
confs/tests.py:193
response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))
TestMigratedLegacyConferences.test_djangoconus_date_redirects
· Libraries
|
38 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
5 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:193
|
38 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
5 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
3 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
3 ms |
| setup pytest internals | 0.61 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 | 51 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 255 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 157 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 167 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 127 ms | Run |