Tests / confs/tests.py
TestMigratedLegacyConferences::test_fwd50_date_redirects
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
3.00 s
median 262 ms
max 8.24 s
max 8.24 s
Phases
Setup 2.83 s
Call 170 ms
Teardown 0.86 ms
Categories
Migrations 2.57 s
Database 7 ms
Test code 0.15 ms
Password hashing 0.11 ms
Other (DB schema, Imports, Libraries, pytest, ...) 422 ms
485 database queries per run
Needs 13 MB of memory (max 29 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
setup6.27 s96.3%
django_db_setuppytest_django/fixtures.py:186 db_cfg = setup_databases(6.26 s96.3%
setup_databasesdjango/test/utils.py:2206.26 s96.3%
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:916.08 s93.5%
call_commanddjango/core/management/__init__.py:1956.02 s92.6%
BaseCommand.executedjango/core/management/base.py:4666.02 s92.6%
no_translations.<locals>.wrapperdjango/core/management/base.py:1136.02 s92.6%
Command.handledjango/core/management/commands/migrate.py:3555.63 s86.6%
MigrationExecutor.migratedjango/db/migrations/executor.py:1375.61 s86.2%
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:1695.61 s86.2%
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2574.26 s65.5%
Migration.applydjango/db/migrations/migration.py:1322.39 s36.7%
AddField.database_forwardsdjango/db/migrations/operations/fields.py:118673 ms10.3%
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:816470 ms7.2%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48412 ms6.3%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211399 ms6.1%
CursorWrapper.executedjango/db/backends/utils.py:79399 ms6.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92399 ms6.1%
CursorWrapper._executedjango/db/backends/utils.py:103395 ms6.1%
Cursor.executepsycopg/cursor.py:113395 ms6.1%
Connection.waitpsycopg/connection.py:495395 ms6.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:206144 ms2.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:286143 ms2.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:78143 ms2.2%
1 smaller frames hidden
2 smaller frames hidden
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4537 ms0.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21137 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:7937 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9237 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:10335 ms0.5%
Cursor.executepsycopg/cursor.py:11335 ms0.5%
Connection.waitpsycopg/connection.py:49535 ms0.5%
1 smaller frames hidden
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:830157 ms2.4%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48150 ms2.3%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211147 ms2.3%
CursorWrapper.executedjango/db/backends/utils.py:79144 ms2.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92144 ms2.2%
CursorWrapper._executedjango/db/backends/utils.py:103144 ms2.2%
Cursor.executepsycopg/cursor.py:113144 ms2.2%
Connection.waitpsycopg/connection.py:495144 ms2.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:20633 ms0.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28633 ms0.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7833 ms0.5%
2 smaller frames hidden
1 smaller frames hidden
7 smaller frames hidden
RunPython.database_forwardsdjango/db/migrations/operations/special.py:203556 ms8.6%
cached_property.__get__django/utils/functional.py:47252 ms3.9%
ProjectState.appsdjango/db/migrations/state.py:592252 ms3.9%
__init____init__:-1252 ms3.9%
StateApps.__init__django/db/migrations/state.py:653252 ms3.9%
StateApps.render_multipledjango/db/migrations/state.py:691252 ms3.9%
ModelState.renderdjango/db/migrations/state.py:989169 ms2.6%
ModelBase.__new__django/db/models/base.py:21462 ms1.0%
ModelBase.add_to_classdjango/db/models/base.py:39460 ms0.9%
1 smaller frames hidden
11 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98281 ms1.2%
Field.clonedjango/db/models/fields/__init__.py:71349 ms0.8%
2 smaller frames hidden
1 smaller frames hidden
seed_conference_tagsconfs/migrations/0031_seed_conference_tags.py:14 ConferenceTag.objects.update_or_create(193 ms3.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87192 ms3.0%
QuerySet.update_or_createdjango/db/models/query.py:1096164 ms2.5%
QuerySet.get_or_createdjango/db/models/query.py:105967 ms1.0%
Atomic.__enter__django/db/transaction.py:22335 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2635 ms0.5%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:40035 ms0.5%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:36734 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7934 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9234 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:10333 ms0.5%
Cursor.executepsycopg/cursor.py:11333 ms0.5%
Connection.waitpsycopg/connection.py:49533 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
QuerySet.get_or_createdjango/db/models/query.py:105450 ms0.8%
QuerySet.getdjango/db/models/query.py:70244 ms0.7%
QuerySet.__len__django/db/models/query.py:42144 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:226244 ms0.7%
ModelIterable.__iter__django/db/models/query.py:10343 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162539 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:7939 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9239 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:10538 ms0.6%
Cursor.executepsycopg/cursor.py:11338 ms0.6%
Connection.waitpsycopg/connection.py:49538 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
QuerySet.get_or_createdjango/db/models/query.py:106146 ms0.7%
QuerySet.createdjango/db/models/query.py:73635 ms0.5%
Model.savedjango/db/models/base.py:90435 ms0.5%
Model.save_basedjango/db/models/base.py:99635 ms0.5%
Model._save_tabledjango/db/models/base.py:119934 ms0.5%
Model._do_insertdjango/db/models/base.py:125134 ms0.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8734 ms0.5%
QuerySet._insertdjango/db/models/query.py:214134 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
17 smaller frames hidden
CreateModel.database_forwardsdjango/db/migrations/operations/models.py:100477 ms7.3%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:524439 ms6.8%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45439 ms6.8%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211427 ms6.6%
CursorWrapper.executedjango/db/backends/utils.py:79427 ms6.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92427 ms6.6%
CursorWrapper._executedjango/db/backends/utils.py:103426 ms6.5%
Cursor.executepsycopg/cursor.py:113426 ms6.5%
Connection.waitpsycopg/connection.py:495426 ms6.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:20657 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28657 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7857 ms0.9%
2 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:37203 ms3.1%
ProjectState.clonedjango/db/migrations/state.py:578202 ms3.1%
ModelState.clonedjango/db/migrations/state.py:949201 ms3.1%
ModelState.__init__django/db/migrations/state.py:753196 ms3.0%
<GC>~196 ms3.0%
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
AlterField.database_forwardsdjango/db/migrations/operations/fields.py:243114 ms1.7%
BaseDatabaseSchemaEditor.alter_fielddjango/db/backends/base/schema.py:962111 ms1.7%
DatabaseSchemaEditor._alter_fielddjango/db/backends/postgresql/schema.py:274110 ms1.7%
BaseDatabaseSchemaEditor._alter_fielddjango/db/backends/base/schema.py:121659 ms0.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4859 ms0.9%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21156 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7956 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9256 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10356 ms0.9%
Cursor.executepsycopg/cursor.py:11356 ms0.9%
Connection.waitpsycopg/connection.py:49556 ms0.9%
1 smaller frames hidden
7 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:39105 ms1.6%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:399102 ms1.6%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:559102 ms1.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48102 ms1.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211102 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:79100 ms1.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92100 ms1.5%
CursorWrapper._executedjango/db/backends/utils.py:103100 ms1.5%
Cursor.executepsycopg/cursor.py:113100 ms1.5%
Connection.waitpsycopg/connection.py:495100 ms1.5%
1 smaller frames hidden
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39986 ms1.3%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55984 ms1.3%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4884 ms1.3%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21184 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:7984 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9284 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:10384 ms1.3%
Cursor.executepsycopg/cursor.py:11384 ms1.3%
Connection.waitpsycopg/connection.py:49584 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:20645 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28645 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7845 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
AddIndex.database_forwardsdjango/db/migrations/operations/models.py:90644 ms0.7%
DatabaseSchemaEditor.add_indexdjango/db/backends/postgresql/schema.py:31735 ms0.5%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4535 ms0.5%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21134 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7934 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9234 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:10334 ms0.5%
Cursor.executepsycopg/cursor.py:11334 ms0.5%
Connection.waitpsycopg/connection.py:49534 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
AlterTogetherOptionOperation.database_forwardsdjango/db/migrations/operations/models.py:66938 ms0.6%
BaseDatabaseSchemaEditor.alter_unique_togetherdjango/db/backends/base/schema.py:63538 ms0.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4835 ms0.5%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21133 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7933 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9233 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:10333 ms0.5%
Cursor.executepsycopg/cursor.py:11333 ms0.5%
Connection.waitpsycopg/connection.py:49533 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
RemoveIndex.database_forwardsdjango/db/migrations/operations/models.py:96835 ms0.5%
DatabaseSchemaEditor.remove_indexdjango/db/backends/postgresql/schema.py:32235 ms0.5%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4835 ms0.5%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21135 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7935 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9235 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:10335 ms0.5%
Cursor.executepsycopg/cursor.py:11335 ms0.5%
Connection.waitpsycopg/connection.py:49535 ms0.5%
8 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:1181.79 s27.5%
AddField.state_forwardsdjango/db/migrations/operations/fields.py:103775 ms11.9%
ProjectState.add_fielddjango/db/migrations/state.py:269775 ms11.9%
ProjectState.reload_modeldjango/db/migrations/state.py:426734 ms11.3%
ProjectState._reloaddjango/db/migrations/state.py:461723 ms11.1%
StateApps.render_multipledjango/db/migrations/state.py:691706 ms10.9%
ModelState.renderdjango/db/migrations/state.py:989423 ms6.5%
ModelBase.__new__django/db/models/base.py:214186 ms2.9%
ModelBase.add_to_classdjango/db/models/base.py:394174 ms2.7%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209055 ms0.8%
Field.contribute_to_classdjango/db/models/fields/__init__.py:99446 ms0.7%
12 smaller frames hidden
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38860 ms0.9%
ModelBase._preparedjango/db/models/base.py:42534 ms0.5%
5 smaller frames hidden
ModelBase.__new__django/db/models/base.py:14634 ms0.5%
20 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982275 ms4.2%
Field.clonedjango/db/models/fields/__init__.py:713135 ms2.1%
Field.clonedjango/db/models/fields/__init__.py:712109 ms1.7%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ProjectState.reload_modeldjango/db/migrations/state.py:42542 ms0.6%
CreateModel.state_forwardsdjango/db/migrations/operations/models.py:86408 ms6.3%
ProjectState.add_modeldjango/db/migrations/state.py:126408 ms6.3%
ProjectState.reload_modeldjango/db/migrations/state.py:426385 ms5.9%
ProjectState._reloaddjango/db/migrations/state.py:461385 ms5.9%
StateApps.render_multipledjango/db/migrations/state.py:691382 ms5.9%
ModelState.renderdjango/db/migrations/state.py:989264 ms4.1%
ModelBase.__new__django/db/models/base.py:214104 ms1.6%
ModelBase.add_to_classdjango/db/models/base.py:394102 ms1.6%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38948 ms0.7%
StateApps.register_modeldjango/db/migrations/state.py:72643 ms0.7%
Apps.do_pending_operationsdjango/apps/registry.py:43542 ms0.6%
Apps.lazy_model_operation.<locals>.apply_next_modeldjango/apps/registry.py:41340 ms0.6%
1 smaller frames hidden
2 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38833 ms0.5%
11 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982115 ms1.8%
Field.clonedjango/db/models/fields/__init__.py:71365 ms1.0%
Field.clonedjango/db/models/fields/__init__.py:71246 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
AlterField.state_forwardsdjango/db/migrations/operations/fields.py:227261 ms4.0%
ProjectState.alter_fielddjango/db/migrations/state.py:305253 ms3.9%
ProjectState.reload_modeldjango/db/migrations/state.py:426250 ms3.8%
ProjectState._reloaddjango/db/migrations/state.py:461247 ms3.8%
StateApps.render_multipledjango/db/migrations/state.py:691247 ms3.8%
ModelState.renderdjango/db/migrations/state.py:989148 ms2.3%
ModelBase.__new__django/db/models/base.py:21462 ms1.0%
ModelBase.add_to_classdjango/db/models/base.py:39460 ms0.9%
1 smaller frames hidden
14 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98295 ms1.5%
Field.clonedjango/db/models/fields/__init__.py:71365 ms1.0%
URLField.__init__django/db/models/fields/__init__.py:272637 ms0.6%
5 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:3198 ms1.5%
RemoveField.state_forwardsdjango/db/migrations/operations/fields.py:17172 ms1.1%
ProjectState.remove_fielddjango/db/migrations/state.py:27972 ms1.1%
ProjectState.reload_modeldjango/db/migrations/state.py:42671 ms1.1%
ProjectState._reloaddjango/db/migrations/state.py:46171 ms1.1%
StateApps.render_multipledjango/db/migrations/state.py:69171 ms1.1%
ModelState.renderdjango/db/migrations/state.py:98953 ms0.8%
ModelBase.__new__django/db/models/base.py:21439 ms0.6%
ModelBase.add_to_classdjango/db/models/base.py:39438 ms0.6%
1 smaller frames hidden
7 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
AlterTogetherOptionOperation.state_forwardsdjango/db/migrations/operations/models.py:65749 ms0.8%
ProjectState.alter_model_optionsdjango/db/migrations/state.py:19049 ms0.8%
ProjectState.reload_modeldjango/db/migrations/state.py:42646 ms0.7%
ProjectState._reloaddjango/db/migrations/state.py:46146 ms0.7%
StateApps.render_multipledjango/db/migrations/state.py:69146 ms0.7%
1 smaller frames hidden
AddIndex.state_forwardsdjango/db/migrations/operations/models.py:90143 ms0.7%
ProjectState.add_indexdjango/db/migrations/state.py:22643 ms0.7%
ProjectState._append_optiondjango/db/migrations/state.py:20943 ms0.7%
ProjectState.reload_modeldjango/db/migrations/state.py:42639 ms0.6%
ProjectState._reloaddjango/db/migrations/state.py:46139 ms0.6%
StateApps.render_multipledjango/db/migrations/state.py:69138 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
AddConstraint.state_forwardsdjango/db/migrations/operations/models.py:115243 ms0.7%
ProjectState.add_constraintdjango/db/migrations/state.py:24643 ms0.7%
ProjectState._append_optiondjango/db/migrations/state.py:20943 ms0.7%
ProjectState.reload_modeldjango/db/migrations/state.py:42643 ms0.7%
ProjectState._reloaddjango/db/migrations/state.py:46140 ms0.6%
StateApps.render_multipledjango/db/migrations/state.py:69140 ms0.6%
1 smaller frames hidden
4 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:11786 ms1.3%
ProjectState.clonedjango/db/migrations/state.py:57860 ms0.9%
ModelState.clonedjango/db/migrations/state.py:94946 ms0.7%
5 smaller frames hidden
3 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2541.15 s17.7%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:178768 ms11.8%
Atomic.__exit__django/db/transaction.py:275768 ms11.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:26768 ms11.8%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:327768 ms11.8%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:303768 ms11.8%
Connection.commitpsycopg/connection.py:309768 ms11.8%
Connection.waitpsycopg/connection.py:495767 ms11.8%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:176380 ms5.8%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45380 ms5.8%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211372 ms5.7%
CursorWrapper.executedjango/db/backends/utils.py:79372 ms5.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92372 ms5.7%
CursorWrapper._executedjango/db/backends/utils.py:103371 ms5.7%
Cursor.executepsycopg/cursor.py:113371 ms5.7%
Connection.waitpsycopg/connection.py:495371 ms5.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20673 ms1.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28673 ms1.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7873 ms1.1%
2 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:259138 ms2.1%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:275137 ms2.1%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:102128 ms2.0%
QuerySet.createdjango/db/models/query.py:736109 ms1.7%
Model.savedjango/db/models/base.py:904109 ms1.7%
Model.save_basedjango/db/models/base.py:996109 ms1.7%
Model._save_tabledjango/db/models/base.py:1199108 ms1.7%
Model._do_insertdjango/db/models/base.py:1251108 ms1.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87105 ms1.6%
QuerySet._insertdjango/db/models/query.py:2141105 ms1.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193693 ms1.4%
CursorWrapper.executedjango/db/backends/utils.py:7993 ms1.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9293 ms1.4%
CursorWrapper._executedjango/db/backends/utils.py:10591 ms1.4%
Cursor.executepsycopg/cursor.py:11391 ms1.4%
Connection.waitpsycopg/connection.py:49591 ms1.4%
2 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:26259 ms0.9%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:27559 ms0.9%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:10259 ms0.9%
QuerySet.createdjango/db/models/query.py:73656 ms0.9%
Model.savedjango/db/models/base.py:90456 ms0.9%
Model.save_basedjango/db/models/base.py:99653 ms0.8%
Model._save_tabledjango/db/models/base.py:119951 ms0.8%
Model._do_insertdjango/db/models/base.py:125151 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8751 ms0.8%
QuerySet._insertdjango/db/models/query.py:214151 ms0.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193650 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:7950 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9250 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:10550 ms0.8%
Cursor.executepsycopg/cursor.py:11350 ms0.8%
Connection.waitpsycopg/connection.py:49550 ms0.8%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:115192 ms3.0%
MigrationExecutor.__init__django/db/migrations/executor.py:18192 ms3.0%
MigrationLoader.__init__django/db/migrations/loader.py:59192 ms3.0%
MigrationLoader.build_graphdjango/db/migrations/loader.py:282115 ms1.8%
MigrationLoader.load_diskdjango/db/migrations/loader.py:121106 ms1.6%
import_module<stdlib>/importlib/__init__.py:88105 ms1.6%
_gcd_import<frozen importlib._bootstrap>:1389105 ms1.6%
_find_and_load<frozen importlib._bootstrap>:1353103 ms1.6%
_find_and_load_unlocked<frozen importlib._bootstrap>:124993 ms1.4%
_load_unlocked<frozen importlib._bootstrap>:85793 ms1.4%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74764 ms1.0%
SourceLoader.get_code<frozen importlib._bootstrap_external>:88143 ms0.7%
SourceLoader.source_to_code<frozen importlib._bootstrap_external>:81043 ms0.7%
_call_with_frames_removed<frozen importlib._bootstrap>:49140 ms0.6%
3 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
MigrationLoader.build_graphdjango/db/migrations/loader.py:28873 ms1.1%
MigrationRecorder.applied_migrationsdjango/db/migrations/recorder.py:8973 ms1.1%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6350 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2650 ms0.8%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32050 ms0.8%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29650 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2650 ms0.8%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27950 ms0.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2650 ms0.8%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25645 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2645 ms0.7%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34545 ms0.7%
Connection.connectpsycopg/connection.py:10945 ms0.7%
wait_connpsycopg/waiting.py:14145 ms0.7%
EpollSelector.select<stdlib>/selectors.py:45245 ms0.7%
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:382154 ms2.4%
emit_post_migrate_signaldjango/core/management/sql.py:52154 ms2.4%
Signal.senddjango/dispatch/dispatcher.py:249154 ms2.4%
create_permissionsdjango/contrib/auth/management/__init__.py:8844 ms0.7%
QuerySet.__iter__django/db/models/query.py:43944 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:226244 ms0.7%
ValuesListIterable.__iter__django/db/models/query.py:26344 ms0.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:157444 ms0.7%
create_permissionsdjango/contrib/auth/management/__init__.py:10837 ms0.6%
QuerySet.bulk_createdjango/db/models/query.py:90034 ms0.5%
QuerySet._batched_insertdjango/db/models/query.py:217934 ms0.5%
QuerySet._insertdjango/db/models/query.py:214134 ms0.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193633 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7933 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
13 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:36533 ms0.5%
cached_property.__get__django/utils/functional.py:4733 ms0.5%
ProjectState.appsdjango/db/migrations/state.py:59233 ms0.5%
__init____init__:-133 ms0.5%
6 smaller frames hidden
call_commanddjango/core/management/__init__.py:11840 ms0.6%
load_command_classdjango/core/management/__init__.py:4840 ms0.6%
import_module<stdlib>/importlib/__init__.py:8840 ms0.6%
_gcd_import<frozen importlib._bootstrap>:138940 ms0.6%
_find_and_load<frozen importlib._bootstrap>:135339 ms0.6%
_find_and_load_unlocked<frozen importlib._bootstrap>:124939 ms0.6%
_load_unlocked<frozen importlib._bootstrap>:85739 ms0.6%
1 smaller frames hidden
3 smaller frames hidden
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:75170 ms2.6%
BaseDatabaseCreation._create_test_dbdjango/db/backends/base/creation.py:229136 ms2.1%
DatabaseCreation._execute_create_test_dbdjango/db/backends/postgresql/creation.py:46136 ms2.1%
BaseDatabaseCreation._execute_create_test_dbdjango/db/backends/base/creation.py:215136 ms2.1%
CursorWrapper.executedjango/db/backends/utils.py:79136 ms2.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92136 ms2.1%
CursorWrapper._executedjango/db/backends/utils.py:103136 ms2.1%
Cursor.executepsycopg/cursor.py:113136 ms2.1%
Connection.waitpsycopg/connection.py:495136 ms2.1%
BaseDatabaseCreation._create_test_dbdjango/db/backends/base/creation.py:22734 ms0.5%
DatabaseWrapper._nodb_cursordjango/db/backends/postgresql/base.py:52034 ms0.5%
BaseDatabaseWrapper._nodb_cursordjango/db/backends/base/base.py:71234 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2634 ms0.5%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32034 ms0.5%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29634 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2634 ms0.5%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27934 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2634 ms0.5%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25634 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2634 ms0.5%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34534 ms0.5%
Connection.connectpsycopg/connection.py:10934 ms0.5%
wait_connpsycopg/waiting.py:14134 ms0.5%
EpollSelector.select<stdlib>/selectors.py:45234 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
call237 ms3.6%
TestMigratedLegacyConferences.test_fwd50_date_redirectsconfs/tests.py:163 response = self._assert_no_naive_warning(reverse("fwd50", args=[dt.date(2023, 11, 6)]), expected_status=301)234 ms3.6%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)143 ms2.2%
Client.getdjango/test/client.py:1133143 ms2.2%
RequestFactory.getdjango/test/client.py:475143 ms2.2%
RequestFactory.genericdjango/test/client.py:671143 ms2.2%
Client.requestdjango/test/client.py:1091143 ms2.2%
ClientHandler.__call__django/test/client.py:173131 ms2.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:42118 ms1.8%
import_stringdjango/utils/module_loading.py:30118 ms1.8%
cached_importdjango/utils/module_loading.py:15118 ms1.8%
import_module<stdlib>/importlib/__init__.py:88118 ms1.8%
_gcd_import<frozen importlib._bootstrap>:1389118 ms1.8%
_find_and_load<frozen importlib._bootstrap>:1353118 ms1.8%
_find_and_load_unlocked<frozen importlib._bootstrap>:1249118 ms1.8%
_load_unlocked<frozen importlib._bootstrap>:857118 ms1.8%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74799 ms1.5%
SourceLoader.get_code<frozen importlib._bootstrap_external>:88189 ms1.4%
SourceLoader.source_to_code<frozen importlib._bootstrap_external>:81089 ms1.4%
_call_with_frames_removed<frozen importlib._bootstrap>:49189 ms1.4%
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
reversedjango/urls/base.py:9891 ms1.4%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:76091 ms1.4%
URLResolver._populatedjango/urls/resolvers.py:55885 ms1.3%
cached_property.__get__django/utils/functional.py:4785 ms1.3%
URLResolver.url_patternsdjango/urls/resolvers.py:72985 ms1.3%
cached_property.__get__django/utils/functional.py:4785 ms1.3%
URLResolver.urlconf_moduledjango/urls/resolvers.py:72285 ms1.3%
import_module<stdlib>/importlib/__init__.py:8885 ms1.3%
_gcd_import<frozen importlib._bootstrap>:138985 ms1.3%
_find_and_load<frozen importlib._bootstrap>:135385 ms1.3%
_find_and_load_unlocked<frozen importlib._bootstrap>:124983 ms1.3%
_load_unlocked<frozen importlib._bootstrap>:85783 ms1.3%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:75177 ms1.2%
_call_with_frames_removed<frozen importlib._bootstrap>:49177 ms1.2%
1 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
Estimated from 5,302 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/migrations/0031_seed_conference_tags.py:14
ConferenceTag.objects.update_or_create(
seed_conference_tags
· Migrations
|
193 ms |
|
confs/tests.py:152
response = self.client.get(url)
TestMigratedLegacyConferences._assert_no_naive_warning
· Imports
|
143 ms |
|
confs/migrations/0011_conferencepost_alter_conference_posts.py:11
ConferencePost.objects.update(
update
· Migrations
|
17 ms |
|
fedidevs/urls.py:197
path("admin/", admin.site.urls),
<module>
· Imports
|
16 ms |
|
confs/tests.py:163
response = self._assert_no_naive_warning(reverse("fwd50", args=[dt.date(2023, 11, 6)]), expected_status=301)
TestMigratedLegacyConferences.test_fwd50_date_redirects
· Imports
|
15 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
|
12 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:388
conference, _created = conference_model.objects.get_or_create(slug=spec["slug"], defaults=defaults)
_get_or_create_conference
· Migrations
|
11 ms |
|
fedidevs/views.py:11
from potatoq.dashboard import Dashboard
<module>
· Imports
|
11 ms |
|
starter_packs/migrations/0009_starterpack_num_accounts.py:21
for sp in starter_packs:
update_num_accounts
· Migrations
|
10 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:398
legacy_accounts = list(account_model.objects.all())
migrate_legacy_pair
· Migrations
|
9 ms |
Fixtures
Exact setup time| _django_setup_unittest class | 6.26 s |
| django_db_setup session | 6.26 s |
| _unittest_setUpClass_fixture_TestMigratedLegacyConferences class | 2 ms |
| django_db_blocker session | 0.46 ms |
| django_test_environment session | 0.45 ms |
| _fail_for_invalid_template_variable session | 0.20 ms |
| django_db_use_migrations session | 0.14 ms |
| _template_string_if_invalid_marker function | 0.09 ms |
| _django_db_marker function | 0.07 ms |
| _live_server_helper function | 0.06 ms |
Database
1062 queries · 2.06 s
Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).
139×
INSERT INTO "django_migrations" ("app", "name", "applied") VALUES (%s, %s, %s) RETURNING "django_migrations"."id"
45×
SELECT "confs_conferencetag"."id", "confs_conferencetag"."name", "confs_conferencetag"."slug", "confs_conferencetag"."icon" FROM "confs_conferencetag" WHERE "confs_conferencetag"."slug" = %s LIMIT ? FOR UPDATE
45×
INSERT INTO "confs_conferencetag" ("name", "slug", "icon") VALUES (%s, %s, %s) RETURNING "confs_conferencetag"."id"
22×
SELECT "django_content_type"."model" AS "model" FROM "django_content_type" WHERE "django_content_type"."app_label" = %s
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 (…))
Biggest pieces of work
|
setup fixture django_db_setup (session scope)
pytest_django/fixtures.py:186
|
6.26 s |
|
call test body
confs/tests.py:163
|
234 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
3 ms |
| setup pytest internals | 2 ms |
|
setup setUpClass
django/test/testcases.py:1422
|
1 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 | 6.50 s | Profile |
| 16 hours ago | CI github-actions:test | passed | 3.81 s | Profile |
| 22 hours ago | CI github-actions:test | passed | 6.73 s | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 6.81 s | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 8.24 s | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 115 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 185 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 68 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 170 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 262 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 101 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 81 ms | Run |