Tests / accounts/tests.py
TestAccountIndexRobots::test_single_facet_is_indexable
First seen 13 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
9.52 s
median 10.53 s
max 12.10 s
max 12.10 s
Phases
Setup 8.77 s
Call 755 ms
Teardown 1 ms
Categories
Migrations 7.99 s
Database 70 ms
App code 2 ms
Other (DB schema, Imports, Libraries, Templates, ...) 1.46 s
1077 database queries per run
Needs 30 MB of memory (max 31 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
setup4.67 s94.7%
django_db_setuppytest_django/fixtures.py:186 db_cfg = setup_databases(4.67 s94.6%
setup_databasesdjango/test/utils.py:2204.67 s94.6%
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:914.31 s87.3%
call_commanddjango/core/management/__init__.py:1954.26 s86.3%
BaseCommand.executedjango/core/management/base.py:4664.26 s86.3%
no_translations.<locals>.wrapperdjango/core/management/base.py:1134.26 s86.3%
Command.handledjango/core/management/commands/migrate.py:3553.89 s78.8%
MigrationExecutor.migratedjango/db/migrations/executor.py:1373.87 s78.5%
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:1693.87 s78.5%
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2573.03 s61.3%
Migration.applydjango/db/migrations/migration.py:1321.51 s30.5%
AddField.database_forwardsdjango/db/migrations/operations/fields.py:118447 ms9.1%
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:816291 ms5.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48229 ms4.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211222 ms4.5%
CursorWrapper.executedjango/db/backends/utils.py:79222 ms4.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92222 ms4.5%
CursorWrapper._executedjango/db/backends/utils.py:103220 ms4.5%
Cursor.executepsycopg/cursor.py:113220 ms4.5%
Connection.waitpsycopg/connection.py:495220 ms4.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:20659 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28658 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7858 ms1.2%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
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:7948 ms1.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9248 ms1.0%
CursorWrapper._executedjango/db/backends/utils.py:10348 ms1.0%
Cursor.executepsycopg/cursor.py:11347 ms1.0%
Connection.waitpsycopg/connection.py:49547 ms1.0%
1 smaller frames hidden
1 smaller frames hidden
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:830133 ms2.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48130 ms2.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211127 ms2.6%
CursorWrapper.executedjango/db/backends/utils.py:79127 ms2.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92127 ms2.6%
CursorWrapper._executedjango/db/backends/utils.py:103127 ms2.6%
Cursor.executepsycopg/cursor.py:113127 ms2.6%
Connection.waitpsycopg/connection.py:495127 ms2.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:20629 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28627 ms0.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7827 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
RunPython.database_forwardsdjango/db/migrations/operations/special.py:203434 ms8.8%
cached_property.__get__django/utils/functional.py:47227 ms4.6%
ProjectState.appsdjango/db/migrations/state.py:592227 ms4.6%
__init____init__:-1227 ms4.6%
StateApps.__init__django/db/migrations/state.py:653227 ms4.6%
StateApps.render_multipledjango/db/migrations/state.py:691227 ms4.6%
ModelState.renderdjango/db/migrations/state.py:989140 ms2.8%
ModelBase.__new__django/db/models/base.py:21470 ms1.4%
ModelBase.add_to_classdjango/db/models/base.py:39466 ms1.3%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209027 ms0.5%
8 smaller frames hidden
1 smaller frames hidden
12 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98283 ms1.7%
Field.clonedjango/db/models/fields/__init__.py:71356 ms1.1%
Field.clonedjango/db/models/fields/__init__.py:71225 ms0.5%
2 smaller frames hidden
seed_conference_tagsconfs/migrations/0031_seed_conference_tags.py:14 ConferenceTag.objects.update_or_create(128 ms2.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87128 ms2.6%
QuerySet.update_or_createdjango/db/models/query.py:1096104 ms2.1%
QuerySet.get_or_createdjango/db/models/query.py:105437 ms0.8%
QuerySet.getdjango/db/models/query.py:70233 ms0.7%
QuerySet.__len__django/db/models/query.py:42133 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:226233 ms0.7%
ModelIterable.__iter__django/db/models/query.py:10333 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162529 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:7929 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9229 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:10529 ms0.6%
Cursor.executepsycopg/cursor.py:11329 ms0.6%
Connection.waitpsycopg/connection.py:49529 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
QuerySet.get_or_createdjango/db/models/query.py:105934 ms0.7%
QuerySet.get_or_createdjango/db/models/query.py:106131 ms0.6%
QuerySet.createdjango/db/models/query.py:73628 ms0.6%
Model.savedjango/db/models/base.py:90428 ms0.6%
Model.save_basedjango/db/models/base.py:99627 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
18 smaller frames hidden
CreateModel.database_forwardsdjango/db/migrations/operations/models.py:100304 ms6.2%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:524280 ms5.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45279 ms5.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211262 ms5.3%
CursorWrapper.executedjango/db/backends/utils.py:79262 ms5.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92262 ms5.3%
CursorWrapper._executedjango/db/backends/utils.py:103261 ms5.3%
Cursor.executepsycopg/cursor.py:113261 ms5.3%
Connection.waitpsycopg/connection.py:495261 ms5.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:20640 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28640 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7840 ms0.8%
2 smaller frames hidden
2 smaller frames hidden
3 smaller frames hidden
AlterField.database_forwardsdjango/db/migrations/operations/fields.py:24392 ms1.9%
BaseDatabaseSchemaEditor.alter_fielddjango/db/backends/base/schema.py:96291 ms1.8%
DatabaseSchemaEditor._alter_fielddjango/db/backends/postgresql/schema.py:27487 ms1.8%
BaseDatabaseSchemaEditor._alter_fielddjango/db/backends/base/schema.py:121643 ms0.9%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4843 ms0.9%
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%
2 smaller frames hidden
7 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:3978 ms1.6%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39977 ms1.6%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55977 ms1.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4877 ms1.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21176 ms1.5%
CursorWrapper.executedjango/db/backends/utils.py:7976 ms1.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9276 ms1.5%
CursorWrapper._executedjango/db/backends/utils.py:10376 ms1.5%
Cursor.executepsycopg/cursor.py:11376 ms1.5%
Connection.waitpsycopg/connection.py:49576 ms1.5%
1 smaller frames hidden
1 smaller frames hidden
AddIndex.database_forwardsdjango/db/migrations/operations/models.py:90635 ms0.7%
DatabaseSchemaEditor.add_indexdjango/db/backends/postgresql/schema.py:31735 ms0.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4535 ms0.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21135 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7935 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9235 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:10335 ms0.7%
Cursor.executepsycopg/cursor.py:11335 ms0.7%
Connection.waitpsycopg/connection.py:49535 ms0.7%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39931 ms0.6%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55931 ms0.6%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4831 ms0.6%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21131 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:7931 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9231 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:10331 ms0.6%
Cursor.executepsycopg/cursor.py:11331 ms0.6%
Connection.waitpsycopg/connection.py:49531 ms0.6%
11 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:1181.41 s28.6%
AddField.state_forwardsdjango/db/migrations/operations/fields.py:103523 ms10.6%
ProjectState.add_fielddjango/db/migrations/state.py:269521 ms10.6%
ProjectState.reload_modeldjango/db/migrations/state.py:426472 ms9.6%
ProjectState._reloaddjango/db/migrations/state.py:461460 ms9.3%
StateApps.render_multipledjango/db/migrations/state.py:691450 ms9.1%
ModelState.renderdjango/db/migrations/state.py:989270 ms5.5%
ModelBase.__new__django/db/models/base.py:214135 ms2.7%
ModelBase.add_to_classdjango/db/models/base.py:394128 ms2.6%
Field.contribute_to_classdjango/db/models/fields/__init__.py:99441 ms0.8%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209036 ms0.7%
9 smaller frames hidden
2 smaller frames hidden
ModelBase.__new__django/db/models/base.py:14636 ms0.7%
ModelBase.add_to_classdjango/db/models/base.py:39433 ms0.7%
1 smaller frames hidden
16 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982168 ms3.4%
Field.clonedjango/db/models/fields/__init__.py:713103 ms2.1%
Field.clonedjango/db/models/fields/__init__.py:71260 ms1.2%
4 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ProjectState.reload_modeldjango/db/migrations/state.py:42548 ms1.0%
ProjectState._find_reload_modeldjango/db/migrations/state.py:38740 ms0.8%
get_related_models_tuplesdjango/db/migrations/state.py:6539 ms0.8%
_get_related_modelsdjango/db/migrations/state.py:4239 ms0.8%
Options.get_fieldsdjango/db/models/options.py:87739 ms0.8%
Options._get_fieldsdjango/db/models/options.py:95036 ms0.7%
cached_property.__get__django/utils/functional.py:4736 ms0.7%
Options._relation_treedjango/db/models/options.py:85036 ms0.7%
2 smaller frames hidden
1 smaller frames hidden
6 smaller frames hidden
CreateModel.state_forwardsdjango/db/migrations/operations/models.py:86294 ms6.0%
ProjectState.add_modeldjango/db/migrations/state.py:126294 ms6.0%
ProjectState.reload_modeldjango/db/migrations/state.py:426279 ms5.7%
ProjectState._reloaddjango/db/migrations/state.py:461279 ms5.7%
StateApps.render_multipledjango/db/migrations/state.py:691276 ms5.6%
ModelState.renderdjango/db/migrations/state.py:989180 ms3.6%
ModelBase.__new__django/db/models/base.py:21482 ms1.7%
ModelBase.add_to_classdjango/db/models/base.py:39478 ms1.6%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209034 ms0.7%
create_many_to_many_intermediary_modeldjango/db/models/fields/related.py:142625 ms0.5%
5 smaller frames hidden
8 smaller frames hidden
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:14629 ms0.6%
ModelBase.__new__django/db/models/base.py:38827 ms0.5%
14 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98291 ms1.8%
Field.clonedjango/db/models/fields/__init__.py:71346 ms0.9%
Field.clonedjango/db/models/fields/__init__.py:71241 ms0.8%
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:31229 ms4.6%
RemoveIndex.state_forwardsdjango/db/migrations/operations/models.py:961165 ms3.4%
ProjectState.remove_indexdjango/db/migrations/state.py:229165 ms3.4%
ProjectState._remove_optiondjango/db/migrations/state.py:215165 ms3.4%
ProjectState.reload_modeldjango/db/migrations/state.py:425163 ms3.3%
ProjectState._find_reload_modeldjango/db/migrations/state.py:387163 ms3.3%
get_related_models_tuplesdjango/db/migrations/state.py:65163 ms3.3%
_get_related_modelsdjango/db/migrations/state.py:42163 ms3.3%
Options.get_fieldsdjango/db/models/options.py:877163 ms3.3%
Options._get_fieldsdjango/db/models/options.py:950163 ms3.3%
cached_property.__get__django/utils/functional.py:47163 ms3.3%
Options._relation_treedjango/db/models/options.py:850163 ms3.3%
Options._populate_directed_relation_graphdjango/db/models/options.py:826162 ms3.3%
Options._get_fieldsdjango/db/models/options.py:970161 ms3.3%
make_immutable_fields_listdjango/db/models/options.py:86161 ms3.3%
<GC>~161 ms3.3%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
AlterField.state_forwardsdjango/db/migrations/operations/fields.py:227203 ms4.1%
ProjectState.alter_fielddjango/db/migrations/state.py:305198 ms4.0%
ProjectState.reload_modeldjango/db/migrations/state.py:426187 ms3.8%
ProjectState._reloaddjango/db/migrations/state.py:461187 ms3.8%
StateApps.render_multipledjango/db/migrations/state.py:691187 ms3.8%
ModelState.renderdjango/db/migrations/state.py:989129 ms2.6%
ModelBase.__new__django/db/models/base.py:21449 ms1.0%
ModelBase.add_to_classdjango/db/models/base.py:39446 ms0.9%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:37729 ms0.6%
deepcopy<stdlib>/copy.py:15729 ms0.6%
10 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98254 ms1.1%
Field.clonedjango/db/models/fields/__init__.py:71333 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 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 ms1.0%
ProjectState._reloaddjango/db/migrations/state.py:46147 ms1.0%
StateApps.render_multipledjango/db/migrations/state.py:69146 ms0.9%
1 smaller frames hidden
1 smaller frames hidden
RemoveField.state_forwardsdjango/db/migrations/operations/fields.py:17143 ms0.9%
ProjectState.remove_fielddjango/db/migrations/state.py:27943 ms0.9%
ProjectState.reload_modeldjango/db/migrations/state.py:42637 ms0.8%
ProjectState._reloaddjango/db/migrations/state.py:46137 ms0.8%
StateApps.render_multipledjango/db/migrations/state.py:69137 ms0.8%
ModelState.renderdjango/db/migrations/state.py:98925 ms0.5%
1 smaller frames hidden
1 smaller frames hidden
6 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:117107 ms2.2%
ProjectState.clonedjango/db/migrations/state.py:57878 ms1.6%
ModelState.clonedjango/db/migrations/state.py:94966 ms1.3%
4 smaller frames hidden
2 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:254683 ms13.8%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:178393 ms8.0%
Atomic.__exit__django/db/transaction.py:275392 ms8.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:26391 ms7.9%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:327391 ms7.9%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:303391 ms7.9%
Connection.commitpsycopg/connection.py:309390 ms7.9%
Connection.waitpsycopg/connection.py:495390 ms7.9%
1 smaller frames hidden
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:176281 ms5.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45281 ms5.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211264 ms5.4%
CursorWrapper.executedjango/db/backends/utils.py:79264 ms5.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92263 ms5.3%
CursorWrapper._executedjango/db/backends/utils.py:103261 ms5.3%
Cursor.executepsycopg/cursor.py:113261 ms5.3%
Connection.waitpsycopg/connection.py:495261 ms5.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:20640 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28639 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7839 ms0.8%
1 smaller frames hidden
3 smaller frames hidden
3 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:259107 ms2.2%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:275105 ms2.1%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:102103 ms2.1%
QuerySet.createdjango/db/models/query.py:73694 ms1.9%
Model.savedjango/db/models/base.py:90494 ms1.9%
Model.save_basedjango/db/models/base.py:99694 ms1.9%
Model._save_tabledjango/db/models/base.py:119991 ms1.8%
Model._do_insertdjango/db/models/base.py:125191 ms1.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8789 ms1.8%
QuerySet._insertdjango/db/models/query.py:214188 ms1.8%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193680 ms1.6%
CursorWrapper.executedjango/db/backends/utils.py:7980 ms1.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9280 ms1.6%
CursorWrapper._executedjango/db/backends/utils.py:10578 ms1.6%
Cursor.executepsycopg/cursor.py:11378 ms1.6%
Connection.waitpsycopg/connection.py:49578 ms1.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:20627 ms0.5%
2 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:26254 ms1.1%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:27554 ms1.1%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:10254 ms1.1%
QuerySet.createdjango/db/models/query.py:73649 ms1.0%
Model.savedjango/db/models/base.py:90449 ms1.0%
Model.save_basedjango/db/models/base.py:99649 ms1.0%
Model._save_tabledjango/db/models/base.py:119949 ms1.0%
Model._do_insertdjango/db/models/base.py:125149 ms1.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8748 ms1.0%
QuerySet._insertdjango/db/models/query.py:214146 ms0.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193646 ms0.9%
CursorWrapper.executedjango/db/backends/utils.py:7946 ms0.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9245 ms0.9%
CursorWrapper._executedjango/db/backends/utils.py:10545 ms0.9%
Cursor.executepsycopg/cursor.py:11345 ms0.9%
Connection.waitpsycopg/connection.py:49545 ms0.9%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:382192 ms3.9%
emit_post_migrate_signaldjango/core/management/sql.py:52192 ms3.9%
Signal.senddjango/dispatch/dispatcher.py:249192 ms3.9%
create_permissionsdjango/contrib/auth/management/__init__.py:62124 ms2.5%
create_contenttypesdjango/contrib/contenttypes/management/__init__.py:140115 ms2.3%
QuerySet.bulk_createdjango/db/models/query.py:900113 ms2.3%
QuerySet._batched_insertdjango/db/models/query.py:2179113 ms2.3%
QuerySet._insertdjango/db/models/query.py:2141113 ms2.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:1936113 ms2.3%
CursorWrapper.executedjango/db/backends/utils.py:79113 ms2.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92113 ms2.3%
CursorWrapper._executedjango/db/backends/utils.py:105112 ms2.3%
Cursor.executepsycopg/cursor.py:113112 ms2.3%
Connection.waitpsycopg/connection.py:495112 ms2.3%
1 smaller frames hidden
3 smaller frames hidden
9 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:115153 ms3.1%
MigrationExecutor.__init__django/db/migrations/executor.py:18153 ms3.1%
MigrationLoader.__init__django/db/migrations/loader.py:59153 ms3.1%
MigrationLoader.build_graphdjango/db/migrations/loader.py:282107 ms2.2%
MigrationLoader.load_diskdjango/db/migrations/loader.py:121103 ms2.1%
import_module<stdlib>/importlib/__init__.py:88103 ms2.1%
_gcd_import<frozen importlib._bootstrap>:1390103 ms2.1%
_find_and_load<frozen importlib._bootstrap>:135098 ms2.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:130987 ms1.8%
_load_unlocked<frozen importlib._bootstrap>:91586 ms1.7%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74354 ms1.1%
SourceLoader.get_code<frozen importlib._bootstrap_external>:87725 ms0.5%
SourceLoader.source_to_code<frozen importlib._bootstrap_external>:80625 ms0.5%
_call_with_frames_removed<frozen importlib._bootstrap>:54925 ms0.5%
4 smaller frames hidden
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74731 ms0.6%
_call_with_frames_removed<frozen importlib._bootstrap>:54931 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
MigrationLoader.build_graphdjango/db/migrations/loader.py:28842 ms0.9%
MigrationRecorder.applied_migrationsdjango/db/migrations/recorder.py:8942 ms0.9%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6327 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2627 ms0.5%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32027 ms0.5%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29627 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2627 ms0.5%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27927 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2627 ms0.5%
2 smaller frames hidden
3 smaller frames hidden
6 smaller frames hidden
1 smaller frames hidden
call_commanddjango/core/management/__init__.py:11845 ms0.9%
load_command_classdjango/core/management/__init__.py:4845 ms0.9%
import_module<stdlib>/importlib/__init__.py:8845 ms0.9%
_gcd_import<frozen importlib._bootstrap>:139045 ms0.9%
_find_and_load<frozen importlib._bootstrap>:135045 ms0.9%
_find_and_load_unlocked<frozen importlib._bootstrap>:130945 ms0.9%
_load_unlocked<frozen importlib._bootstrap>:91545 ms0.9%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:74728 ms0.6%
_call_with_frames_removed<frozen importlib._bootstrap>:54928 ms0.6%
<module>django/core/management/commands/migrate.py:1028 ms0.6%
_find_and_load<frozen importlib._bootstrap>:135028 ms0.6%
_find_and_load_unlocked<frozen importlib._bootstrap>:130928 ms0.6%
_load_unlocked<frozen importlib._bootstrap>:91528 ms0.6%
1 smaller frames hidden
3 smaller frames hidden
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:75357 ms7.2%
BaseDatabaseCreation._create_test_dbdjango/db/backends/base/creation.py:229337 ms6.8%
DatabaseCreation._execute_create_test_dbdjango/db/backends/postgresql/creation.py:46337 ms6.8%
BaseDatabaseCreation._execute_create_test_dbdjango/db/backends/base/creation.py:215337 ms6.8%
CursorWrapper.executedjango/db/backends/utils.py:79337 ms6.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92337 ms6.8%
CursorWrapper._executedjango/db/backends/utils.py:103337 ms6.8%
Cursor.executepsycopg/cursor.py:113337 ms6.8%
Connection.waitpsycopg/connection.py:495337 ms6.8%
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
call260 ms5.3%
TestAccountIndexRobots.test_single_facet_is_indexableaccounts/tests.py:572 self.assert_indexable(url)251 ms5.1%
TestAccountIndexRobots.assert_indexableaccounts/tests.py:555 response = self.client.get(url)251 ms5.1%
Client.getdjango/test/client.py:1133251 ms5.1%
RequestFactory.getdjango/test/client.py:475251 ms5.1%
RequestFactory.genericdjango/test/client.py:671251 ms5.1%
Client.requestdjango/test/client.py:1091251 ms5.1%
ClientHandler.__call__django/test/client.py:186195 ms3.9%
BaseHandler.get_responsedjango/core/handlers/base.py:142195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380195 ms3.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56195 ms3.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380179 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56179 ms3.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380179 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56179 ms3.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380179 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56179 ms3.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380179 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56179 ms3.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380177 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56177 ms3.6%
MiddlewareMixin.__call__django/utils/deprecation.py:380177 ms3.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56177 ms3.6%
BaseHandler._get_responsedjango/core/handlers/base.py:199177 ms3.6%
indexaccounts/views.py:425 return render(125 ms2.5%
renderdjango/shortcuts.py:27123 ms2.5%
render_to_stringdjango/template/loader.py:6277 ms1.6%
Template.renderdjango/template/backends/django.py:10777 ms1.6%
Template.renderdjango/template/base.py:17575 ms1.5%
instrumented_test_renderdjango/test/utils.py:11375 ms1.5%
NodeList.renderdjango/template/base.py:110875 ms1.5%
Node.render_annotateddjango/template/base.py:106975 ms1.5%
ExtendsNode.renderdjango/template/loader_tags.py:16071 ms1.4%
instrumented_test_renderdjango/test/utils.py:11371 ms1.4%
NodeList.renderdjango/template/base.py:110871 ms1.4%
Node.render_annotateddjango/template/base.py:106969 ms1.4%
BlockNode.renderdjango/template/loader_tags.py:6644 ms0.9%
NodeList.renderdjango/template/base.py:110844 ms0.9%
Node.render_annotateddjango/template/base.py:106944 ms0.9%
5 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
render_to_stringdjango/template/loader.py:6146 ms0.9%
get_templatedjango/template/loader.py:1225 ms0.5%
_engine_listdjango/template/loader.py:6625 ms0.5%
EngineHandler.alldjango/template/utils.py:9425 ms0.5%
EngineHandler.__getitem__django/template/utils.py:8525 ms0.5%
DjangoTemplates.__init__django/template/backends/django.py:2625 ms0.5%
DjangoTemplates.get_templatetag_librariesdjango/template/backends/django.py:8825 ms0.5%
get_installed_librariesdjango/template/backends/django.py:16325 ms0.5%
1 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
ClientHandler.__call__django/test/client.py:17356 ms1.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6337 ms0.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10437 ms0.7%
WhiteNoise.add_fileswhitenoise/base.py:10837 ms0.7%
3 smaller frames hidden
4 smaller frames hidden
teardown0.94 ms0.0%
Estimated from 4,007 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
|
128 ms |
|
accounts/views.py:425
return render(
index
· Templates
|
125 ms |
|
accounts/tests.py:555
response = self.client.get(url)
TestAccountIndexRobots.assert_indexable
· Libraries
|
64 ms |
|
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index
· Database
|
21 ms |
|
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__
· Database
|
21 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
|
14 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
|
12 ms |
|
accounts/views.py:434
reverse("index", kwargs={"lang": lang}), request.GET, ["t", "f", "post"]
index
· Libraries
|
10 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:398
legacy_accounts = list(account_model.objects.all())
migrate_legacy_pair
· Migrations
|
6 ms |
|
accounts/migrations/0035_fix_misskey_activitypub_id.py:22
Account.objects.filter(activitypub_id=F("url"), url__contains="/@").update(
fix_misskey_activitypub_ids
· Migrations
|
5 ms |
Fixtures
Exact setup time| _django_setup_unittest class | 4.67 s |
| django_db_setup session | 4.67 s |
| _fail_for_invalid_template_variable session | 0.40 ms |
| django_test_environment session | 0.38 ms |
| _unittest_setUpClass_fixture_TestAccountIndexRobots class | 0.36 ms |
| django_db_blocker session | 0.26 ms |
| django_db_use_migrations session | 0.12 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.06 ms |
| django_db_modify_db_settings_xdist_suffix session | 0.05 ms |
Database
1077 queries · 1.71 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.67 s |
|
call test body
accounts/tests.py:572
|
254 ms |
|
call _pre_setup
django/test/testcases.py:1154
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
2 ms |
|
setup fixture _fail_for_invalid_template_variable (session scope)
pytest_django/plugin.py:802
|
1 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 4.93 s | Profile |
| 7 hours ago | CI github-actions:test | passed | 10.27 s | Profile |
| 7 hours ago | CI github-actions:test | passed | 10.78 s | Profile |
| 12 hours ago | CI github-actions:test | passed | 12.10 s | Profile |
| 13 hours ago | CI github-actions:test | passed | 388 ms | Run |