Tests / confs/tests.py
TestMigratedLegacyConferences::test_fwd50_date_redirects
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
3.43 s
median 3.81 s
max 8.24 s
max 8.24 s
Phases
Setup 3.25 s
Call 173 ms
Teardown 0.91 ms
Categories
Migrations 2.92 s
Database 6 ms
Password hashing 0.18 ms
Test code 0.13 ms
Other (DB schema, Imports, Libraries, pytest, ...) 502 ms
574 database queries per run
Needs 16 MB of memory (max 32 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup4.82 s97.0%
django_db_setuppytest_django/fixtures.py:186 db_cfg = setup_databases(4.81 s96.9%
setup_databasesdjango/test/utils.py:2204.81 s96.9%
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:914.05 s81.4%
call_commanddjango/core/management/__init__.py:1954.03 s81.1%
BaseCommand.executedjango/core/management/base.py:4664.03 s81.1%
no_translations.<locals>.wrapperdjango/core/management/base.py:1134.03 s81.1%
Command.handledjango/core/management/commands/migrate.py:3553.84 s77.2%
MigrationExecutor.migratedjango/db/migrations/executor.py:1373.81 s76.6%
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:1693.81 s76.6%
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2572.90 s58.3%
Migration.applydjango/db/migrations/migration.py:1321.45 s29.3%
AddField.database_forwardsdjango/db/migrations/operations/fields.py:118450 ms9.1%
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:816291 ms5.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48248 ms5.0%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211238 ms4.8%
CursorWrapper.executedjango/db/backends/utils.py:79238 ms4.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92238 ms4.8%
CursorWrapper._executedjango/db/backends/utils.py:103237 ms4.8%
Cursor.executepsycopg/cursor.py:113237 ms4.8%
Connection.waitpsycopg/connection.py:495237 ms4.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:20676 ms1.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28675 ms1.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7875 ms1.5%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4525 ms0.5%
1 smaller frames hidden
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:830131 ms2.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48129 ms2.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211123 ms2.5%
CursorWrapper.executedjango/db/backends/utils.py:79123 ms2.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92123 ms2.5%
CursorWrapper._executedjango/db/backends/utils.py:103123 ms2.5%
Cursor.executepsycopg/cursor.py:113123 ms2.5%
Connection.waitpsycopg/connection.py:495123 ms2.5%
2 smaller frames hidden
1 smaller frames hidden
4 smaller frames hidden
RunPython.database_forwardsdjango/db/migrations/operations/special.py:203392 ms7.9%
cached_property.__get__django/utils/functional.py:47166 ms3.3%
ProjectState.appsdjango/db/migrations/state.py:592166 ms3.3%
__init____init__:-1166 ms3.3%
StateApps.__init__django/db/migrations/state.py:653165 ms3.3%
StateApps.render_multipledjango/db/migrations/state.py:691165 ms3.3%
ModelState.renderdjango/db/migrations/state.py:989112 ms2.3%
ModelBase.__new__django/db/models/base.py:21441 ms0.8%
ModelBase.add_to_classdjango/db/models/base.py:39441 ms0.8%
ModelBase.__new__django/db/models/base.py:14629 ms0.6%
9 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98252 ms1.0%
Field.clonedjango/db/models/fields/__init__.py:71335 ms0.7%
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
seed_conference_tagsconfs/migrations/0031_seed_conference_tags.py:14 ConferenceTag.objects.update_or_create(108 ms2.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87108 ms2.2%
QuerySet.update_or_createdjango/db/models/query.py:109681 ms1.6%
QuerySet.get_or_createdjango/db/models/query.py:105933 ms0.7%
QuerySet.get_or_createdjango/db/models/query.py:105426 ms0.5%
1 smaller frames hidden
QuerySet.update_or_createdjango/db/models/query.py:109328 ms0.6%
updateconfs/migrations/0011_conferencepost_alter_conference_posts.py:11 ConferencePost.objects.update(34 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8734 ms0.7%
QuerySet.updatedjango/db/models/query.py:142134 ms0.7%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:212134 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162534 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7934 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9234 ms0.7%
12 smaller frames hidden
CreateModel.database_forwardsdjango/db/migrations/operations/models.py:100272 ms5.5%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:524250 ms5.0%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45250 ms5.0%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211241 ms4.8%
CursorWrapper.executedjango/db/backends/utils.py:79241 ms4.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92241 ms4.8%
CursorWrapper._executedjango/db/backends/utils.py:103238 ms4.8%
Cursor.executepsycopg/cursor.py:113238 ms4.8%
Connection.waitpsycopg/connection.py:495238 ms4.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:20649 ms1.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28649 ms1.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7849 ms1.0%
1 smaller frames hidden
2 smaller frames hidden
3 smaller frames hidden
AlterField.database_forwardsdjango/db/migrations/operations/fields.py:243105 ms2.1%
BaseDatabaseSchemaEditor.alter_fielddjango/db/backends/base/schema.py:962105 ms2.1%
DatabaseSchemaEditor._alter_fielddjango/db/backends/postgresql/schema.py:274102 ms2.1%
BaseDatabaseSchemaEditor._alter_fielddjango/db/backends/base/schema.py:121639 ms0.8%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4839 ms0.8%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21137 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:7937 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9237 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:10337 ms0.8%
Cursor.executepsycopg/cursor.py:11337 ms0.8%
Connection.waitpsycopg/connection.py:49537 ms0.8%
1 smaller frames hidden
BaseDatabaseSchemaEditor._alter_fielddjango/db/backends/base/schema.py:100825 ms0.5%
BaseDatabaseSchemaEditor._constraint_namesdjango/db/backends/base/schema.py:206025 ms0.5%
9 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:3963 ms1.3%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39963 ms1.3%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55963 ms1.3%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4863 ms1.3%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21160 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:7960 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9260 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:10360 ms1.2%
Cursor.executepsycopg/cursor.py:11360 ms1.2%
Connection.waitpsycopg/connection.py:49560 ms1.2%
1 smaller frames hidden
AddIndex.database_forwardsdjango/db/migrations/operations/models.py:90649 ms1.0%
DatabaseSchemaEditor.add_indexdjango/db/backends/postgresql/schema.py:31749 ms1.0%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4549 ms1.0%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21149 ms1.0%
CursorWrapper.executedjango/db/backends/utils.py:7949 ms1.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9249 ms1.0%
CursorWrapper._executedjango/db/backends/utils.py:10349 ms1.0%
Cursor.executepsycopg/cursor.py:11349 ms1.0%
Connection.waitpsycopg/connection.py:49549 ms1.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:20628 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28628 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7828 ms0.6%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39945 ms0.9%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55945 ms0.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4845 ms0.9%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21145 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7945 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9245 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10345 ms0.9%
Cursor.executepsycopg/cursor.py:11345 ms0.9%
Connection.waitpsycopg/connection.py:49545 ms0.9%
RemoveField.database_forwardsdjango/db/migrations/operations/fields.py:17626 ms0.5%
6 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:1181.36 s27.3%
AddField.state_forwardsdjango/db/migrations/operations/fields.py:103510 ms10.3%
ProjectState.add_fielddjango/db/migrations/state.py:269509 ms10.2%
ProjectState.reload_modeldjango/db/migrations/state.py:426479 ms9.6%
ProjectState._reloaddjango/db/migrations/state.py:461471 ms9.5%
StateApps.render_multipledjango/db/migrations/state.py:691465 ms9.4%
ModelState.renderdjango/db/migrations/state.py:989297 ms6.0%
ModelBase.__new__django/db/models/base.py:214123 ms2.5%
ModelBase.add_to_classdjango/db/models/base.py:394117 ms2.3%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209025 ms0.5%
Field.contribute_to_classdjango/db/models/fields/__init__.py:99425 ms0.5%
12 smaller frames hidden
2 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38952 ms1.0%
StateApps.register_modeldjango/db/migrations/state.py:72651 ms1.0%
Apps.do_pending_operationsdjango/apps/registry.py:43549 ms1.0%
Apps.lazy_model_operation.<locals>.apply_next_modeldjango/apps/registry.py:41348 ms1.0%
Apps.lazy_model_operationdjango/apps/registry.py:39939 ms0.8%
RelatedField.contribute_to_class.<locals>.resolve_related_classdjango/db/models/fields/related.py:40337 ms0.8%
RelatedField.do_related_classdjango/db/models/fields/related.py:47936 ms0.7%
ForeignKey.contribute_to_related_classdjango/db/models/fields/related.py:128436 ms0.7%
ForeignObject.contribute_to_related_classdjango/db/models/fields/related.py:94236 ms0.7%
1 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:14637 ms0.8%
ModelBase.__new__django/db/models/base.py:38831 ms0.6%
12 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982153 ms3.1%
Field.clonedjango/db/models/fields/__init__.py:71384 ms1.7%
Field.clonedjango/db/models/fields/__init__.py:71259 ms1.2%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ProjectState.reload_modeldjango/db/migrations/state.py:42530 ms0.6%
AlterField.state_forwardsdjango/db/migrations/operations/fields.py:227242 ms4.9%
ProjectState.alter_fielddjango/db/migrations/state.py:305238 ms4.8%
ProjectState.reload_modeldjango/db/migrations/state.py:426235 ms4.7%
ProjectState._reloaddjango/db/migrations/state.py:461235 ms4.7%
StateApps.render_multipledjango/db/migrations/state.py:691232 ms4.7%
ModelState.renderdjango/db/migrations/state.py:989170 ms3.4%
ModelBase.__new__django/db/models/base.py:21472 ms1.5%
ModelBase.add_to_classdjango/db/models/base.py:39469 ms1.4%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:14637 ms0.8%
ModelBase.add_to_classdjango/db/models/base.py:39429 ms0.6%
1 smaller frames hidden
13 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98260 ms1.2%
Field.clonedjango/db/models/fields/__init__.py:71231 ms0.6%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
CreateModel.state_forwardsdjango/db/migrations/operations/models.py:86242 ms4.9%
ProjectState.add_modeldjango/db/migrations/state.py:126242 ms4.9%
ProjectState.reload_modeldjango/db/migrations/state.py:426235 ms4.7%
ProjectState._reloaddjango/db/migrations/state.py:461232 ms4.7%
StateApps.render_multipledjango/db/migrations/state.py:691225 ms4.5%
ModelState.renderdjango/db/migrations/state.py:989157 ms3.1%
ModelBase.__new__django/db/models/base.py:21458 ms1.2%
ModelBase.add_to_classdjango/db/models/base.py:39455 ms1.1%
14 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98266 ms1.3%
Field.clonedjango/db/models/fields/__init__.py:71233 ms0.7%
Field.clonedjango/db/models/fields/__init__.py:71328 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:31207 ms4.2%
RemoveConstraint.state_forwardsdjango/db/migrations/operations/models.py:1209159 ms3.2%
ProjectState.remove_constraintdjango/db/migrations/state.py:249159 ms3.2%
ProjectState._remove_optiondjango/db/migrations/state.py:215159 ms3.2%
ProjectState.reload_modeldjango/db/migrations/state.py:426159 ms3.2%
ProjectState._reloaddjango/db/migrations/state.py:461159 ms3.2%
StateApps.render_multipledjango/db/migrations/state.py:691158 ms3.2%
ModelState.renderdjango/db/migrations/state.py:989155 ms3.1%
ModelBase.__new__django/db/models/base.py:214152 ms3.1%
ModelBase.add_to_classdjango/db/models/base.py:394152 ms3.1%
ForeignObject.contribute_to_classdjango/db/models/fields/related.py:932149 ms3.0%
RelatedField.contribute_to_classdjango/db/models/fields/related.py:405149 ms3.0%
lazy_related_operationdjango/db/models/fields/related.py:95149 ms3.0%
<GC>~149 ms3.0%
2 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
AddIndex.state_forwardsdjango/db/migrations/operations/models.py:90148 ms1.0%
ProjectState.add_indexdjango/db/migrations/state.py:22648 ms1.0%
ProjectState._append_optiondjango/db/migrations/state.py:20948 ms1.0%
ProjectState.reload_modeldjango/db/migrations/state.py:42647 ms0.9%
ProjectState._reloaddjango/db/migrations/state.py:46147 ms0.9%
StateApps.render_multipledjango/db/migrations/state.py:69142 ms0.8%
1 smaller frames hidden
1 smaller frames hidden
RemoveField.state_forwardsdjango/db/migrations/operations/fields.py:17135 ms0.7%
ProjectState.remove_fielddjango/db/migrations/state.py:27935 ms0.7%
ProjectState.reload_modeldjango/db/migrations/state.py:42633 ms0.7%
ProjectState._reloaddjango/db/migrations/state.py:46133 ms0.7%
StateApps.render_multipledjango/db/migrations/state.py:69131 ms0.6%
1 smaller frames hidden
5 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:11784 ms1.7%
ProjectState.clonedjango/db/migrations/state.py:57851 ms1.0%
ModelState.clonedjango/db/migrations/state.py:94941 ms0.8%
4 smaller frames hidden
ProjectState.clonedjango/db/migrations/state.py:58233 ms0.7%
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:254751 ms15.1%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:178494 ms9.9%
Atomic.__exit__django/db/transaction.py:275494 ms9.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:26492 ms9.9%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:327492 ms9.9%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:303492 ms9.9%
Connection.commitpsycopg/connection.py:309491 ms9.9%
Connection.waitpsycopg/connection.py:495491 ms9.9%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:176244 ms4.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45244 ms4.9%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211235 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:79235 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92235 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:103235 ms4.7%
Cursor.executepsycopg/cursor.py:113235 ms4.7%
Connection.waitpsycopg/connection.py:495235 ms4.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20647 ms0.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28647 ms0.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7847 ms0.9%
2 smaller frames hidden
2 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:259102 ms2.1%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:275101 ms2.0%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:10299 ms2.0%
QuerySet.createdjango/db/models/query.py:73696 ms1.9%
Model.savedjango/db/models/base.py:90496 ms1.9%
Model.save_basedjango/db/models/base.py:99690 ms1.8%
Model._save_tabledjango/db/models/base.py:119989 ms1.8%
Model._do_insertdjango/db/models/base.py:125188 ms1.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8788 ms1.8%
QuerySet._insertdjango/db/models/query.py:214188 ms1.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193670 ms1.4%
CursorWrapper.executedjango/db/backends/utils.py:7970 ms1.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9269 ms1.4%
CursorWrapper._executedjango/db/backends/utils.py:10566 ms1.3%
Cursor.executepsycopg/cursor.py:11366 ms1.3%
Connection.waitpsycopg/connection.py:49566 ms1.3%
2 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:26258 ms1.2%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:27557 ms1.1%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:10257 ms1.1%
QuerySet.createdjango/db/models/query.py:73657 ms1.1%
Model.savedjango/db/models/base.py:90457 ms1.1%
Model.save_basedjango/db/models/base.py:99655 ms1.1%
Model._save_tabledjango/db/models/base.py:119955 ms1.1%
Model._do_insertdjango/db/models/base.py:125155 ms1.1%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8755 ms1.1%
QuerySet._insertdjango/db/models/query.py:214155 ms1.1%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193654 ms1.1%
CursorWrapper.executedjango/db/backends/utils.py:7954 ms1.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9254 ms1.1%
CursorWrapper._executedjango/db/backends/utils.py:10554 ms1.1%
Cursor.executepsycopg/cursor.py:11354 ms1.1%
Connection.waitpsycopg/connection.py:49554 ms1.1%
1 smaller frames hidden
3 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:38285 ms1.7%
emit_post_migrate_signaldjango/core/management/sql.py:5285 ms1.7%
Signal.senddjango/dispatch/dispatcher.py:24985 ms1.7%
create_permissionsdjango/contrib/auth/management/__init__.py:10828 ms0.6%
QuerySet.bulk_createdjango/db/models/query.py:90028 ms0.6%
QuerySet._batched_insertdjango/db/models/query.py:217928 ms0.6%
QuerySet._insertdjango/db/models/query.py:214128 ms0.6%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193626 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:7926 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9225 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:10525 ms0.5%
Cursor.executepsycopg/cursor.py:11325 ms0.5%
Connection.waitpsycopg/connection.py:49525 ms0.5%
1 smaller frames hidden
9 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:11578 ms1.6%
MigrationExecutor.__init__django/db/migrations/executor.py:1878 ms1.6%
MigrationLoader.__init__django/db/migrations/loader.py:5978 ms1.6%
MigrationLoader.build_graphdjango/db/migrations/loader.py:28841 ms0.8%
MigrationRecorder.applied_migrationsdjango/db/migrations/recorder.py:8941 ms0.8%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6333 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2633 ms0.7%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32033 ms0.7%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29633 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2633 ms0.7%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27933 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2633 ms0.7%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25630 ms0.6%
DatabaseWrapper.get_new_connectionfedidevs/db/postgresql/base.py:39 return super().get_new_connection(conn_params)30 ms0.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2630 ms0.6%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34530 ms0.6%
Connection.connectpsycopg/connection.py:10930 ms0.6%
wait_connpsycopg/waiting.py:14130 ms0.6%
EpollSelector.select<stdlib>/selectors.py:45230 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
MigrationLoader.build_graphdjango/db/migrations/loader.py:28234 ms0.7%
MigrationLoader.load_diskdjango/db/migrations/loader.py:12134 ms0.7%
import_module<stdlib>/importlib/__init__.py:8834 ms0.7%
_gcd_import<frozen importlib._bootstrap>:138933 ms0.7%
_find_and_load<frozen importlib._bootstrap>:135333 ms0.7%
_find_and_load_unlocked<frozen importlib._bootstrap>:124926 ms0.5%
_load_unlocked<frozen importlib._bootstrap>:85726 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:36526 ms0.5%
cached_property.__get__django/utils/functional.py:4726 ms0.5%
ProjectState.appsdjango/db/migrations/state.py:59226 ms0.5%
__init____init__:-126 ms0.5%
StateApps.__init__django/db/migrations/state.py:65326 ms0.5%
StateApps.render_multipledjango/db/migrations/state.py:69126 ms0.5%
3 smaller frames hidden
2 smaller frames hidden
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:75767 ms15.4%
BaseDatabaseCreation._create_test_dbdjango/db/backends/base/creation.py:229749 ms15.1%
DatabaseCreation._execute_create_test_dbdjango/db/backends/postgresql/creation.py:46749 ms15.1%
BaseDatabaseCreation._execute_create_test_dbdjango/db/backends/base/creation.py:215749 ms15.1%
CursorWrapper.executedjango/db/backends/utils.py:79749 ms15.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92749 ms15.1%
CursorWrapper._executedjango/db/backends/utils.py:103749 ms15.1%
Cursor.executepsycopg/cursor.py:113749 ms15.1%
Connection.waitpsycopg/connection.py:495749 ms15.1%
1 smaller frames hidden
2 smaller frames hidden
call149 ms3.0%
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)145 ms2.9%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)88 ms1.8%
Client.getdjango/test/client.py:113388 ms1.8%
RequestFactory.getdjango/test/client.py:47588 ms1.8%
RequestFactory.genericdjango/test/client.py:67188 ms1.8%
Client.requestdjango/test/client.py:109188 ms1.8%
ClientHandler.__call__django/test/client.py:17376 ms1.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:4269 ms1.4%
import_stringdjango/utils/module_loading.py:3069 ms1.4%
cached_importdjango/utils/module_loading.py:1569 ms1.4%
import_module<stdlib>/importlib/__init__.py:8869 ms1.4%
_gcd_import<frozen importlib._bootstrap>:138969 ms1.4%
_find_and_load<frozen importlib._bootstrap>:135368 ms1.4%
_find_and_load_unlocked<frozen importlib._bootstrap>:124968 ms1.4%
_load_unlocked<frozen importlib._bootstrap>:85768 ms1.4%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74757 ms1.1%
SourceLoader.get_code<frozen importlib._bootstrap_external>:88157 ms1.1%
SourceLoader.source_to_code<frozen importlib._bootstrap_external>:81057 ms1.1%
_call_with_frames_removed<frozen importlib._bootstrap>:49157 ms1.1%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
reversedjango/urls/base.py:9857 ms1.1%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:76057 ms1.1%
URLResolver._populatedjango/urls/resolvers.py:55853 ms1.1%
cached_property.__get__django/utils/functional.py:4753 ms1.1%
URLResolver.url_patternsdjango/urls/resolvers.py:72953 ms1.1%
cached_property.__get__django/utils/functional.py:4753 ms1.1%
URLResolver.urlconf_moduledjango/urls/resolvers.py:72253 ms1.1%
import_module<stdlib>/importlib/__init__.py:8853 ms1.1%
_gcd_import<frozen importlib._bootstrap>:138953 ms1.1%
_find_and_load<frozen importlib._bootstrap>:135353 ms1.1%
_find_and_load_unlocked<frozen importlib._bootstrap>:124953 ms1.1%
_load_unlocked<frozen importlib._bootstrap>:85753 ms1.1%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:75147 ms0.9%
_call_with_frames_removed<frozen importlib._bootstrap>:49147 ms0.9%
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
teardown1 ms0.0%
Estimated from 4,122 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
|
108 ms |
|
confs/tests.py:152
response = self.client.get(url)
TestMigratedLegacyConferences._assert_no_naive_warning
· Imports
|
82 ms |
|
fedidevs/db/postgresql/base.py:39
return super().get_new_connection(conn_params)
DatabaseWrapper.get_new_connection
· Migrations
|
47 ms |
|
confs/migrations/0011_conferencepost_alter_conference_posts.py:11
ConferencePost.objects.update(
update
· Migrations
|
34 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
|
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
|
11 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
|
10 ms |
|
fedidevs/urls.py:27
from accounts import views
<module>
· Imports
|
9 ms |
|
fedidevs/urls.py:29
from confs import views as confs_views
<module>
· Imports
|
8 ms |
|
accounts/migrations/0020_alter_accountlookup_language.py:15
field=models.CharField(
Migration
· Imports
|
7 ms |
Fixtures
Exact setup time| _django_setup_unittest class | 4.81 s |
| django_db_setup session | 4.81 s |
| _unittest_setUpClass_fixture_TestMigratedLegacyConferences class | 1 ms |
| django_db_blocker session | 0.31 ms |
| django_test_environment session | 0.24 ms |
| django_db_use_migrations session | 0.12 ms |
| _fail_for_invalid_template_variable session | 0.11 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_clear_site_cache function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
Database
1062 queries · 2.04 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
|
4.81 s |
|
call test body
confs/tests.py:163
|
145 ms |
| setup pytest internals | 4 ms |
| teardown pytest internals | 1 ms |
| call pytest internals | 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 | 4.97 s | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 6.60 s | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 6.50 s | Profile |
| 3 weeks ago | CI github-actions:test | passed | 3.81 s | Profile |
| 3 weeks ago | CI github-actions:test | passed | 6.73 s | Profile |
| 1 month ago | CI github-actions:test | passed | 6.81 s | Profile |
| 1 month ago | CI github-actions:test | passed | 8.24 s | Profile |
| 1 month ago | CI github-actions:test | passed | 115 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 185 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 68 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 170 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 262 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 101 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 81 ms | Run |