Tests / confs/tests.py
TestMigratedLegacyConferences::test_account_kwargs_from_json
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
24 ms
median 28 ms
max 35 ms
max 35 ms
Phases
Setup 19 ms
Call 5 ms
Teardown 0.26 ms
Categories
Database 20 ms
Other (pytest, Libraries, Unsampled) 4 ms
5 database queries per run
Needs 0 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
setup22 ms75.4%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()22 ms75.4%
TestCase._enter_atomicsdjango/test/testcases.py:139922 ms75.4%
Atomic.__enter__django/db/transaction.py:21022 ms75.4%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45422 ms75.4%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30422 ms75.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2622 ms75.4%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27922 ms75.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2622 ms75.4%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25622 ms75.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2622 ms75.4%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34522 ms75.4%
Connection.connectpsycopg/connection.py:10922 ms75.4%
wait_connpsycopg/waiting.py:14521 ms72.0%
BaseConnection._connect_genpsycopg/_connection_base.py:43921 ms72.0%
wait_connpsycopg/waiting.py:1411 ms3.4%
EpollSelector.select<stdlib>/selectors.py:4521 ms3.4%
call7 ms23.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()4 ms11.9%
TestCase._fixture_setupdjango/test/testcases.py:14814 ms11.9%
TestCase._enter_atomicsdjango/test/testcases.py:13994 ms11.9%
Atomic.__enter__django/db/transaction.py:2234 ms11.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms11.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4004 ms11.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3674 ms11.9%
CursorWrapper.executedjango/db/backends/utils.py:794 ms11.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms11.9%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms11.9%
Cursor.executepsycopg/cursor.py:1134 ms11.9%
Connection.waitpsycopg/connection.py:4954 ms11.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2043 ms8.9%
BaseCursor._start_querypsycopg/_cursor_base.py:3873 ms8.9%
BaseConnection._start_querypsycopg/_connection_base.py:5533 ms8.9%
BaseConnection._exec_commandpsycopg/_connection_base.py:4743 ms8.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms11.9%
TestCase._fixture_teardowndjango/test/testcases.py:15003 ms8.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14083 ms8.9%
Atomic.__exit__django/db/transaction.py:2953 ms8.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms8.9%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4133 ms8.9%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3713 ms8.9%
CursorWrapper.executedjango/db/backends/utils.py:793 ms8.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms8.9%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms8.9%
Cursor.executepsycopg/cursor.py:1133 ms8.9%
Connection.waitpsycopg/connection.py:4953 ms8.9%
TestCase._fixture_teardowndjango/test/testcases.py:14970.88 ms3.0%
TestCase._should_check_constraintsdjango/test/testcases.py:15060.88 ms3.0%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5040.88 ms3.0%
Cursor.executepsycopg/cursor.py:1130.88 ms3.0%
Connection.waitpsycopg/connection.py:4950.88 ms3.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.88 ms3.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2860.88 ms3.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:780.88 ms3.0%
Estimated from 52 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestMigratedLegacyConferences class | 21 ms |
| _django_setup_unittest class | 0.43 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_isolate_apps function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 3 msNo repeated queries.
Biggest pieces of work
|
setup setUpClass
django/test/testcases.py:1426
|
22 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
4 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 30 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 13 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 33 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 15 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 35 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 20 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 28 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 17 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 14 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 28 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 28 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 2 ms | Run |