Tests / apps/projects/tests.py
ClassifyStreaksTest::test_flaky_even_if_the_pass_came_first_and_elsewhere
First seen 8 hours ago in 78a4357
CI
github-actions:test
5 runs
Average
2 ms
median 3 ms
max 3 ms
max 3 ms
Phases
Setup 0.62 ms
Call 2 ms
Teardown 0.14 ms
Categories
Database 0.76 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 ms72.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms72.0%
TestCase._fixture_teardowndjango/test/testcases.py:14941 ms36.0%
TestCase._should_check_constraintsdjango/test/testcases.py:15031 ms36.0%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4921 ms36.0%
Cursor.executepsycopg/cursor.py:1131 ms36.0%
Connection.waitpsycopg/connection.py:4951 ms36.0%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms36.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14051 ms36.0%
Atomic.__exit__django/db/transaction.py:2861 ms36.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms36.0%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms36.0%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms36.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms36.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms36.0%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms36.0%
Cursor.executepsycopg/cursor.py:1131 ms36.0%
Connection.waitpsycopg/connection.py:4951 ms36.0%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _live_server_helper function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_set_urlconf 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 _post_teardown
django/test/testcases.py:1240
|
2 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 | 3 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 | 1 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 2 ms | Profile |