Tests / mastodon_auth/tests.py
ParseDtTests::test_date_only_string_becomes_aware_midnight
First seen 13 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
147 ms
median 3 ms
max 579 ms
max 579 ms
Phases
Setup 2 ms
Call 0.30 ms
Teardown 145 ms
Categories
Other (DB schema, pytest, Unsampled) 147 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, 8 hours ago ·
open run
teardown578 ms99.8%
django_db_setuppytest_django/fixtures.py:199 teardown_databases(db_cfg, verbosity=request.config.option.verbose)578 ms99.8%
teardown_databasesdjango/test/utils.py:394578 ms99.8%
BaseDatabaseCreation.destroy_test_dbdjango/db/backends/base/creation.py:336578 ms99.8%
DatabaseCreation._destroy_test_dbdjango/db/backends/postgresql/creation.py:91578 ms99.8%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:352570 ms98.4%
CursorWrapper.executedjango/db/backends/utils.py:79570 ms98.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92570 ms98.4%
CursorWrapper._executedjango/db/backends/utils.py:103570 ms98.4%
Cursor.executepsycopg/cursor.py:113570 ms98.4%
Connection.waitpsycopg/connection.py:495570 ms98.4%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:3518 ms1.4%
DatabaseWrapper._nodb_cursordjango/db/backends/postgresql/base.py:5208 ms1.4%
BaseDatabaseWrapper._nodb_cursordjango/db/backends/base/base.py:7126 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:266 ms1.0%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3206 ms1.0%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2966 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:266 ms1.0%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2796 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:266 ms1.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2566 ms1.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:266 ms1.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3456 ms1.0%
Connection.connectpsycopg/connection.py:1096 ms1.0%
wait_connpsycopg/waiting.py:1454 ms0.7%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
Estimated from 576 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _unittest_setUpClass_fixture_ParseDtTests class | 0.11 ms |
| _django_setup_unittest class | 0.08 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| _django_isolate_apps function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
1 queries · 568 msNo repeated queries.
Biggest pieces of work
|
teardown fixture django_db_setup (session scope)
pytest_django/fixtures.py:199
|
578 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 | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 579 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 5 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 2 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 2 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 0.23 ms | Run |