Tests / apps/guides/tests.py
TestContent::test_unknown_insights
First seen 2 weeks, 2 days ago in b3fedae
CI
github-actions:test
6 runs
Average
2 ms
median 2 ms
max 3 ms
max 3 ms
Phases
Setup 0.60 ms
Call 1 ms
Teardown 0.52 ms
Categories
Database 0.90 ms
Other (Unsampled, pytest) 2 ms
5 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, 16 hours ago ·
open run
call1 ms51.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms51.2%
TestCase._fixture_teardowndjango/test/testcases.py:14951 ms51.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4831 ms51.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms51.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms51.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms51.2%
Cursor.executepsycopg/cursor.py:1131 ms51.2%
Connection.waitpsycopg/connection.py:4951 ms51.2%
teardown0.62 ms23.2%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.62 ms23.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.62 ms23.2%
Atomic.__exit__django/db/transaction.py:2950.62 ms23.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.62 ms23.2%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.62 ms23.2%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.62 ms23.2%
Connection.rollbackpsycopg/connection.py:3140.62 ms23.2%
Connection.waitpsycopg/connection.py:4950.62 ms23.2%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _live_server_helper function | 0.04 ms |
| _django_db_marker function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| monkeypatch function | 0.03 ms |
Database
5 queries · 0.70 msNo repeated queries.
Biggest pieces of work
|
call _post_teardown
django/test/testcases.py:1240
|
1 ms |
|
teardown tearDownClass
django/test/testcases.py:1453
|
0.62 ms |
Reliability
6 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 6 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 2 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 3 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 2 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 3 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 2 ms | Profile |