Tests / apps/projects/tests.py
ClassifyStreaksTest::test_test_changed_when_the_test_file_changed
First seen 8 hours ago in 78a4357
CI
github-actions:test
5 runs
Average
3 ms
median 3 ms
max 4 ms
max 4 ms
Phases
Setup 0.59 ms
Call 2 ms
Teardown 0.73 ms
Categories
Database 0.98 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, an hour ago ·
open run
call2 ms46.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms46.0%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms46.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4842 ms46.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms46.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms46.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms46.0%
Cursor.executepsycopg/cursor.py:1132 ms46.0%
Connection.waitpsycopg/connection.py:4952 ms46.0%
teardown1 ms34.4%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.67 ms17.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.67 ms17.2%
Atomic.__exit__django/db/transaction.py:2950.67 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.67 ms17.2%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.67 ms17.2%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.67 ms17.2%
Connection.rollbackpsycopg/connection.py:3140.67 ms17.2%
Connection.waitpsycopg/connection.py:4950.67 ms17.2%
TestCase.tearDownClassdjango/test/testcases.py:1455 conn.close()0.67 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.67 ms17.2%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3610.67 ms17.2%
Estimated from 3 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _django_db_marker function | 0.06 ms |
| _live_server_helper function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| monkeypatch function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call _post_teardown
django/test/testcases.py:1240
|
2 ms |
|
teardown tearDownClass
django/test/testcases.py:1453
|
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 | |
|---|---|---|---|---|
| an hour ago | CI github-actions:test | passed | 4 ms | Profile |
| an hour ago | CI github-actions:test | passed | 3 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 2 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 3 ms | Profile |