Tests / apps/projects/tests.py
MigrationInsightsTest::test_replace_insight
First seen 8 hours ago in 0b902f6
CI
github-actions:test
4 runs
Average
77 ms
median 72 ms
max 105 ms
max 105 ms
Phases
Setup 0.59 ms
Call 0.17 ms
Teardown 76 ms
Categories
Other (DB schema, Unsampled, pytest) 77 ms
1 database queries per run
Needs 0 KB of memory (max 0 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, an hour ago ·
open run
teardown73 ms98.8%
CallInfo.from_call_pytest/runner.py:35373 ms98.8%
call_and_report.<locals>.<lambda>_pytest/runner.py:24573 ms98.8%
HookCaller.__call__pluggy/_hooks.py:51273 ms98.8%
PluginManager._hookexecpluggy/_manager.py:12073 ms98.8%
_multicallpluggy/_callers.py:12172 ms97.4%
pytest_runtest_teardown_pytest/runner.py:19472 ms97.4%
SetupState.teardown_exact_pytest/runner.py:55572 ms97.4%
FixtureDef.finish_pytest/fixtures.py:104272 ms97.4%
_teardown_yield_fixture_pytest/fixtures.py:92472 ms97.4%
django_db_setuppytest_django/fixtures.py:211 teardown_databases(db_cfg, verbosity=request.config.option.verbose)72 ms97.4%
teardown_databasesdjango/test/utils.py:38172 ms97.4%
BaseDatabaseCreation.destroy_test_dbdjango/db/backends/base/creation.py:33072 ms97.4%
DatabaseCreation._destroy_test_dbdjango/db/backends/postgresql/creation.py:9172 ms97.4%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:34664 ms86.6%
CursorWrapper.executedjango/db/backends/utils.py:7964 ms86.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9264 ms86.6%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:10064 ms86.6%
CursorWrapper._executedjango/db/backends/utils.py:10364 ms86.6%
Cursor.executepsycopg/cursor.py:11364 ms86.6%
Connection.waitpsycopg/connection.py:49564 ms86.6%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:3458 ms10.8%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2038 ms10.8%
DatabaseWrapper._nodb_cursordjango/db/backends/postgresql/base.py:5088 ms10.8%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2038 ms10.8%
BaseDatabaseWrapper._nodb_cursordjango/db/backends/base/base.py:7128 ms10.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:268 ms10.8%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3208 ms10.8%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2968 ms10.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:268 ms10.8%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2798 ms10.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:268 ms10.8%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms9.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms9.5%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3337 ms9.5%
Connection.connectpsycopg/connection.py:1096 ms8.1%
wait_connpsycopg/waiting.py:1413 ms4.1%
EpollSelector.select<stdlib>/selectors.py:4523 ms4.1%
wait_connpsycopg/waiting.py:1453 ms4.1%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms4.1%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2581 ms1.4%
DatabaseWrapper.init_connection_statedjango/db/backends/postgresql/base.py:4021 ms1.4%
DatabaseWrapper._configure_connectiondjango/db/backends/postgresql/base.py:3741 ms1.4%
DatabaseWrapper._configure_timezonedjango/db/backends/postgresql/base.py:3571 ms1.4%
Cursor.executepsycopg/cursor.py:1131 ms1.4%
Connection.waitpsycopg/connection.py:4951 ms1.4%
_multicallpluggy/_callers.py:1521 ms1.4%
CaptureManager.pytest_runtest_teardown_pytest/capture.py:9041 ms1.4%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2101 ms1.4%
CaptureManager.item_capture_pytest/capture.py:8651 ms1.4%
CaptureManager.suspend_global_capture_pytest/capture.py:7901 ms1.4%
MultiCapture.suspend_capturing_pytest/capture.py:6711 ms1.4%
FDCaptureBase.suspend_pytest/capture.py:5471 ms1.4%
Estimated from 73 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Fixtures
Exact setup time| _django_db_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_set_urlconf function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
1 queries · 64 msNo repeated queries.
Biggest pieces of work
|
teardown fixture django_db_setup (session scope)
pytest_django/fixtures.py:211
|
72 ms |
| teardown pytest internals | 1 ms |
Reliability
4 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.