Tests / apps/projects/tests.py
ClassifyStreaksTest::test_test_changed_when_the_test_file_changed
First seen 3 weeks ago in 78a4357
CI
github-actions:test
12 runs
Average
3 ms
median 3 ms
max 6 ms
max 6 ms
Phases
Setup 0.59 ms
Call 1 ms
Teardown 0.83 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 ms53.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms53.8%
TestCase._fixture_teardowndjango/test/testcases.py:14941 ms53.8%
TestCase._should_check_constraintsdjango/test/testcases.py:15031 ms53.8%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4921 ms53.8%
Cursor.executepsycopg/cursor.py:1131 ms53.8%
Connection.waitpsycopg/connection.py:4951 ms53.8%
teardown0.48 ms20.2%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.48 ms20.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.48 ms20.2%
Atomic.__exit__django/db/transaction.py:2950.48 ms20.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.48 ms20.2%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.48 ms20.2%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.48 ms20.2%
Connection.rollbackpsycopg/connection.py:3140.48 ms20.2%
Connection.waitpsycopg/connection.py:4950.48 ms20.2%
BaseConnection._rollback_genpsycopg/_connection_base.py:6170.48 ms20.2%
BaseConnection._exec_commandpsycopg/_connection_base.py:4740.48 ms20.2%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _django_db_marker function | 0.05 ms |
| _django_set_urlconf function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| monkeypatch function | 0.01 ms |
Database
5 queries · 0.63 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.48 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 2 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 1 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 6 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 |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 3 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 4 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 3 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 3 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 2 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 3 ms | Profile |