CI
github-actions:test
5 runs
Average
9 ms
median 9 ms
max 9 ms
max 9 ms
Phases
Setup 0.65 ms
Call 8 ms
Teardown 0.14 ms
Categories
Database 8 ms
Other (Unsampled, Libraries) 0.78 ms
8 database queries per run
Needs 16 KB of memory (max 24 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 hours ago ·
open run
setup0.75 ms8.2%
__init____init__:-10.75 ms8.2%
signature<stdlib>/inspect.py:33400.75 ms8.2%
Signature.from_callable<stdlib>/inspect.py:30550.75 ms8.2%
_signature_from_callable<stdlib>/inspect.py:25250.75 ms8.2%
call8 ms90.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()6 ms67.7%
TestCase._fixture_teardowndjango/test/testcases.py:14942 ms22.6%
TestCase._should_check_constraintsdjango/test/testcases.py:15032 ms22.6%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4922 ms22.6%
Cursor.executepsycopg/cursor.py:1132 ms22.6%
Connection.waitpsycopg/connection.py:4952 ms22.6%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms22.6%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms22.6%
CursorWrapper.executedjango/db/backends/utils.py:792 ms22.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms22.6%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms22.6%
Cursor.executepsycopg/cursor.py:1132 ms22.6%
Connection.waitpsycopg/connection.py:4952 ms22.6%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms22.6%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms22.6%
Atomic.__exit__django/db/transaction.py:2832 ms22.6%
AnalyticsTest.test_fix_nextapps/projects/tests.py:779 insights = fix_next(resolve_scope(self.project))2 ms22.6%
fix_nextapps/projects/analytics.py:5442 ms22.6%
latest_profilesapps/projects/analytics.py:264 profile = scope.profiles().filter(environment=environment).order_by("-started_at").first()2 ms22.6%
QuerySet.firstdjango/db/models/query.py:11452 ms22.6%
QuerySet.__iter__django/db/models/query.py:3902 ms22.6%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms22.6%
ModelIterable.__iter__django/db/models/query.py:952 ms22.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms22.6%
CursorWrapper.executedjango/db/backends/utils.py:792 ms22.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms22.6%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms22.6%
Cursor.executepsycopg/cursor.py:1132 ms22.6%
Connection.waitpsycopg/connection.py:4952 ms22.6%
Estimated from 5 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/projects/analytics.py:264
profile = scope.profiles().filter(environment=environment).order_by("-started_at").first()
latest_profiles
· Database
|
2 ms |
Fixtures
Exact setup time| _django_set_urlconf function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
8 queries · 4 msNo repeated queries.
Biggest pieces of work
|
call _post_teardown
django/test/testcases.py:1240
|
6 ms |
|
call test body
apps/projects/tests.py:779
|
2 ms |
|
setup __init__
__init__:-1
|
0.75 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 | 9 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 6 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 9 ms | Profile |