Tests / confs/tests.py
TestMigratedLegacyConferences::test_djangoconus_old_url_redirects
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
3.66 s
median 118 ms
max 10.34 s
max 10.34 s
Phases
Setup 3.49 s
Call 170 ms
Teardown 1 ms
Categories
Migrations 3.11 s
Database 13 ms
Other (DB schema, Imports, Libraries, pytest, ...) 546 ms
493 database queries per run
Needs 13 MB of memory (max 33 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call44 ms98.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()37 ms82.5%
TestCase._fixture_teardowndjango/test/testcases.py:149726 ms56.7%
TestCase._should_check_constraintsdjango/test/testcases.py:150626 ms56.7%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:50426 ms56.7%
Cursor.executepsycopg/cursor.py:11323 ms51.6%
Connection.waitpsycopg/connection.py:49523 ms51.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:20623 ms51.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28623 ms51.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7823 ms51.6%
TestCase._fixture_teardowndjango/test/testcases.py:150012 ms25.8%
TestCase._rollback_atomicsdjango/test/testcases.py:14089 ms20.6%
Atomic.__exit__django/db/transaction.py:2955 ms10.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms10.3%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4135 ms10.3%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3715 ms10.3%
CursorWrapper.executedjango/db/backends/utils.py:795 ms10.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms10.3%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms10.3%
Cursor.executepsycopg/cursor.py:1135 ms10.3%
Connection.waitpsycopg/connection.py:4955 ms10.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms10.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms10.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms10.3%
Atomic.__exit__django/db/transaction.py:2985 ms10.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms10.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4315 ms10.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3755 ms10.3%
CursorWrapper.executedjango/db/backends/utils.py:795 ms10.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms10.3%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms10.3%
Cursor.executepsycopg/cursor.py:1135 ms10.3%
Connection.waitpsycopg/connection.py:4955 ms10.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms10.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms10.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms10.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14062 ms5.2%
TestMigratedLegacyConferences.test_djangoconus_old_url_redirectsconfs/tests.py:184 response = self.client.get(reverse("djangoconus"))5 ms10.3%
Client.getdjango/test/client.py:11335 ms10.3%
RequestFactory.getdjango/test/client.py:4755 ms10.3%
RequestFactory.genericdjango/test/client.py:6715 ms10.3%
Client.requestdjango/test/client.py:10915 ms10.3%
ClientHandler.__call__django/test/client.py:1735 ms10.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:635 ms10.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1045 ms10.3%
WhiteNoise.add_fileswhitenoise/base.py:1085 ms10.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1205 ms10.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1315 ms10.3%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms5.2%
StaticFile.__init__whitenoise/responders.py:732 ms5.2%
StaticFile.get_headerswhitenoise/responders.py:1712 ms5.2%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms5.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms5.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms5.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms5.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms5.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms5.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms5.2%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2042 ms5.2%
teardown0.20 ms0.5%
Estimated from 20 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:184
response = self.client.get(reverse("djangoconus"))
TestMigratedLegacyConferences.test_djangoconus_old_url_redirects
· Libraries
|
5 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 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.02 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.67 msNo repeated queries.
Biggest pieces of work
|
call _post_teardown
django/test/testcases.py:1243
|
37 ms |
|
call test body
confs/tests.py:184
|
5 ms |
| call pytest internals | 2 ms |
| teardown pytest internals | 0.20 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 45 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 118 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 101 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 34 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 112 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 74 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 62 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 6.21 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 6.06 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 4.82 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 9.47 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 10.19 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 10.34 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 185 ms | Run |