Tests / confs/tests.py
TestMigratedLegacyConferences::test_legacy_tables_were_dropped
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
12 ms
median 13 ms
max 19 ms
max 19 ms
Phases
Setup 2 ms
Call 11 ms
Teardown 0.30 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, 7 hours ago ·
open run
call8 ms85.7%
TestMigratedLegacyConferences.test_legacy_tables_were_droppedconfs/tests.py:136 tables = set(connection.introspection.table_names())7 ms77.1%
BaseDatabaseIntrospection.table_namesdjango/db/backends/base/introspection.py:697 ms77.1%
BaseDatabaseIntrospection.table_names.<locals>.get_namesdjango/db/backends/base/introspection.py:637 ms77.1%
DatabaseIntrospection.get_table_listdjango/db/backends/postgresql/introspection.py:677 ms77.1%
CursorWrapper.executedjango/db/backends/utils.py:797 ms77.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms77.1%
CursorWrapper._executedjango/db/backends/utils.py:1037 ms77.1%
Cursor.executepsycopg/cursor.py:1137 ms77.1%
Connection.waitpsycopg/connection.py:4957 ms77.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2067 ms77.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2867 ms77.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:787 ms77.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()0.81 ms8.6%
TestCase._fixture_teardowndjango/test/testcases.py:14980.81 ms8.6%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4950.81 ms8.6%
CursorWrapper.executedjango/db/backends/utils.py:790.81 ms8.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.81 ms8.6%
CursorWrapper._executedjango/db/backends/utils.py:1030.81 ms8.6%
Estimated from 10 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.06 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _django_isolate_apps function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.03 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
|
0.81 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 | 9 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 14 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 13 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 11 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 15 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 10 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 19 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 15 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 13 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 12 ms | Run |