Tests / confs/tests.py
TestMigratedLegacyConferences::test_legacy_conferences_were_seeded
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
7 ms
median 7 ms
max 10 ms
max 10 ms
Phases
Setup 2 ms
Call 5 ms
Teardown 0.24 ms
Categories
Database 5 ms
Other (Unsampled, pytest) 2 ms
6 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
setup2 ms37.1%
CallInfo.from_call_pytest/runner.py:3612 ms37.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:2502 ms37.1%
HookCaller.__call__pluggy/_hooks.py:5122 ms37.1%
PluginManager._hookexecpluggy/_manager.py:1202 ms37.1%
_multicallpluggy/_callers.py:1212 ms37.1%
pytest_runtest_setup_pytest/skipping.py:2531 ms24.8%
evaluate_xfail_marks_pytest/skipping.py:2161 ms24.8%
Node.iter_markers.<locals>.<genexpr>_pytest/nodes.py:3361 ms24.8%
Node.iter_markers_with_node_pytest/nodes.py:3461 ms24.8%
Node.iter_parents_pytest/nodes.py:2951 ms24.8%
pytest_runtest_setup_pytest/runner.py:1700.68 ms12.4%
SetupState.setup_pytest/runner.py:5360.68 ms12.4%
TestCaseFunction.setup_pytest/unittest.py:2480.68 ms12.4%
Function.setup_pytest/python.py:17100.68 ms12.4%
TopRequest._fillfixtures_pytest/fixtures.py:8060.68 ms12.4%
FixtureRequest.getfixturevalue_pytest/fixtures.py:6300.68 ms12.4%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:7260.68 ms12.4%
FixtureDef.execute_pytest/fixtures.py:12210.68 ms12.4%
call3 ms59.6%
CallInfo.from_call_pytest/runner.py:3613 ms59.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:2503 ms59.6%
HookCaller.__call__pluggy/_hooks.py:5123 ms59.6%
PluginManager._hookexecpluggy/_manager.py:1203 ms59.6%
_multicallpluggy/_callers.py:1213 ms59.6%
pytest_runtest_call_pytest/runner.py:1843 ms59.6%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6143 ms59.6%
SimpleTestCase.__call__django/test/testcases.py:3143 ms59.6%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3601 ms19.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms19.9%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms19.9%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms19.9%
Atomic.__enter__django/db/transaction.py:2231 ms19.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms19.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms19.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms19.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms19.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms19.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms19.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms19.9%
Cursor.executepsycopg/cursor.py:1131 ms19.9%
Connection.waitpsycopg/connection.py:4951 ms19.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms19.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3121 ms19.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3691 ms19.9%
TestCase.__call__<stdlib>/unittest/case.py:7471 ms19.9%
TestCase.run<stdlib>/unittest/case.py:6911 ms19.9%
TestCase._callTestMethod<stdlib>/unittest/case.py:6371 ms19.9%
TestMigratedLegacyConferences.test_legacy_conferences_were_seededconfs/tests.py:129 conferences = {c.slug: c for c in Conference.objects.filter(slug__in=slugs)}1 ms19.9%
QuerySet.__iter__django/db/models/query.py:4391 ms19.9%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms19.9%
ModelIterable.__iter__django/db/models/query.py:1031 ms19.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms19.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms19.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms19.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms19.9%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms19.9%
Cursor.executepsycopg/cursor.py:1131 ms19.9%
Connection.waitpsycopg/connection.py:4951 ms19.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3721 ms19.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms19.9%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms19.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms19.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms19.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms19.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms19.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms19.9%
Cursor.executepsycopg/cursor.py:1131 ms19.9%
Connection.waitpsycopg/connection.py:4951 ms19.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms19.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms19.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms19.9%
Estimated from 6 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
confs/tests.py:129
conferences = {c.slug: c for c in Conference.objects.filter(slug__in=slugs)}
TestMigratedLegacyConferences.test_legacy_conferences_were_seeded
· Database
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _django_isolate_apps function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
| setup pytest internals | 2 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
1 ms |
|
call test body
confs/tests.py:129
|
1 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
1 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 | 5 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 10 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 7 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 6 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 5 ms | Run |