Tests / apps/projects/tests.py
RealProfileDocumentTest::test_entry_details
First seen 9 hours ago in 78a4357
CI
github-actions:test
5 runs
Average
8 ms
median 9 ms
max 10 ms
max 10 ms
Phases
Setup 0.76 ms
Call 7 ms
Teardown 0.33 ms
Categories
Database 2 ms
Other (Deep copies, Unsampled, Libraries) 6 ms
5 database queries per run
Needs 2 KB of memory (max 8 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 hours ago ·
open run
call8 ms86.3%
CallInfo.from_call_pytest/runner.py:3538 ms86.3%
call_and_report.<locals>.<lambda>_pytest/runner.py:2458 ms86.3%
HookCaller.__call__pluggy/_hooks.py:5128 ms86.3%
PluginManager._hookexecpluggy/_manager.py:1208 ms86.3%
_multicallpluggy/_callers.py:1218 ms86.3%
pytest_runtest_call_pytest/runner.py:1798 ms86.3%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:5738 ms86.3%
SimpleTestCase.__call__django/test/testcases.py:3138 ms86.3%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3684 ms43.1%
TestCase.__call__<stdlib>/unittest/case.py:7474 ms43.1%
TestCase.run<stdlib>/unittest/case.py:6914 ms43.1%
TestCase._callTestMethod<stdlib>/unittest/case.py:6374 ms43.1%
RealProfileDocumentTest.test_entry_detailsapps/projects/tests.py:895 entry = find_test_entry(self.local_document, self.nodeid)4 ms43.1%
TestData.__get__django/test/testcases.py:13674 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
_deepcopy_dict<stdlib>/copy.py:2024 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
_deepcopy_list<stdlib>/copy.py:1774 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3714 ms43.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms43.1%
TestCase._fixture_teardowndjango/test/testcases.py:14954 ms43.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4834 ms43.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms43.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms43.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms43.1%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms43.1%
Cursor.executepsycopg/cursor.py:1134 ms43.1%
Connection.waitpsycopg/connection.py:4954 ms43.1%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
apps/projects/tests.py:895
entry = find_test_entry(self.local_document, self.nodeid)
RealProfileDocumentTest.test_entry_details
· Deep copies
|
4 ms |
Fixtures
Exact setup time| _django_db_marker function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.03 ms |
Database
5 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/projects/tests.py:895
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
4 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 | 9 ms | Profile |
| 2 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 10 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 4 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 10 ms | Profile |