CI
github-actions:test
5 runs
Average
3 ms
median 3 ms
max 3 ms
max 3 ms
Phases
Setup 0.64 ms
Call 2 ms
Teardown 0.14 ms
Categories
Database 0.38 ms
Test code 0.34 ms
Other (Unsampled) 2 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, 3 hours ago ·
open run
call2 ms69.8%
CallInfo.from_call_pytest/runner.py:3532 ms69.8%
call_and_report.<locals>.<lambda>_pytest/runner.py:2452 ms69.8%
HookCaller.__call__pluggy/_hooks.py:5122 ms69.8%
PluginManager._hookexecpluggy/_manager.py:1202 ms69.8%
_multicallpluggy/_callers.py:1212 ms69.8%
pytest_runtest_call_pytest/runner.py:1792 ms69.8%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:5732 ms69.8%
SimpleTestCase.__call__django/test/testcases.py:3132 ms69.8%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3590.96 ms34.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()0.96 ms34.9%
TestCase._fixture_setupdjango/test/testcases.py:14780.96 ms34.9%
TestCase._enter_atomicsdjango/test/testcases.py:13960.96 ms34.9%
Atomic.__enter__django/db/transaction.py:2110.96 ms34.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.96 ms34.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4000.96 ms34.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3670.96 ms34.9%
CursorWrapper.executedjango/db/backends/utils.py:790.96 ms34.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.96 ms34.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1000.96 ms34.9%
CursorWrapper._executedjango/db/backends/utils.py:1030.96 ms34.9%
Cursor.executepsycopg/cursor.py:1130.96 ms34.9%
Connection.waitpsycopg/connection.py:4950.96 ms34.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.96 ms34.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2860.96 ms34.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:780.96 ms34.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3710.96 ms34.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()0.96 ms34.9%
TestCase._fixture_teardowndjango/test/testcases.py:14950.96 ms34.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4840.96 ms34.9%
CursorWrapper.executedjango/db/backends/utils.py:790.96 ms34.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.96 ms34.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1000.96 ms34.9%
CursorWrapper._executedjango/db/backends/utils.py:1030.96 ms34.9%
Cursor.executepsycopg/cursor.py:1130.96 ms34.9%
Connection.waitpsycopg/connection.py:4950.96 ms34.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.96 ms34.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3180.96 ms34.9%
BaseCursor._set_resultspsycopg/_cursor_base.py:5350.96 ms34.9%
BaseCursor._select_current_resultpsycopg/_cursor_base.py:5250.96 ms34.9%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call _pre_setup
django/test/testcases.py:1164
|
0.96 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
0.96 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 | |
|---|---|---|---|---|
| 3 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 3 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 2 ms | Profile |