Tests / apps/projects/tests.py
ClassifyStreaksTest::test_resolved_without_changed_files
First seen 10 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.59 ms
Call 2 ms
Teardown 0.14 ms
Categories
Test code 0.34 ms
Other (Unsampled, pytest, Libraries) 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, 3 hours ago ·
open run
setup0.79 ms29.9%
CallInfo.from_call_pytest/runner.py:3530.79 ms29.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:2450.79 ms29.9%
HookCaller.__call__pluggy/_hooks.py:5120.79 ms29.9%
PluginManager._hookexecpluggy/_manager.py:1200.79 ms29.9%
_multicallpluggy/_callers.py:1210.79 ms29.9%
pytest_runtest_setup_pytest/runner.py:1650.79 ms29.9%
SetupState.setup_pytest/runner.py:5230.79 ms29.9%
TestCaseFunction.setup_pytest/unittest.py:2270.79 ms29.9%
Function.setup_pytest/python.py:17230.79 ms29.9%
TopRequest._fillfixtures_pytest/fixtures.py:7070.79 ms29.9%
FixtureRequest.getfixturevalue_pytest/fixtures.py:5390.79 ms29.9%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:6270.79 ms29.9%
call2 ms63.7%
CallInfo.from_call_pytest/runner.py:3532 ms63.7%
call_and_report.<locals>.<lambda>_pytest/runner.py:2452 ms63.7%
HookCaller.__call__pluggy/_hooks.py:5122 ms63.7%
PluginManager._hookexecpluggy/_manager.py:1202 ms63.7%
_multicallpluggy/_callers.py:1212 ms63.7%
pytest_runtest_call_pytest/runner.py:1792 ms63.7%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:5732 ms63.7%
SimpleTestCase.__call__django/test/testcases.py:3132 ms63.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3682 ms63.7%
TestCase.__call__<stdlib>/unittest/case.py:7472 ms63.7%
TestCase.run<stdlib>/unittest/case.py:6912 ms63.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:6372 ms63.7%
ClassifyStreaksTest.test_resolved_without_changed_filesapps/projects/tests.py:527 self.assertEqual(self.classifications(observations), [RESOLVED])2 ms63.7%
ClassifyStreaksTest.classificationsapps/projects/tests.py:478 return [streak.classification for streak in classify(observations, self.nodeid)]2 ms63.7%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
apps/projects/tests.py:478
return [streak.classification for streak in classify(observations, self.nodeid)]
ClassifyStreaksTest.classifications
· Test code
|
2 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _live_server_helper function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.88 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/projects/tests.py:527
|
2 ms |
| setup pytest internals | 0.79 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 | |
|---|---|---|---|---|
| 3 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 3 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 3 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 1 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 2 ms | Profile |