CI
github-actions:test
12 runs
Average
5 ms
median 5 ms
max 7 ms
max 7 ms
Phases
Setup 0.62 ms
Call 4 ms
Teardown 0.58 ms
Categories
Database 3 ms
Test code 0.12 ms
App code 0.11 ms
Other (Unsampled, pytest, Libraries) 2 ms
6 database queries per run
Needs 1 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call4 ms77.3%
AnalyticsTest.test_suite_trendapps/projects/tests.py:768 trend = suite_trend(resolve_scope(self.project))1 ms25.8%
suite_trendapps/projects/analytics.py:338 for env_id, name, kind, started_at, duration, test_time, number in rows:1 ms25.8%
QuerySet.__iter__django/db/models/query.py:3901 ms25.8%
QuerySet._fetch_alldjango/db/models/query.py:20001 ms25.8%
ValuesListIterable.__iter__django/db/models/query.py:2381 ms25.8%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15731 ms25.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16241 ms25.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms25.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms25.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms25.8%
Cursor.executepsycopg/cursor.py:1131 ms25.8%
Connection.waitpsycopg/connection.py:4951 ms25.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms25.8%
TestCase._fixture_teardowndjango/test/testcases.py:14951 ms25.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4831 ms25.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms25.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms25.8%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms25.8%
Cursor.executepsycopg/cursor.py:1131 ms25.8%
Connection.waitpsycopg/connection.py:4951 ms25.8%
Estimated from 3 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/projects/analytics.py:338
for env_id, name, kind, started_at, duration, test_time, number in rows:
suite_trend
· Database
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 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
6 queries · 2 msNo repeated queries.
Biggest pieces of work
| call pytest internals | 1 ms |
|
call test body
apps/projects/tests.py:768
|
1 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
1 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 | 5 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 3 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 5 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 4 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 6 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 3 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 6 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 4 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 7 ms | Profile |