Tests / confs/tests.py
TestLegacyConferenceDataMigration::test_copies_overlapping_legacy_rows_without_clobbering_existing_data
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
1.70 s
median 1.54 s
max 2.90 s
max 2.90 s
Phases
Setup 3 ms
Call 1.70 s
Teardown 0.77 ms
Categories
Migrations 1.26 s
Database 145 ms
Test code 2 ms
Factories 2 ms
Other (DB schema, Imports, Libraries, pytest, ...) 294 ms
288 database queries per run
Needs 698 KB of memory (max 3 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup2 ms0.2%
call1.26 s99.8%
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:438 self._migrate(from_targets)477 ms37.7%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:432 executor.migrate(targets)458 ms36.2%
MigrationExecutor.migratedjango/db/migrations/executor.py:143453 ms35.8%
MigrationExecutor._migrate_all_backwardsdjango/db/migrations/executor.py:221351 ms27.7%
MigrationExecutor.unapply_migrationdjango/db/migrations/executor.py:287271 ms21.5%
Migration.unapplydjango/db/migrations/migration.py:193229 ms18.1%
SeparateDatabaseAndState.database_backwardsdjango/db/migrations/operations/special.py:58214 ms16.9%
DeleteModel.database_backwardsdjango/db/migrations/operations/models.py:404214 ms16.9%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:524213 ms16.8%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45213 ms16.8%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211211 ms16.7%
CursorWrapper.executedjango/db/backends/utils.py:79211 ms16.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92211 ms16.7%
CursorWrapper._executedjango/db/backends/utils.py:103210 ms16.6%
Cursor.executepsycopg/cursor.py:113209 ms16.5%
Connection.waitpsycopg/connection.py:495209 ms16.5%
1 smaller frames hidden
1 smaller frames hidden
DeleteModel.database_backwardsdjango/db/migrations/operations/models.py:40412 ms0.9%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:52412 ms0.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4512 ms0.9%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21112 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7912 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9212 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10312 ms0.9%
Cursor.executepsycopg/cursor.py:11312 ms0.9%
Connection.waitpsycopg/connection.py:49512 ms0.9%
2 smaller frames hidden
Migration.unapplydjango/db/migrations/migration.py:16641 ms3.2%
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:3141 ms3.2%
RemoveConstraint.state_forwardsdjango/db/migrations/operations/models.py:120922 ms1.7%
ProjectState.remove_constraintdjango/db/migrations/state.py:24922 ms1.7%
ProjectState._remove_optiondjango/db/migrations/state.py:21522 ms1.7%
ProjectState.reload_modeldjango/db/migrations/state.py:42513 ms1.0%
ProjectState._find_reload_modeldjango/db/migrations/state.py:38713 ms1.0%
get_related_models_tuplesdjango/db/migrations/state.py:6513 ms1.0%
_get_related_modelsdjango/db/migrations/state.py:4213 ms1.0%
Options.get_fieldsdjango/db/models/options.py:87713 ms1.0%
Options._get_fieldsdjango/db/models/options.py:95013 ms1.0%
cached_property.__get__django/utils/functional.py:4713 ms1.0%
Options._relation_treedjango/db/models/options.py:85013 ms1.0%
Options._populate_directed_relation_graphdjango/db/models/options.py:82613 ms1.0%
Options._get_fieldsdjango/db/models/options.py:97013 ms1.0%
make_immutable_fields_listdjango/db/models/options.py:8612 ms0.9%
<GC>~12 ms0.9%
1 smaller frames hidden
ProjectState.reload_modeldjango/db/migrations/state.py:4268 ms0.7%
ProjectState._reloaddjango/db/migrations/state.py:4618 ms0.7%
StateApps.render_multipledjango/db/migrations/state.py:6918 ms0.7%
AlterTogetherOptionOperation.state_forwardsdjango/db/migrations/operations/models.py:65710 ms0.8%
ProjectState.alter_model_optionsdjango/db/migrations/state.py:19010 ms0.8%
ProjectState.reload_modeldjango/db/migrations/state.py:4268 ms0.7%
ProjectState._reloaddjango/db/migrations/state.py:4617 ms0.6%
StateApps.render_multipledjango/db/migrations/state.py:6917 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
RemoveIndex.state_forwardsdjango/db/migrations/operations/models.py:9617 ms0.6%
ProjectState.remove_indexdjango/db/migrations/state.py:2297 ms0.6%
ProjectState._remove_optiondjango/db/migrations/state.py:2157 ms0.6%
ProjectState.reload_modeldjango/db/migrations/state.py:4267 ms0.6%
2 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.unapply_migrationdjango/db/migrations/executor.py:28465 ms5.1%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:17659 ms4.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4559 ms4.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21159 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:7959 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9259 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:10359 ms4.7%
Cursor.executepsycopg/cursor.py:11359 ms4.7%
Connection.waitpsycopg/connection.py:49559 ms4.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20626 ms2.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28626 ms2.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7826 ms2.1%
1 smaller frames hidden
MigrationExecutor.unapply_migrationdjango/db/migrations/executor.py:28814 ms1.1%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:27714 ms1.1%
MigrationRecorder.record_unapplieddjango/db/migrations/recorder.py:10714 ms1.1%
QuerySet.deletedjango/db/models/query.py:135714 ms1.1%
Collector.deletedjango/db/models/deletion.py:4898 ms0.7%
Atomic.__exit__django/db/transaction.py:2758 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:268 ms0.7%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:3278 ms0.7%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:3038 ms0.7%
Connection.commitpsycopg/connection.py:3098 ms0.7%
Connection.waitpsycopg/connection.py:4958 ms0.7%
1 smaller frames hidden
MigrationExecutor._migrate_all_backwardsdjango/db/migrations/executor.py:21647 ms3.7%
Migration.mutate_statedjango/db/migrations/migration.py:9147 ms3.7%
CreateModel.state_forwardsdjango/db/migrations/operations/models.py:8628 ms2.2%
ProjectState.add_modeldjango/db/migrations/state.py:12628 ms2.2%
ProjectState.reload_modeldjango/db/migrations/state.py:42624 ms1.9%
ProjectState._reloaddjango/db/migrations/state.py:46124 ms1.9%
StateApps.render_multipledjango/db/migrations/state.py:69124 ms1.9%
ModelState.renderdjango/db/migrations/state.py:98918 ms1.4%
ModelBase.__new__django/db/models/base.py:21411 ms0.9%
ModelBase.add_to_classdjango/db/models/base.py:39410 ms0.8%
4 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
AlterField.state_forwardsdjango/db/migrations/operations/fields.py:22712 ms0.9%
ProjectState.alter_fielddjango/db/migrations/state.py:30510 ms0.8%
ProjectState.reload_modeldjango/db/migrations/state.py:42610 ms0.8%
ProjectState._reloaddjango/db/migrations/state.py:46110 ms0.8%
StateApps.render_multipledjango/db/migrations/state.py:69110 ms0.8%
1 smaller frames hidden
2 smaller frames hidden
MigrationExecutor._migrate_all_backwardsdjango/db/migrations/executor.py:21036 ms2.8%
Migration.mutate_statedjango/db/migrations/migration.py:9136 ms2.8%
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:3136 ms2.8%
RemoveIndex.state_forwardsdjango/db/migrations/operations/models.py:96125 ms2.0%
ProjectState.remove_indexdjango/db/migrations/state.py:22925 ms2.0%
ProjectState._remove_optiondjango/db/migrations/state.py:21525 ms2.0%
ProjectState.reload_modeldjango/db/migrations/state.py:42623 ms1.8%
ProjectState._reloaddjango/db/migrations/state.py:46120 ms1.6%
StateApps.render_multipledjango/db/migrations/state.py:69120 ms1.6%
ModelState.renderdjango/db/migrations/state.py:98918 ms1.4%
ModelBase.__new__django/db/models/base.py:21414 ms1.1%
ModelBase.add_to_classdjango/db/models/base.py:39414 ms1.1%
DateField.contribute_to_classdjango/db/models/fields/__init__.py:156513 ms1.0%
_partial_new<stdlib>/functools.py:32713 ms1.0%
<GC>~13 ms1.0%
1 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
MigrationExecutor._migrate_all_backwardsdjango/db/migrations/executor.py:20617 ms1.3%
cached_property.__get__django/utils/functional.py:4717 ms1.3%
ProjectState.appsdjango/db/migrations/state.py:59217 ms1.3%
__init____init__:-117 ms1.3%
StateApps.__init__django/db/migrations/state.py:65317 ms1.3%
StateApps.render_multipledjango/db/migrations/state.py:69117 ms1.3%
ModelState.renderdjango/db/migrations/state.py:98913 ms1.0%
ModelBase.__new__django/db/models/base.py:2147 ms0.6%
ModelBase.add_to_classdjango/db/models/base.py:3947 ms0.6%
4 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
TestLegacyConferenceDataMigration._migrateconfs/tests.py:430 executor = MigrationExecutor(connection)10 ms0.8%
MigrationExecutor.__init__django/db/migrations/executor.py:1810 ms0.8%
__init____init__:-110 ms0.8%
MigrationLoader.__init__django/db/migrations/loader.py:5910 ms0.8%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:431 executor.loader.build_graph()10 ms0.8%
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:439226 ms17.9%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:559 ConferenceAccount.objects.create(conference=fwd50, account=url_match_account, count=99)24 ms1.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8724 ms1.9%
QuerySet.createdjango/db/models/query.py:73624 ms1.9%
Model.savedjango/db/models/base.py:90424 ms1.9%
Model.save_basedjango/db/models/base.py:99624 ms1.9%
Model._save_tabledjango/db/models/base.py:119924 ms1.9%
Model._do_insertdjango/db/models/base.py:125124 ms1.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8724 ms1.9%
QuerySet._insertdjango/db/models/query.py:214124 ms1.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193624 ms1.9%
CursorWrapper.executedjango/db/backends/utils.py:7924 ms1.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9224 ms1.9%
CursorWrapper._executedjango/db/backends/utils.py:10524 ms1.9%
Cursor.executepsycopg/cursor.py:11324 ms1.9%
Connection.waitpsycopg/connection.py:49524 ms1.9%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:569 ConferenceLookup.objects.create(conference=africa, language="python")22 ms1.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8722 ms1.7%
QuerySet.createdjango/db/models/query.py:73622 ms1.7%
Model.savedjango/db/models/base.py:90422 ms1.7%
Model.save_basedjango/db/models/base.py:99622 ms1.7%
Model._save_tabledjango/db/models/base.py:119920 ms1.6%
Model._do_insertdjango/db/models/base.py:125120 ms1.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8720 ms1.6%
QuerySet._insertdjango/db/models/query.py:214120 ms1.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193620 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:7920 ms1.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9220 ms1.6%
CursorWrapper._executedjango/db/backends/utils.py:10520 ms1.6%
Cursor.executepsycopg/cursor.py:11320 ms1.6%
Connection.waitpsycopg/connection.py:49520 ms1.6%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:486 .apps14 ms1.1%
cached_property.__get__django/utils/functional.py:4714 ms1.1%
ProjectState.appsdjango/db/migrations/state.py:59214 ms1.1%
__init____init__:-114 ms1.1%
StateApps.__init__django/db/migrations/state.py:65314 ms1.1%
StateApps.render_multipledjango/db/migrations/state.py:69114 ms1.1%
ModelState.renderdjango/db/migrations/state.py:98913 ms1.0%
ModelBase.__new__django/db/models/base.py:25410 ms0.8%
<GC>~10 ms0.8%
2 smaller frames hidden
1 smaller frames hidden
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:544 fwd50 = Conference.objects.create(14 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8714 ms1.1%
QuerySet.createdjango/db/models/query.py:73614 ms1.1%
Model.savedjango/db/models/base.py:90414 ms1.1%
Model.save_basedjango/db/models/base.py:99614 ms1.1%
Model._save_tabledjango/db/models/base.py:119914 ms1.1%
Model._do_insertdjango/db/models/base.py:125114 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8714 ms1.1%
QuerySet._insertdjango/db/models/query.py:214114 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193614 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:7914 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9214 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:10514 ms1.1%
Cursor.executepsycopg/cursor.py:11314 ms1.1%
Connection.waitpsycopg/connection.py:49514 ms1.1%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:519 url_match_post = baker.make(12 ms0.9%
makemodel_bakery/baker.py:17512 ms0.9%
Baker.makemodel_bakery/baker.py:45412 ms0.9%
Baker._makemodel_bakery/baker.py:54211 ms0.9%
Baker.instancemodel_bakery/baker.py:65911 ms0.9%
Model.savedjango/db/models/base.py:90411 ms0.9%
Model.save_basedjango/db/models/base.py:99611 ms0.9%
Model._save_tabledjango/db/models/base.py:119911 ms0.9%
Model._do_insertdjango/db/models/base.py:125111 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8711 ms0.9%
QuerySet._insertdjango/db/models/query.py:214111 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193611 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10511 ms0.9%
Cursor.executepsycopg/cursor.py:11311 ms0.9%
Connection.waitpsycopg/connection.py:49511 ms0.9%
1 smaller frames hidden
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:528 pair_match_account = baker.make(12 ms0.9%
makemodel_bakery/baker.py:17512 ms0.9%
Baker.makemodel_bakery/baker.py:45412 ms0.9%
Baker._makemodel_bakery/baker.py:54211 ms0.9%
Baker.instancemodel_bakery/baker.py:65911 ms0.9%
Model.savedjango/db/models/base.py:90411 ms0.9%
Model.save_basedjango/db/models/base.py:99611 ms0.9%
Model._save_tabledjango/db/models/base.py:119911 ms0.9%
Model._do_insertdjango/db/models/base.py:125111 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8711 ms0.9%
QuerySet._insertdjango/db/models/query.py:214111 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193611 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10511 ms0.9%
Cursor.executepsycopg/cursor.py:11311 ms0.9%
Connection.waitpsycopg/connection.py:49511 ms0.9%
1 smaller frames hidden
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:552 ConferencePost.objects.create(12 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8712 ms0.9%
QuerySet.createdjango/db/models/query.py:73612 ms0.9%
Model.savedjango/db/models/base.py:90412 ms0.9%
Model.save_basedjango/db/models/base.py:99612 ms0.9%
Model._save_tabledjango/db/models/base.py:119912 ms0.9%
Model._do_insertdjango/db/models/base.py:125112 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8712 ms0.9%
QuerySet._insertdjango/db/models/query.py:214112 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193512 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10511 ms0.9%
Cursor.executepsycopg/cursor.py:11311 ms0.9%
Connection.waitpsycopg/connection.py:49511 ms0.9%
1 smaller frames hidden
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:601 fwd_post_model.objects.create(12 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8712 ms0.9%
QuerySet.createdjango/db/models/query.py:73612 ms0.9%
Model.savedjango/db/models/base.py:90412 ms0.9%
Model.save_basedjango/db/models/base.py:99612 ms0.9%
Model._save_tabledjango/db/models/base.py:119912 ms0.9%
Model._do_insertdjango/db/models/base.py:125112 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8712 ms0.9%
QuerySet._insertdjango/db/models/query.py:214112 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193612 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7912 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9212 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10512 ms0.9%
Cursor.executepsycopg/cursor.py:11312 ms0.9%
Connection.waitpsycopg/connection.py:49512 ms0.9%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:512 url_match_account = baker.make(11 ms0.9%
makemodel_bakery/baker.py:17511 ms0.9%
Baker.makemodel_bakery/baker.py:45411 ms0.9%
Baker._makemodel_bakery/baker.py:54211 ms0.9%
Baker.instancemodel_bakery/baker.py:65911 ms0.9%
Model.savedjango/db/models/base.py:90411 ms0.9%
Model.save_basedjango/db/models/base.py:99611 ms0.9%
Model._save_tabledjango/db/models/base.py:119911 ms0.9%
Model._do_insertdjango/db/models/base.py:125111 ms0.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8711 ms0.9%
QuerySet._insertdjango/db/models/query.py:214111 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193611 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10511 ms0.9%
Cursor.executepsycopg/cursor.py:11311 ms0.9%
Connection.waitpsycopg/connection.py:49511 ms0.9%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:50310 ms0.8%
makemodel_bakery/baker.py:17510 ms0.8%
Baker.makemodel_bakery/baker.py:45410 ms0.8%
Baker._makemodel_bakery/baker.py:54210 ms0.8%
Baker.instancemodel_bakery/baker.py:65910 ms0.8%
Model.savedjango/db/models/base.py:90410 ms0.8%
Model.save_basedjango/db/models/base.py:99610 ms0.8%
Model._save_tabledjango/db/models/base.py:119910 ms0.8%
Model._do_insertdjango/db/models/base.py:125110 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8710 ms0.8%
QuerySet._insertdjango/db/models/query.py:214110 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193610 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:7910 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9210 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:10510 ms0.8%
Cursor.executepsycopg/cursor.py:11310 ms0.8%
Connection.waitpsycopg/connection.py:49510 ms0.8%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:57610 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8710 ms0.8%
QuerySet.createdjango/db/models/query.py:73610 ms0.8%
Model.savedjango/db/models/base.py:90410 ms0.8%
Model.save_basedjango/db/models/base.py:99610 ms0.8%
Model._save_tabledjango/db/models/base.py:119910 ms0.8%
Model._do_insertdjango/db/models/base.py:125110 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8710 ms0.8%
QuerySet._insertdjango/db/models/query.py:214110 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193610 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:7910 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9210 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:10510 ms0.8%
Cursor.executepsycopg/cursor.py:11310 ms0.8%
Connection.waitpsycopg/connection.py:49510 ms0.8%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:62610 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8710 ms0.8%
QuerySet.createdjango/db/models/query.py:73610 ms0.8%
Model.savedjango/db/models/base.py:90410 ms0.8%
Model.save_basedjango/db/models/base.py:99610 ms0.8%
Model._save_tabledjango/db/models/base.py:119910 ms0.8%
Model._do_insertdjango/db/models/base.py:125110 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8710 ms0.8%
QuerySet._insertdjango/db/models/query.py:214110 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193610 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:7910 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9210 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:10510 ms0.8%
Cursor.executepsycopg/cursor.py:11310 ms0.8%
Connection.waitpsycopg/connection.py:49510 ms0.8%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:48410 ms0.8%
MigrationExecutor.__init__django/db/migrations/executor.py:1810 ms0.8%
__init____init__:-110 ms0.8%
MigrationLoader.__init__django/db/migrations/loader.py:5910 ms0.8%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:48510 ms0.8%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:5358 ms0.7%
makemodel_bakery/baker.py:1758 ms0.7%
Baker.makemodel_bakery/baker.py:4548 ms0.7%
Baker._makemodel_bakery/baker.py:5428 ms0.7%
Baker.instancemodel_bakery/baker.py:6598 ms0.7%
Model.savedjango/db/models/base.py:9048 ms0.7%
Model.save_basedjango/db/models/base.py:9968 ms0.7%
Model._save_tabledjango/db/models/base.py:11998 ms0.7%
Model._do_insertdjango/db/models/base.py:12518 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:878 ms0.7%
QuerySet._insertdjango/db/models/query.py:21418 ms0.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19368 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:798 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:928 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1058 ms0.7%
Cursor.executepsycopg/cursor.py:1138 ms0.7%
Connection.waitpsycopg/connection.py:4958 ms0.7%
TestLegacyConferenceDataMigration._seed_overlapping_legacy_dataconfs/tests.py:5848 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:878 ms0.7%
QuerySet.createdjango/db/models/query.py:7368 ms0.7%
Model.savedjango/db/models/base.py:9048 ms0.7%
Model.save_basedjango/db/models/base.py:9968 ms0.7%
Model._save_tabledjango/db/models/base.py:11998 ms0.7%
Model._do_insertdjango/db/models/base.py:12518 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:878 ms0.7%
QuerySet._insertdjango/db/models/query.py:21418 ms0.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19367 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:797 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1057 ms0.6%
Cursor.executepsycopg/cursor.py:1137 ms0.6%
Connection.waitpsycopg/connection.py:4957 ms0.6%
1 smaller frames hidden
14 smaller frames hidden
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:440221 ms17.5%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:432 executor.migrate(targets)213 ms16.8%
MigrationExecutor.migratedjango/db/migrations/executor.py:137192 ms15.2%
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:169178 ms14.1%
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:257156 ms12.3%
Migration.applydjango/db/migrations/migration.py:132135 ms10.6%
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:3971 ms5.6%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39971 ms5.6%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55971 ms5.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4871 ms5.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21171 ms5.6%
CursorWrapper.executedjango/db/backends/utils.py:7971 ms5.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9271 ms5.6%
CursorWrapper._executedjango/db/backends/utils.py:10371 ms5.6%
Cursor.executepsycopg/cursor.py:11371 ms5.6%
Connection.waitpsycopg/connection.py:49571 ms5.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:20613 ms1.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28613 ms1.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7813 ms1.0%
RunPython.database_forwardsdjango/db/migrations/operations/special.py:20353 ms4.2%
migrate_legacy_conferencesconfs/migrations/0033_remove_legacy_conference_tables.py:55531 ms2.5%
migrate_legacy_pairconfs/migrations/0033_remove_legacy_conference_tables.py:40710 ms0.8%
_pk_batchesconfs/migrations/0033_remove_legacy_conference_tables.py:214 rows = list(model.objects.filter(pk__gt=last_pk).order_by("pk")[:batch_size])10 ms0.8%
QuerySet.__iter__django/db/models/query.py:43910 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:226210 ms0.8%
ModelIterable.__iter__django/db/models/query.py:1038 ms0.7%
1 smaller frames hidden
migrate_legacy_pairconfs/migrations/0033_remove_legacy_conference_tables.py:4167 ms0.6%
migrate_legacy_pairconfs/migrations/0033_remove_legacy_conference_tables.py:4007 ms0.6%
3 smaller frames hidden
migrate_legacy_conferencesconfs/migrations/0033_remove_legacy_conference_tables.py:55712 ms0.9%
migrate_djangoconus_postsconfs/migrations/0033_remove_legacy_conference_tables.py:4407 ms0.6%
2 smaller frames hidden
2 smaller frames hidden
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:3998 ms0.7%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:5598 ms0.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:487 ms0.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:2117 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:797 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:927 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1037 ms0.6%
Cursor.executepsycopg/cursor.py:1137 ms0.6%
Connection.waitpsycopg/connection.py:4957 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:11822 ms1.7%
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:3122 ms1.7%
RemoveConstraint.state_forwardsdjango/db/migrations/operations/models.py:12098 ms0.7%
ProjectState.remove_constraintdjango/db/migrations/state.py:2498 ms0.7%
ProjectState._remove_optiondjango/db/migrations/state.py:2158 ms0.7%
ProjectState.reload_modeldjango/db/migrations/state.py:4267 ms0.6%
ProjectState._reloaddjango/db/migrations/state.py:4617 ms0.6%
StateApps.render_multipledjango/db/migrations/state.py:6917 ms0.6%
1 smaller frames hidden
AlterTogetherOptionOperation.state_forwardsdjango/db/migrations/operations/models.py:6577 ms0.6%
ProjectState.alter_model_optionsdjango/db/migrations/state.py:1907 ms0.6%
ProjectState.reload_modeldjango/db/migrations/state.py:4267 ms0.6%
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:25420 ms1.6%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:17820 ms1.6%
Atomic.__exit__django/db/transaction.py:27520 ms1.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2620 ms1.6%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:32720 ms1.6%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:30320 ms1.6%
Connection.commitpsycopg/connection.py:30920 ms1.6%
Connection.waitpsycopg/connection.py:49520 ms1.6%
1 smaller frames hidden
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:16614 ms1.1%
cached_property.__get__django/utils/functional.py:4714 ms1.1%
ProjectState.appsdjango/db/migrations/state.py:59214 ms1.1%
__init____init__:-114 ms1.1%
StateApps.__init__django/db/migrations/state.py:65314 ms1.1%
StateApps.render_multipledjango/db/migrations/state.py:69113 ms1.0%
ModelState.renderdjango/db/migrations/state.py:9898 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.migratedjango/db/migrations/executor.py:10914 ms1.1%
MigrationRecorder.ensure_schemadjango/db/migrations/recorder.py:7314 ms1.1%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6414 ms1.1%
BaseDatabaseIntrospection.table_namesdjango/db/backends/base/introspection.py:7014 ms1.1%
BaseDatabaseIntrospection.table_names.<locals>.get_namesdjango/db/backends/base/introspection.py:6314 ms1.1%
DatabaseIntrospection.get_table_listdjango/db/backends/postgresql/introspection.py:6714 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:7914 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9214 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:10314 ms1.1%
Cursor.executepsycopg/cursor.py:11314 ms1.1%
Connection.waitpsycopg/connection.py:49514 ms1.1%
1 smaller frames hidden
TestLegacyConferenceDataMigration._migrateconfs/tests.py:430 executor = MigrationExecutor(connection)8 ms0.7%
__init____init__:-18 ms0.7%
MigrationExecutor.__init__django/db/migrations/executor.py:188 ms0.7%
__init____init__:-18 ms0.7%
MigrationLoader.__init__django/db/migrations/loader.py:598 ms0.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()216 ms17.1%
TransactionTestCase._fixture_teardowndjango/test/testcases.py:1278216 ms17.1%
call_commanddjango/core/management/__init__.py:195215 ms17.0%
BaseCommand.executedjango/core/management/base.py:466215 ms17.0%
Command.handledjango/core/management/commands/flush.py:71133 ms10.5%
BaseDatabaseOperations.execute_sql_flushdjango/db/backends/base/operations.py:493101 ms8.0%
CursorWrapper.executedjango/db/backends/utils.py:79101 ms8.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92101 ms8.0%
CursorWrapper._executedjango/db/backends/utils.py:103101 ms8.0%
Cursor.executepsycopg/cursor.py:113101 ms8.0%
Connection.waitpsycopg/connection.py:495101 ms8.0%
BaseDatabaseOperations.execute_sql_flushdjango/db/backends/base/operations.py:48732 ms2.6%
Atomic.__exit__django/db/transaction.py:27532 ms2.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2632 ms2.6%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:32732 ms2.6%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:30332 ms2.6%
Connection.commitpsycopg/connection.py:30932 ms2.6%
Connection.waitpsycopg/connection.py:49532 ms2.6%
Command.handledjango/core/management/commands/flush.py:8978 ms6.2%
emit_post_migrate_signaldjango/core/management/sql.py:5278 ms6.2%
Signal.senddjango/dispatch/dispatcher.py:24978 ms6.2%
create_permissionsdjango/contrib/auth/management/__init__.py:10840 ms3.1%
QuerySet.bulk_createdjango/db/models/query.py:90037 ms2.9%
QuerySet._batched_insertdjango/db/models/query.py:217937 ms2.9%
QuerySet._insertdjango/db/models/query.py:214136 ms2.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193634 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:7934 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9234 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:10534 ms2.7%
Cursor.executepsycopg/cursor.py:11334 ms2.7%
Connection.waitpsycopg/connection.py:49534 ms2.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
create_permissionsdjango/contrib/auth/management/__init__.py:6217 ms1.3%
create_contenttypesdjango/contrib/contenttypes/management/__init__.py:1407 ms0.6%
QuerySet.bulk_createdjango/db/models/query.py:9007 ms0.6%
QuerySet._batched_insertdjango/db/models/query.py:21797 ms0.6%
QuerySet._insertdjango/db/models/query.py:21417 ms0.6%
3 smaller frames hidden
create_permissionsdjango/contrib/auth/management/__init__.py:8810 ms0.8%
QuerySet.__iter__django/db/models/query.py:43910 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:226210 ms0.8%
ValuesListIterable.__iter__django/db/models/query.py:26310 ms0.8%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:157410 ms0.8%
4 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:44142 ms3.3%
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:43540 ms3.1%
TestLegacyConferenceDataMigration._leaf_targetsconfs/tests.py:412 executor = MigrationExecutor(connection)40 ms3.1%
MigrationExecutor.__init__django/db/migrations/executor.py:1840 ms3.1%
__init____init__:-140 ms3.1%
MigrationLoader.__init__django/db/migrations/loader.py:5940 ms3.1%
MigrationLoader.build_graphdjango/db/migrations/loader.py:28831 ms2.5%
MigrationRecorder.applied_migrationsdjango/db/migrations/recorder.py:8929 ms2.3%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6418 ms1.4%
BaseDatabaseIntrospection.table_namesdjango/db/backends/base/introspection.py:7018 ms1.4%
BaseDatabaseIntrospection.table_names.<locals>.get_namesdjango/db/backends/base/introspection.py:6318 ms1.4%
DatabaseIntrospection.get_table_listdjango/db/backends/postgresql/introspection.py:6718 ms1.4%
CursorWrapper.executedjango/db/backends/utils.py:7918 ms1.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9218 ms1.4%
CursorWrapper._executedjango/db/backends/utils.py:10318 ms1.4%
Cursor.executepsycopg/cursor.py:11318 ms1.4%
Connection.waitpsycopg/connection.py:49518 ms1.4%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6311 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms0.9%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32011 ms0.9%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29611 ms0.9%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30411 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms0.9%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27911 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms0.9%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25611 ms0.9%
DatabaseWrapper.get_new_connectionfedidevs/db/postgresql/base.py:39 return super().get_new_connection(conn_params)11 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms0.9%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34511 ms0.9%
Connection.connectpsycopg/connection.py:10910 ms0.8%
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:44326 ms2.1%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:430 executor = MigrationExecutor(connection)12 ms0.9%
__init____init__:-112 ms0.9%
MigrationExecutor.__init__django/db/migrations/executor.py:1812 ms0.9%
__init____init__:-112 ms0.9%
MigrationLoader.__init__django/db/migrations/loader.py:5912 ms0.9%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:431 executor.loader.build_graph()7 ms0.6%
TestLegacyConferenceDataMigration._migrateconfs/tests.py:432 executor.migrate(targets)7 ms0.6%
TestLegacyConferenceDataMigration.test_copies_overlapping_legacy_rows_without_clobbering_existing_dataconfs/tests.py:43610 ms0.8%
TestLegacyConferenceDataMigration._targets_withconfs/tests.py:41810 ms0.8%
TestLegacyConferenceDataMigration._leaf_targetsconfs/tests.py:412 executor = MigrationExecutor(connection)10 ms0.8%
__init____init__:-110 ms0.8%
MigrationExecutor.__init__django/db/migrations/executor.py:1810 ms0.8%
__init____init__:-110 ms0.8%
MigrationLoader.__init__django/db/migrations/loader.py:5910 ms0.8%
1 smaller frames hidden
Estimated from 1,053 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:432
executor.migrate(targets)
TestLegacyConferenceDataMigration._migrate
· Migrations
|
622 ms |
|
confs/tests.py:412
executor = MigrationExecutor(connection)
TestLegacyConferenceDataMigration._leaf_targets
· Migrations
|
44 ms |
|
confs/tests.py:430
executor = MigrationExecutor(connection)
TestLegacyConferenceDataMigration._migrate
· Migrations
|
30 ms |
|
confs/tests.py:559
ConferenceAccount.objects.create(conference=fwd50, account=url_match_account, count=99)
TestLegacyConferenceDataMigration._seed_overlapping_legacy_data
· Database
|
24 ms |
|
confs/tests.py:569
ConferenceLookup.objects.create(conference=africa, language="python")
TestLegacyConferenceDataMigration._seed_overlapping_legacy_data
· Database
|
22 ms |
|
confs/tests.py:431
executor.loader.build_graph()
TestLegacyConferenceDataMigration._migrate
· Migrations
|
17 ms |
|
confs/tests.py:486
.apps
TestLegacyConferenceDataMigration._seed_overlapping_legacy_data
· Migrations
|
14 ms |
|
confs/tests.py:544
fwd50 = Conference.objects.create(
TestLegacyConferenceDataMigration._seed_overlapping_legacy_data
· Database
|
14 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:214
rows = list(model.objects.filter(pk__gt=last_pk).order_by("pk")[:batch_size])
_pk_batches
· Migrations
|
13 ms |
|
confs/tests.py:601
fwd_post_model.objects.create(
TestLegacyConferenceDataMigration._seed_overlapping_legacy_data
· Database
|
12 ms |
Fixtures
Exact setup time| _django_setup_unittest class | 0.31 ms |
| _unittest_setUpClass_fixture_TestLegacyConferenceDataMigration class | 0.30 ms |
| _django_set_urlconf function | 0.13 ms |
| _django_isolate_apps function | 0.06 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| monkeypatch function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
Database
284 queries · 704 ms
Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).
22×
SELECT "django_content_type"."model" AS "model" FROM "django_content_type" WHERE "django_content_type"."app_label" = %s
15×
SELECT c.relname, CASE WHEN c.relispartition THEN ? WHEN c.relkind IN (…) THEN ? ELSE ? END, obj_description(c.oid, ?) FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN (…) AND n.nspname NOT IN (…) AND pg_catalog.pg_table_is_visible(c.oid)
13×
SELECT "django_migrations"."id", "django_migrations"."app", "django_migrations"."name", "django_migrations"."applied" FROM "django_migrations"
11×
SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = %s AND "django_content_type"."model" IN (…))
11×
SELECT "auth_permission"."content_type_id" AS "content_type", "auth_permission"."codename" AS "codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (…) ORDER BY "django_co…
Biggest pieces of work
|
call test body
confs/tests.py:438
|
1.04 s |
|
call _post_teardown
django/test/testcases.py:1243
|
221 ms |
|
setup relative_to
<stdlib>/pathlib/__init__.py:491
|
1 ms |
|
setup setUpClass
django/test/testcases.py:1135
|
1 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 | 1.27 s | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 1.39 s | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 1.67 s | Profile |
| 3 weeks ago | CI github-actions:test | passed | 862 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 1.50 s | Profile |
| 1 month ago | CI github-actions:test | passed | 1.54 s | Profile |
| 1 month ago | CI github-actions:test | passed | 1.70 s | Profile |
| 1 month ago | CI github-actions:test | passed | 1.54 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 1.40 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 1.31 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 2.90 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 2.42 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 2.60 s | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 1.53 s | Run |