Tests / starter_packs/tests.py
TestGetSubscribeUrl::test_no_subscribe_link
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
22 ms
median 20 ms
max 36 ms
max 36 ms
Phases
Setup 17 ms
Call 5 ms
Teardown 0.25 ms
Categories
Database 18 ms
Other (pytest, Libraries, Unsampled, Mocking, ...) 4 ms
5 database queries per run
Needs 1 KB of memory (max 16 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
setup17 ms84.5%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()16 ms79.5%
TestCase._enter_atomicsdjango/test/testcases.py:139916 ms79.5%
Atomic.__enter__django/db/transaction.py:21016 ms79.5%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45416 ms79.5%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30416 ms79.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2616 ms79.5%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27916 ms79.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2616 ms79.5%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25616 ms79.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2616 ms79.5%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34516 ms79.5%
Connection.connectpsycopg/connection.py:10916 ms79.5%
wait_connpsycopg/waiting.py:14510 ms49.7%
BaseConnection._connect_genpsycopg/_connection_base.py:43910 ms49.7%
wait_connpsycopg/waiting.py:1415 ms24.8%
EpollSelector.select<stdlib>/selectors.py:4525 ms24.8%
wait_connpsycopg/waiting.py:1361 ms5.0%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms5.0%
call3 ms14.4%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)1 ms7.2%
_BaseExitStack.enter_context<stdlib>/contextlib.py:5941 ms7.2%
_patch.__enter__<stdlib>/unittest/mock.py:15721 ms7.2%
MagicMixin.__init__<stdlib>/unittest/mock.py:21861 ms7.2%
Estimated from 19 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestGetSubscribeUrl class | 16 ms |
| _django_setup_unittest class | 0.32 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _live_server_helper function | 0.04 ms |
| _django_isolate_apps function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
setup setUpClass
django/test/testcases.py:1426
|
16 ms |
|
call decoration_helper
<stdlib>/unittest/mock.py:1418
|
1 ms |
| call pytest internals | 1 ms |
| setup pytest internals | 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 | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 20 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 18 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 20 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 18 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 21 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 16 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 18 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 17 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 25 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 36 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 31 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 2 ms | Run |