Tests / confs/tests.py
TestMigratedLegacyConferences::test_legacy_tables_were_dropped
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
14 ms
median 14 ms
max 19 ms
max 19 ms
Phases
Setup 2 ms
Call 12 ms
Teardown 0.32 ms
Categories
Database 11 ms
Other (pytest, Unsampled) 3 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, 9 hours ago ·
open run
call8 ms85.5%
TestMigratedLegacyConferences.test_legacy_tables_were_droppedconfs/tests.py:136 tables = set(connection.introspection.table_names())7 ms74.8%
BaseDatabaseIntrospection.table_namesdjango/db/backends/base/introspection.py:697 ms74.8%
BaseDatabaseIntrospection.table_names.<locals>.get_namesdjango/db/backends/base/introspection.py:637 ms74.8%
DatabaseIntrospection.get_table_listdjango/db/backends/postgresql/introspection.py:677 ms74.8%
CursorWrapper.executedjango/db/backends/utils.py:797 ms74.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms74.8%
CursorWrapper._executedjango/db/backends/utils.py:1037 ms74.8%
Cursor.executepsycopg/cursor.py:1137 ms74.8%
Connection.waitpsycopg/connection.py:4957 ms74.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms21.4%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms21.4%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms21.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms10.7%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms10.7%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms10.7%
Atomic.__exit__django/db/transaction.py:2951 ms10.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms10.7%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms10.7%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3701 ms10.7%
CursorWrapper.__exit__django/db/backends/utils.py:491 ms10.7%
teardown0.42 ms4.3%
Estimated from 9 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:136
tables = set(connection.introspection.table_names())
TestMigratedLegacyConferences.test_legacy_tables_were_dropped
· Database
|
7 ms |
Fixtures
Exact setup time| _django_set_urlconf function | 0.27 ms |
| _live_server_helper function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_db_marker 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
6 queries · 7 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:136
|
7 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
1 ms |
| teardown pytest internals | 0.42 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 | 10 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 19 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 15 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 13 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 12 ms | Run |