Tests / accounts/tests.py
TestActivityPubActor::test_media_and_profile_url_variants
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
14 ms
median 3 ms
max 65 ms
max 65 ms
Phases
Setup 2 ms
Call 0.71 ms
Teardown 12 ms
Categories
Other (DB schema, Unsampled, pytest, Libraries) 14 ms
1 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, 7 hours ago ·
open run
teardown64 ms98.4%
CallInfo.from_call_pytest/runner.py:36164 ms98.4%
call_and_report.<locals>.<lambda>_pytest/runner.py:25064 ms98.4%
HookCaller.__call__pluggy/_hooks.py:51264 ms98.4%
PluginManager._hookexecpluggy/_manager.py:12064 ms98.4%
_multicallpluggy/_callers.py:12164 ms98.4%
pytest_runtest_teardown_pytest/runner.py:19964 ms98.4%
SetupState.teardown_exact_pytest/runner.py:56864 ms98.4%
FixtureDef.finish_pytest/fixtures.py:115664 ms98.4%
_teardown_yield_fixture_pytest/fixtures.py:101464 ms98.4%
django_db_setuppytest_django/fixtures.py:199 teardown_databases(db_cfg, verbosity=request.config.option.verbose)64 ms98.4%
teardown_databasesdjango/test/utils.py:39464 ms98.4%
BaseDatabaseCreation.destroy_test_dbdjango/db/backends/base/creation.py:33664 ms98.4%
DatabaseCreation._destroy_test_dbdjango/db/backends/postgresql/creation.py:9164 ms98.4%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:35257 ms87.5%
CursorWrapper.executedjango/db/backends/utils.py:7957 ms87.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9257 ms87.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:10057 ms87.5%
CursorWrapper._executedjango/db/backends/utils.py:10357 ms87.5%
Cursor.executepsycopg/cursor.py:11357 ms87.5%
Connection.waitpsycopg/connection.py:49557 ms87.5%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:3517 ms10.9%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2037 ms10.9%
DatabaseWrapper._nodb_cursordjango/db/backends/postgresql/base.py:5207 ms10.9%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2037 ms10.9%
BaseDatabaseWrapper._nodb_cursordjango/db/backends/base/base.py:7127 ms10.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms10.9%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3207 ms10.9%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2967 ms10.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms10.9%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2797 ms10.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms10.9%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms10.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms10.9%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3457 ms10.9%
Connection.connectpsycopg/connection.py:1097 ms10.9%
wait_connpsycopg/waiting.py:1414 ms6.2%
EpollSelector.select<stdlib>/selectors.py:4524 ms6.2%
wait_connpsycopg/waiting.py:1453 ms4.7%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms4.7%
Estimated from 63 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Fixtures
Exact setup time| _django_db_marker function | 0.07 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_isolate_apps function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
1 queries · 56 msNo repeated queries.
Biggest pieces of work
|
teardown fixture django_db_setup (session scope)
pytest_django/fixtures.py:199
|
64 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 | 65 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 0.97 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 65 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 4 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 1 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 | 2 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 1 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 8 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 1 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 6 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 0.28 ms | Run |