Tests / starter_packs/tests.py
TestGetSubscribeUrl::test_no_subscribe_link
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
27 ms
median 28 ms
max 36 ms
max 36 ms
Phases
Setup 21 ms
Call 6 ms
Teardown 0.24 ms
Categories
Database 24 ms
Other (Logging, Mocking, pytest, Libraries, ...) 4 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, 9 hours ago ·
open run
setup12 ms73.2%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()10 ms61.0%
TestCase._enter_atomicsdjango/test/testcases.py:139910 ms61.0%
Atomic.__enter__django/db/transaction.py:21010 ms61.0%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45410 ms61.0%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30410 ms61.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms61.0%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27910 ms61.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms61.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25610 ms61.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms61.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34510 ms61.0%
Connection.connectpsycopg/connection.py:10910 ms61.0%
wait_connpsycopg/waiting.py:1456 ms36.6%
BaseConnection._connect_genpsycopg/_connection_base.py:4396 ms36.6%
wait_connpsycopg/waiting.py:1414 ms24.4%
EpollSelector.select<stdlib>/selectors.py:4524 ms24.4%
__init____init__:-12 ms12.2%
signature<stdlib>/inspect.py:33402 ms12.2%
Signature.from_callable<stdlib>/inspect.py:30552 ms12.2%
_signature_from_callable<stdlib>/inspect.py:25251 ms6.1%
_signature_from_function<stdlib>/inspect.py:23611 ms6.1%
_signature_from_callable<stdlib>/inspect.py:24651 ms6.1%
call4 ms25.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms25.7%
TestCase._fixture_teardowndjango/test/testcases.py:14984 ms25.7%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms12.9%
CursorWrapper.executedjango/db/backends/utils.py:792 ms12.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms12.9%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms12.9%
Cursor.executepsycopg/cursor.py:1132 ms12.9%
Connection.waitpsycopg/connection.py:4952 ms12.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4962 ms12.9%
CursorWrapper.executedjango/db/backends/utils.py:792 ms12.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms12.9%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms12.9%
Cursor.executepsycopg/cursor.py:1132 ms12.9%
Connection.waitpsycopg/connection.py:4952 ms12.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms12.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3182 ms12.9%
BaseCursor._set_resultspsycopg/_cursor_base.py:5352 ms12.9%
BaseCursor._select_current_resultpsycopg/_cursor_base.py:5142 ms12.9%
Estimated from 14 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestGetSubscribeUrl class | 11 ms |
| _django_setup_unittest class | 0.30 ms |
| _django_set_urlconf function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 3 msNo repeated queries.
Biggest pieces of work
|
setup setUpClass
django/test/testcases.py:1426
|
10 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
4 ms |
|
setup __init__
__init__:-1
|
2 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 | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 17 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 25 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 36 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 31 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 2 ms | Run |