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%
CallInfo.from_call_pytest/runner.py:36112 ms72.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:25012 ms72.1%
HookCaller.__call__pluggy/_hooks.py:51212 ms72.1%
PluginManager._hookexecpluggy/_manager.py:12012 ms72.1%
_multicallpluggy/_callers.py:12112 ms72.1%
pytest_runtest_setup_pytest/runner.py:17012 ms72.1%
SetupState.setup_pytest/runner.py:53612 ms72.1%
TestCaseFunction.setup_pytest/unittest.py:24812 ms72.1%
Function.setup_pytest/python.py:171012 ms72.1%
TopRequest._fillfixtures_pytest/fixtures.py:80612 ms72.1%
FixtureRequest.getfixturevalue_pytest/fixtures.py:63012 ms72.1%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:72612 ms72.1%
FixtureDef.execute_pytest/fixtures.py:123212 ms72.1%
HookCaller.__call__pluggy/_hooks.py:51212 ms72.1%
PluginManager._hookexecpluggy/_manager.py:12012 ms72.1%
_multicallpluggy/_callers.py:1219 ms54.1%
pytest_fixture_setup_pytest/fixtures.py:13289 ms54.1%
call_fixture_func_pytest/fixtures.py:9989 ms54.1%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:1599 ms54.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%
_multicallpluggy/_callers.py:1043 ms18.0%
call5 ms26.6%
CallInfo.from_call_pytest/runner.py:3615 ms26.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:2505 ms26.6%
HookCaller.__call__pluggy/_hooks.py:5125 ms26.6%
PluginManager._hookexecpluggy/_manager.py:1205 ms26.6%
_multicallpluggy/_callers.py:1215 ms26.6%
pytest_runtest_call_pytest/runner.py:1845 ms26.6%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6145 ms26.6%
SimpleTestCase.__call__django/test/testcases.py:3145 ms26.6%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3604 ms21.3%
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%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 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%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3720.90 ms5.3%
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
shown
.
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 |