Tests / confs/tests.py
TestMigratedLegacyConferences::test_legacy_tables_were_dropped
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
12 ms
median 12 ms
max 19 ms
max 19 ms
Phases
Setup 2 ms
Call 10 ms
Teardown 0.29 ms
Categories
Database 10 ms
Other (pytest, Unsampled, Libraries) 2 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, 2 weeks ago ·
open run
call6 ms87.8%
TestMigratedLegacyConferences.test_legacy_tables_were_droppedconfs/tests.py:136 tables = set(connection.introspection.table_names())6 ms87.8%
BaseDatabaseIntrospection.table_namesdjango/db/backends/base/introspection.py:696 ms87.8%
BaseDatabaseIntrospection.table_names.<locals>.get_namesdjango/db/backends/base/introspection.py:636 ms87.8%
DatabaseIntrospection.get_table_listdjango/db/backends/postgresql/introspection.py:676 ms87.8%
CursorWrapper.executedjango/db/backends/utils.py:796 ms87.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms87.8%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms70.3%
Cursor.executepsycopg/cursor.py:1135 ms70.3%
Connection.waitpsycopg/connection.py:4955 ms70.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms52.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms52.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms52.7%
Estimated from 5 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
|
6 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 5 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:136
|
6 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 7 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 12 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 9 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 9 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 9 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 14 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 13 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 11 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 15 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 10 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 19 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 15 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 13 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 12 ms | Run |