Tests / apps/projects/tests.py
ClassifyStreaksTest::test_flaky_when_failed_and_passed_on_same_commit
First seen 3 weeks ago in 78a4357
CI
github-actions:test
12 runs
Average
2 ms
median 2 ms
max 3 ms
max 3 ms
Phases
Setup 0.58 ms
Call 1 ms
Teardown 0.13 ms
Categories
Database 0.83 ms
Other (Unsampled, pytest) 1 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
call2 ms67.6%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()1 ms45.1%
TestCase._fixture_setupdjango/test/testcases.py:14781 ms45.1%
TestCase._enter_atomicsdjango/test/testcases.py:13961 ms45.1%
Atomic.__enter__django/db/transaction.py:2111 ms45.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms45.1%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms45.1%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms45.1%
CursorWrapper.executedjango/db/backends/utils.py:791 ms45.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms45.1%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms45.1%
Cursor.executepsycopg/cursor.py:1131 ms45.1%
Connection.waitpsycopg/connection.py:4951 ms45.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()0.52 ms22.5%
TestCase._fixture_teardowndjango/test/testcases.py:14970.52 ms22.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.52 ms22.5%
Atomic.__exit__django/db/transaction.py:2860.52 ms22.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.52 ms22.5%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4310.52 ms22.5%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3750.52 ms22.5%
CursorWrapper.executedjango/db/backends/utils.py:790.52 ms22.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.52 ms22.5%
CursorWrapper._executedjango/db/backends/utils.py:1030.52 ms22.5%
Cursor.executepsycopg/cursor.py:1130.52 ms22.5%
Connection.waitpsycopg/connection.py:4950.52 ms22.5%
Estimated from 3 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.92 msNo repeated queries.
Biggest pieces of work
|
call _pre_setup
django/test/testcases.py:1164
|
1 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
0.52 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 | 2 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 | 1 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 | 3 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 | 2 ms | Profile |