Tests / apps/projects/tests.py
ClassifyStreaksTest::test_test_changed_when_the_test_file_changed
First seen 9 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, 2 hours ago ·
open run
call2 ms46.0%
CallInfo.from_call_pytest/runner.py:3532 ms46.0%
call_and_report.<locals>.<lambda>_pytest/runner.py:2452 ms46.0%
HookCaller.__call__pluggy/_hooks.py:5122 ms46.0%
PluginManager._hookexecpluggy/_manager.py:1202 ms46.0%
_multicallpluggy/_callers.py:1212 ms46.0%
pytest_runtest_call_pytest/runner.py:1792 ms46.0%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:5732 ms46.0%
SimpleTestCase.__call__django/test/testcases.py:3132 ms46.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3712 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%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 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%
CallInfo.from_call_pytest/runner.py:3531 ms34.4%
call_and_report.<locals>.<lambda>_pytest/runner.py:2451 ms34.4%
HookCaller.__call__pluggy/_hooks.py:5121 ms34.4%
PluginManager._hookexecpluggy/_manager.py:1201 ms34.4%
_multicallpluggy/_callers.py:1211 ms34.4%
pytest_runtest_teardown_pytest/runner.py:1941 ms34.4%
SetupState.teardown_exact_pytest/runner.py:5551 ms34.4%
FixtureDef.finish_pytest/fixtures.py:10421 ms34.4%
_teardown_yield_fixture_pytest/fixtures.py:9241 ms34.4%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:1641 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
shown
.
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 | |
|---|---|---|---|---|
| 2 hours ago | CI github-actions:test | passed | 4 ms | Profile |
| 2 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 2 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 3 ms | Profile |