Tests / accounts/tests.py
TestAccountIndexRobots::test_two_facets_are_noindex
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
3.11 s
median 276 ms
max 8.68 s
max 8.68 s
Phases
Setup 2.85 s
Call 256 ms
Teardown 1 ms
Categories
Migrations 2.60 s
Database 25 ms
App code 0.41 ms
Other (DB schema, Imports, Libraries, Templates, ...) 480 ms
488 database queries per run
Needs 14 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
setup6.41 s94.6%
django_db_setuppytest_django/fixtures.py:186 db_cfg = setup_databases(6.40 s94.3%
setup_databasesdjango/test/utils.py:2206.39 s94.3%
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:916.24 s92.0%
call_commanddjango/core/management/__init__.py:1956.20 s91.4%
BaseCommand.executedjango/core/management/base.py:4666.20 s91.4%
no_translations.<locals>.wrapperdjango/core/management/base.py:1136.20 s91.4%
Command.handledjango/core/management/commands/migrate.py:3555.86 s86.4%
MigrationExecutor.migratedjango/db/migrations/executor.py:1375.84 s86.1%
MigrationExecutor._migrate_all_forwardsdjango/db/migrations/executor.py:1695.84 s86.1%
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2574.38 s64.6%
Migration.applydjango/db/migrations/migration.py:1322.44 s35.9%
AddField.database_forwardsdjango/db/migrations/operations/fields.py:118650 ms9.6%
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:816417 ms6.2%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48308 ms4.5%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211301 ms4.4%
CursorWrapper.executedjango/db/backends/utils.py:79301 ms4.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92301 ms4.4%
CursorWrapper._executedjango/db/backends/utils.py:103297 ms4.4%
Cursor.executepsycopg/cursor.py:113296 ms4.4%
Connection.waitpsycopg/connection.py:495296 ms4.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:20689 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28684 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7884 ms1.2%
2 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4587 ms1.3%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21178 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:7978 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9278 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:10378 ms1.2%
Cursor.executepsycopg/cursor.py:11378 ms1.2%
Connection.waitpsycopg/connection.py:49578 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:20648 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28648 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7848 ms0.7%
2 smaller frames hidden
1 smaller frames hidden
BaseDatabaseSchemaEditor.add_fielddjango/db/backends/base/schema.py:830192 ms2.8%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48190 ms2.8%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211185 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:79183 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92182 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:103181 ms2.7%
Cursor.executepsycopg/cursor.py:113181 ms2.7%
Connection.waitpsycopg/connection.py:495181 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20653 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28651 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7850 ms0.7%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
RunPython.database_forwardsdjango/db/migrations/operations/special.py:203641 ms9.5%
cached_property.__get__django/utils/functional.py:47366 ms5.4%
ProjectState.appsdjango/db/migrations/state.py:592366 ms5.4%
__init____init__:-1366 ms5.4%
StateApps.__init__django/db/migrations/state.py:653366 ms5.4%
StateApps.render_multipledjango/db/migrations/state.py:691361 ms5.3%
ModelState.renderdjango/db/migrations/state.py:989220 ms3.2%
ModelBase.__new__django/db/models/base.py:214105 ms1.6%
ModelBase.add_to_classdjango/db/models/base.py:394103 ms1.5%
1 smaller frames hidden
15 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982137 ms2.0%
Field.clonedjango/db/models/fields/__init__.py:71384 ms1.2%
Field.clonedjango/db/models/fields/__init__.py:71242 ms0.6%
2 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
seed_conference_tagsconfs/migrations/0031_seed_conference_tags.py:14 ConferenceTag.objects.update_or_create(177 ms2.6%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87177 ms2.6%
QuerySet.update_or_createdjango/db/models/query.py:1096132 ms1.9%
QuerySet.get_or_createdjango/db/models/query.py:105457 ms0.8%
QuerySet.getdjango/db/models/query.py:70254 ms0.8%
QuerySet.__len__django/db/models/query.py:42154 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:226253 ms0.8%
ModelIterable.__iter__django/db/models/query.py:10353 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162546 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7946 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9246 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:10546 ms0.7%
Cursor.executepsycopg/cursor.py:11346 ms0.7%
Connection.waitpsycopg/connection.py:49546 ms0.7%
1 smaller frames hidden
3 smaller frames hidden
QuerySet.get_or_createdjango/db/models/query.py:105940 ms0.6%
2 smaller frames hidden
QuerySet.update_or_createdjango/db/models/query.py:109344 ms0.6%
16 smaller frames hidden
CreateModel.database_forwardsdjango/db/migrations/operations/models.py:100427 ms6.3%
BaseDatabaseSchemaEditor.create_modeldjango/db/backends/base/schema.py:524405 ms6.0%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45405 ms6.0%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211398 ms5.9%
CursorWrapper.executedjango/db/backends/utils.py:79398 ms5.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92398 ms5.9%
CursorWrapper._executedjango/db/backends/utils.py:103393 ms5.8%
Cursor.executepsycopg/cursor.py:113393 ms5.8%
Connection.waitpsycopg/connection.py:495393 ms5.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:20698 ms1.4%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28698 ms1.4%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7898 ms1.4%
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:37198 ms2.9%
ProjectState.clonedjango/db/migrations/state.py:578197 ms2.9%
ModelState.clonedjango/db/migrations/state.py:949197 ms2.9%
ModelState.__init__django/db/migrations/state.py:761197 ms2.9%
<GC>~197 ms2.9%
1 smaller frames hidden
SeparateDatabaseAndState.database_forwardsdjango/db/migrations/operations/special.py:39171 ms2.5%
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:399165 ms2.4%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:559165 ms2.4%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:48165 ms2.4%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211164 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:79164 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92164 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:103164 ms2.4%
Cursor.executepsycopg/cursor.py:113164 ms2.4%
Connection.waitpsycopg/connection.py:495164 ms2.4%
1 smaller frames hidden
1 smaller frames hidden
AlterField.database_forwardsdjango/db/migrations/operations/fields.py:243125 ms1.8%
BaseDatabaseSchemaEditor.alter_fielddjango/db/backends/base/schema.py:962125 ms1.8%
DatabaseSchemaEditor._alter_fielddjango/db/backends/postgresql/schema.py:274124 ms1.8%
BaseDatabaseSchemaEditor._alter_fielddjango/db/backends/base/schema.py:121650 ms0.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4850 ms0.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21150 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7950 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9250 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:10350 ms0.7%
Cursor.executepsycopg/cursor.py:11350 ms0.7%
Connection.waitpsycopg/connection.py:49550 ms0.7%
9 smaller frames hidden
1 smaller frames hidden
DeleteModel.database_forwardsdjango/db/migrations/operations/models.py:39982 ms1.2%
BaseDatabaseSchemaEditor.delete_modeldjango/db/backends/base/schema.py:55982 ms1.2%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4882 ms1.2%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21181 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:7981 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9281 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:10381 ms1.2%
Cursor.executepsycopg/cursor.py:11381 ms1.2%
Connection.waitpsycopg/connection.py:49581 ms1.2%
1 smaller frames hidden
AddIndex.database_forwardsdjango/db/migrations/operations/models.py:90650 ms0.7%
DatabaseSchemaEditor.add_indexdjango/db/backends/postgresql/schema.py:31750 ms0.7%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:4550 ms0.7%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:21145 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7945 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9245 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:10345 ms0.7%
Cursor.executepsycopg/cursor.py:11345 ms0.7%
Connection.waitpsycopg/connection.py:49545 ms0.7%
2 smaller frames hidden
9 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:1181.79 s26.3%
AddField.state_forwardsdjango/db/migrations/operations/fields.py:103810 ms11.9%
ProjectState.add_fielddjango/db/migrations/state.py:269810 ms11.9%
ProjectState.reload_modeldjango/db/migrations/state.py:426762 ms11.2%
ProjectState._reloaddjango/db/migrations/state.py:461746 ms11.0%
StateApps.render_multipledjango/db/migrations/state.py:691738 ms10.9%
ModelState.renderdjango/db/migrations/state.py:989471 ms6.9%
ModelBase.__new__django/db/models/base.py:214218 ms3.2%
ModelBase.add_to_classdjango/db/models/base.py:394210 ms3.1%
Field.contribute_to_classdjango/db/models/fields/__init__.py:99456 ms0.8%
ManyToManyField.contribute_to_classdjango/db/models/fields/related.py:209050 ms0.7%
ForeignObject.contribute_to_classdjango/db/models/fields/related.py:93239 ms0.6%
8 smaller frames hidden
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:22251 ms0.8%
ModelBase.__new__django/db/models/base.py:14646 ms0.7%
ModelBase.add_to_classdjango/db/models/base.py:39437 ms0.5%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38840 ms0.6%
17 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982258 ms3.8%
Field.clonedjango/db/models/fields/__init__.py:713142 ms2.1%
CharField.__init__django/db/models/fields/__init__.py:124943 ms0.6%
Field.__init__django/db/models/fields/__init__.py:26238 ms0.6%
Field.choicesdjango/db/models/fields/__init__.py:59035 ms0.5%
1 smaller frames hidden
17 smaller frames hidden
Field.clonedjango/db/models/fields/__init__.py:712100 ms1.5%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ProjectState.reload_modeldjango/db/migrations/state.py:42548 ms0.7%
AlterField.state_forwardsdjango/db/migrations/operations/fields.py:227324 ms4.8%
ProjectState.alter_fielddjango/db/migrations/state.py:305323 ms4.8%
ProjectState.reload_modeldjango/db/migrations/state.py:426307 ms4.5%
ProjectState._reloaddjango/db/migrations/state.py:461302 ms4.5%
StateApps.render_multipledjango/db/migrations/state.py:691300 ms4.4%
ModelState.renderdjango/db/migrations/state.py:989223 ms3.3%
ModelBase.__new__django/db/models/base.py:21477 ms1.1%
ModelBase.add_to_classdjango/db/models/base.py:39471 ms1.0%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38840 ms0.6%
ModelBase._preparedjango/db/models/base.py:42537 ms0.5%
cached_property.__get__django/utils/functional.py:4737 ms0.5%
Options.fieldsdjango/db/models/options.py:56237 ms0.5%
make_immutable_fields_listdjango/db/models/options.py:8737 ms0.5%
ImmutableList.__new__django/utils/datastructures.py:23635 ms0.5%
Options.fields.<locals>.<genexpr>django/db/models/options.py:56735 ms0.5%
Options.fields.<locals>.is_not_an_m2m_fielddjango/db/models/options.py:54935 ms0.5%
2 smaller frames hidden
13 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:98275 ms1.1%
Field.clonedjango/db/models/fields/__init__.py:71337 ms0.5%
4 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
CreateModel.state_forwardsdjango/db/migrations/operations/models.py:86312 ms4.6%
ProjectState.add_modeldjango/db/migrations/state.py:126312 ms4.6%
ProjectState.reload_modeldjango/db/migrations/state.py:426302 ms4.5%
ProjectState._reloaddjango/db/migrations/state.py:461298 ms4.4%
StateApps.render_multipledjango/db/migrations/state.py:691296 ms4.4%
ModelState.renderdjango/db/migrations/state.py:989179 ms2.6%
ModelBase.__new__django/db/models/base.py:21481 ms1.2%
ModelBase.add_to_classdjango/db/models/base.py:39477 ms1.1%
1 smaller frames hidden
ModelBase.__new__django/db/models/base.py:38839 ms0.6%
13 smaller frames hidden
ModelState.renderdjango/db/migrations/state.py:982115 ms1.7%
Field.clonedjango/db/models/fields/__init__.py:71364 ms0.9%
Field.clonedjango/db/models/fields/__init__.py:71239 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
AddIndex.state_forwardsdjango/db/migrations/operations/models.py:901115 ms1.7%
ProjectState.add_indexdjango/db/migrations/state.py:226115 ms1.7%
ProjectState._append_optiondjango/db/migrations/state.py:209114 ms1.7%
ProjectState.reload_modeldjango/db/migrations/state.py:426109 ms1.6%
ProjectState._reloaddjango/db/migrations/state.py:461109 ms1.6%
StateApps.render_multipledjango/db/migrations/state.py:691106 ms1.6%
ModelState.renderdjango/db/migrations/state.py:98962 ms0.9%
ModelState.renderdjango/db/migrations/state.py:98243 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
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.0%
ProjectState._reloaddjango/db/migrations/state.py:46170 ms1.0%
StateApps.render_multipledjango/db/migrations/state.py:69169 ms1.0%
ModelState.renderdjango/db/migrations/state.py:98945 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
SeparateDatabaseAndState.state_forwardsdjango/db/migrations/operations/special.py:3146 ms0.7%
AddConstraint.state_forwardsdjango/db/migrations/operations/models.py:115244 ms0.6%
ProjectState.add_constraintdjango/db/migrations/state.py:24644 ms0.6%
ProjectState._append_optiondjango/db/migrations/state.py:20944 ms0.6%
ProjectState.reload_modeldjango/db/migrations/state.py:42643 ms0.6%
ProjectState._reloaddjango/db/migrations/state.py:46142 ms0.6%
StateApps.render_multipledjango/db/migrations/state.py:69139 ms0.6%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
Migration.applydjango/db/migrations/migration.py:117158 ms2.3%
ProjectState.clonedjango/db/migrations/state.py:578131 ms1.9%
ModelState.clonedjango/db/migrations/state.py:949122 ms1.8%
ModelState.__init__django/db/migrations/state.py:76176 ms1.1%
<GC>~70 ms1.0%
8 smaller frames hidden
5 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:2541.26 s18.5%
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:178766 ms11.3%
Atomic.__exit__django/db/transaction.py:275763 ms11.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:26763 ms11.3%
BaseDatabaseWrapper.commitdjango/db/backends/base/base.py:327763 ms11.3%
BaseDatabaseWrapper._commitdjango/db/backends/base/base.py:303763 ms11.3%
Connection.commitpsycopg/connection.py:309763 ms11.3%
Connection.waitpsycopg/connection.py:495762 ms11.2%
BaseConnection._commit_genpsycopg/_connection_base.py:59259 ms0.9%
BaseConnection._exec_commandpsycopg/_connection_base.py:47453 ms0.8%
2 smaller frames hidden
1 smaller frames hidden
BaseDatabaseSchemaEditor.__exit__django/db/backends/base/schema.py:176489 ms7.2%
DatabaseSchemaEditor.executedjango/db/backends/postgresql/schema.py:45489 ms7.2%
BaseDatabaseSchemaEditor.executedjango/db/backends/base/schema.py:211469 ms6.9%
CursorWrapper.executedjango/db/backends/utils.py:79469 ms6.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92469 ms6.9%
CursorWrapper._executedjango/db/backends/utils.py:103467 ms6.9%
Cursor.executepsycopg/cursor.py:113467 ms6.9%
Connection.waitpsycopg/connection.py:495467 ms6.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:20651 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28651 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7851 ms0.8%
1 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:259143 ms2.1%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:275142 ms2.1%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:102136 ms2.0%
QuerySet.createdjango/db/models/query.py:736136 ms2.0%
Model.savedjango/db/models/base.py:904135 ms2.0%
Model.save_basedjango/db/models/base.py:996133 ms2.0%
Model._save_tabledjango/db/models/base.py:1199130 ms1.9%
Model._do_insertdjango/db/models/base.py:1251128 ms1.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:87128 ms1.9%
QuerySet._insertdjango/db/models/query.py:2141128 ms1.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:1936116 ms1.7%
CursorWrapper.executedjango/db/backends/utils.py:79116 ms1.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92116 ms1.7%
CursorWrapper._executedjango/db/backends/utils.py:105114 ms1.7%
Cursor.executepsycopg/cursor.py:113114 ms1.7%
Connection.waitpsycopg/connection.py:495114 ms1.7%
4 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
MigrationExecutor.apply_migrationdjango/db/migrations/executor.py:26254 ms0.8%
MigrationExecutor.record_migrationdjango/db/migrations/executor.py:27554 ms0.8%
MigrationRecorder.record_applieddjango/db/migrations/recorder.py:10254 ms0.8%
QuerySet.createdjango/db/models/query.py:73650 ms0.7%
Model.savedjango/db/models/base.py:90450 ms0.7%
Model.save_basedjango/db/models/base.py:99650 ms0.7%
Model._save_tabledjango/db/models/base.py:119950 ms0.7%
Model._do_insertdjango/db/models/base.py:125150 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:8750 ms0.7%
QuerySet._insertdjango/db/models/query.py:214150 ms0.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:193649 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:7949 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9249 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:10549 ms0.7%
Cursor.executepsycopg/cursor.py:11349 ms0.7%
Connection.waitpsycopg/connection.py:49549 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:115197 ms2.9%
MigrationExecutor.__init__django/db/migrations/executor.py:18197 ms2.9%
MigrationLoader.__init__django/db/migrations/loader.py:59197 ms2.9%
MigrationLoader.build_graphdjango/db/migrations/loader.py:282144 ms2.1%
MigrationLoader.load_diskdjango/db/migrations/loader.py:121139 ms2.1%
import_module<stdlib>/importlib/__init__.py:88139 ms2.1%
_gcd_import<frozen importlib._bootstrap>:1389139 ms2.1%
_find_and_load<frozen importlib._bootstrap>:1353138 ms2.0%
_find_and_load_unlocked<frozen importlib._bootstrap>:1249132 ms1.9%
_load_unlocked<frozen importlib._bootstrap>:857128 ms1.9%
_LoaderBasics.exec_module<frozen importlib._bootstrap_external>:747100 ms1.5%
SourceLoader.get_code<frozen importlib._bootstrap_external>:88178 ms1.2%
SourceLoader.source_to_code<frozen importlib._bootstrap_external>:81078 ms1.2%
_call_with_frames_removed<frozen importlib._bootstrap>:49177 ms1.1%
4 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
2 smaller frames hidden
MigrationLoader.build_graphdjango/db/migrations/loader.py:28849 ms0.7%
MigrationRecorder.applied_migrationsdjango/db/migrations/recorder.py:8949 ms0.7%
MigrationRecorder.has_tabledjango/db/migrations/recorder.py:6335 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2635 ms0.5%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:32035 ms0.5%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:29635 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2635 ms0.5%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27935 ms0.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2635 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
Command.handledjango/core/management/commands/migrate.py:382108 ms1.6%
emit_post_migrate_signaldjango/core/management/sql.py:52108 ms1.6%
Signal.senddjango/dispatch/dispatcher.py:249108 ms1.6%
create_permissionsdjango/contrib/auth/management/__init__.py:10834 ms0.5%
11 smaller frames hidden
7 smaller frames hidden
call_commanddjango/core/management/__init__.py:11838 ms0.6%
load_command_classdjango/core/management/__init__.py:4838 ms0.6%
import_module<stdlib>/importlib/__init__.py:8838 ms0.6%
_gcd_import<frozen importlib._bootstrap>:138938 ms0.6%
_find_and_load<frozen importlib._bootstrap>:135335 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
BaseDatabaseCreation.create_test_dbdjango/db/backends/base/creation.py:75153 ms2.3%
BaseDatabaseCreation._create_test_dbdjango/db/backends/base/creation.py:229120 ms1.8%
DatabaseCreation._execute_create_test_dbdjango/db/backends/postgresql/creation.py:46120 ms1.8%
BaseDatabaseCreation._execute_create_test_dbdjango/db/backends/base/creation.py:215120 ms1.8%
CursorWrapper.executedjango/db/backends/utils.py:79120 ms1.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92120 ms1.8%
CursorWrapper._executedjango/db/backends/utils.py:103120 ms1.8%
Cursor.executepsycopg/cursor.py:113120 ms1.8%
Connection.waitpsycopg/connection.py:495120 ms1.8%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
call367 ms5.4%
TestAccountIndexRobots.test_two_facets_are_noindexaccounts/tests.py:579 self.assert_noindex("/python/?f=best&t=human")366 ms5.4%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)366 ms5.4%
Client.getdjango/test/client.py:1133366 ms5.4%
RequestFactory.getdjango/test/client.py:475366 ms5.4%
RequestFactory.genericdjango/test/client.py:671366 ms5.4%
Client.requestdjango/test/client.py:1091366 ms5.4%
ClientHandler.__call__django/test/client.py:173205 ms3.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63175 ms2.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104164 ms2.4%
WhiteNoise.add_fileswhitenoise/base.py:108164 ms2.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120145 ms2.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131143 ms2.1%
WhiteNoise.get_static_filewhitenoise/base.py:217130 ms1.9%
StaticFile.__init__whitenoise/responders.py:7364 ms0.9%
StaticFile.get_headerswhitenoise/responders.py:18155 ms0.8%
3 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:7755 ms0.8%
StaticFile.get_alternativeswhitenoise/responders.py:19844 ms0.7%
3 smaller frames hidden
4 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
3 smaller frames hidden
1 smaller frames hidden
ClientHandler.__call__django/test/client.py:186159 ms2.3%
BaseHandler.get_responsedjango/core/handlers/base.py:142159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380159 ms2.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56159 ms2.3%
MiddlewareMixin.__call__django/utils/deprecation.py:380132 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56132 ms1.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380130 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56130 ms1.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380130 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56130 ms1.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380130 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56130 ms1.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380126 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56126 ms1.9%
MiddlewareMixin.__call__django/utils/deprecation.py:380126 ms1.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56126 ms1.9%
BaseHandler._get_responsedjango/core/handlers/base.py:199125 ms1.8%
indexaccounts/views.py:425 return render(99 ms1.5%
renderdjango/shortcuts.py:2799 ms1.5%
render_to_stringdjango/template/loader.py:6293 ms1.4%
Template.renderdjango/template/backends/django.py:10793 ms1.4%
Template.renderdjango/template/base.py:17593 ms1.4%
instrumented_test_renderdjango/test/utils.py:11393 ms1.4%
NodeList.renderdjango/template/base.py:110893 ms1.4%
Node.render_annotateddjango/template/base.py:106993 ms1.4%
ExtendsNode.renderdjango/template/loader_tags.py:16093 ms1.4%
instrumented_test_renderdjango/test/utils.py:11393 ms1.4%
NodeList.renderdjango/template/base.py:110893 ms1.4%
Node.render_annotateddjango/template/base.py:106993 ms1.4%
SimpleNode.renderdjango/template/library.py:34385 ms1.2%
heroicon_outlineheroicons/templatetags/heroicons.py:2385 ms1.2%
_render_iconheroicons/templatetags/heroicons.py:4185 ms1.2%
_render_iconheroicons/__init__.py:4759 ms0.9%
_load_iconheroicons/__init__.py:1859 ms0.9%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150557 ms0.8%
1 smaller frames hidden
2 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
5 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
teardown1 ms0.0%
Estimated from 5,529 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex
· Libraries
|
218 ms |
|
confs/migrations/0031_seed_conference_tags.py:14
ConferenceTag.objects.update_or_create(
seed_conference_tags
· Migrations
|
177 ms |
|
accounts/views.py:425
return render(
index
· Templates
|
99 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
|
15 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
|
12 ms |
|
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index
· Database
|
10 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:398
legacy_accounts = list(account_model.objects.all())
migrate_legacy_pair
· Migrations
|
10 ms |
|
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__
· Database
|
8 ms |
|
confs/migrations/0033_remove_legacy_conference_tables.py:325
counts = list(
_refresh_account_counts
· Migrations
|
7 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
|
7 ms |
Fixtures
Exact setup time| _django_setup_unittest class | 6.41 s |
| django_db_setup session | 6.40 s |
| _unittest_setUpClass_fixture_TestAccountIndexRobots class | 0.80 ms |
| django_db_blocker session | 0.45 ms |
| django_test_environment session | 0.44 ms |
| _fail_for_invalid_template_variable session | 0.20 ms |
| django_db_use_migrations session | 0.16 ms |
| _live_server_helper function | 0.14 ms |
| _template_string_if_invalid_marker function | 0.08 ms |
| _django_db_marker function | 0.07 ms |
Database
1065 queries · 2.07 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.40 s |
|
call test body
accounts/tests.py:579
|
366 ms |
| setup pytest internals | 11 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
1 ms |
|
setup setUpClass
django/test/testcases.py:1420
|
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.78 s | Profile |
| 16 hours ago | CI github-actions:test | passed | 3.88 s | Profile |
| 22 hours ago | CI github-actions:test | passed | 6.95 s | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 7.01 s | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 8.68 s | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 120 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 102 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 64 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 193 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 144 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 276 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 105 ms | Run |