Tests / confs/tests.py
TestMigratedLegacyConferences::test_account_kwargs_from_json
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
22 ms
median 22 ms
max 28 ms
max 28 ms
Phases
Setup 16 ms
Call 5 ms
Teardown 0.27 ms
Categories
Database 17 ms
Other (pytest, Libraries, Unsampled) 4 ms
5 database queries per run
Needs 1 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 9 hours ago ·
open run
setup12 ms72.1%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()9 ms54.1%
TestCase._enter_atomicsdjango/test/testcases.py:13999 ms54.1%
Atomic.__enter__django/db/transaction.py:2109 ms54.1%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4549 ms54.1%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3049 ms54.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms54.1%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2799 ms54.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms54.1%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2569 ms54.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms54.1%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3459 ms54.1%
Connection.connectpsycopg/connection.py:1099 ms54.1%
wait_connpsycopg/waiting.py:1415 ms30.0%
EpollSelector.select<stdlib>/selectors.py:4525 ms30.0%
wait_connpsycopg/waiting.py:1454 ms24.0%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms24.0%
call5 ms26.6%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()4 ms21.3%
TestCase._fixture_setupdjango/test/testcases.py:14814 ms21.3%
TestCase._enter_atomicsdjango/test/testcases.py:13994 ms21.3%
Atomic.__enter__django/db/transaction.py:2234 ms21.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms21.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4004 ms21.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3674 ms21.3%
CursorWrapper.executedjango/db/backends/utils.py:794 ms21.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms21.3%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms21.3%
Cursor.executepsycopg/cursor.py:1134 ms21.3%
Connection.waitpsycopg/connection.py:4954 ms21.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2043 ms16.0%
BaseCursor._start_querypsycopg/_cursor_base.py:3873 ms16.0%
BaseConnection._start_querypsycopg/_connection_base.py:5533 ms16.0%
BaseConnection._exec_commandpsycopg/_connection_base.py:4743 ms16.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()0.90 ms5.3%
TestCase._fixture_teardowndjango/test/testcases.py:14980.90 ms5.3%
Estimated from 17 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestMigratedLegacyConferences class | 10 ms |
| _django_setup_unittest class | 0.27 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 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
|
9 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
4 ms |
| setup pytest internals | 3 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
0.90 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 | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 17 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 14 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 28 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 28 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 2 ms | Run |