We would like to reduce initialization time of StatementView and it's sub widgets as it is a main cause of the total render time according to T125502: [Task] Investigate time spent for initialization of individual widgets
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T59765 Provide JavaScript hook | |||
Resolved | Lydia_Pintscher | T63131 Eliminate or reduce delay between selection of property and displaying of input fields when adding statements | |||
Resolved | None | T58090 Do not change targets to javascript:void(0); on JavaScript load for various "edit" links | |||
Invalid | None | T56098 [Epic][UI] Front-end performance: Improve loading time of items | |||
Resolved | • adrianheine | T125503 [Story] Reduce initialization time of Statementview | |||
Resolved | • adrianheine | T125502 [Task] Investigate time spent for initialization of individual widgets | |||
Resolved | • adrianheine | T125642 [Task] Remove slow $().closest call from snakview | |||
Resolved | None | T125643 [Task] Remove useless drawSnakTypeSelector call in snakview::_create | |||
Resolved | • adrianheine | T127316 [Bug] Can not save new quantity statement |
Event Timeline
Patch merged, https://github.com/wmde/WikibaseDataModelJavaScript/milestones/3.0.0 still to be done.
Change 269401 had a related patch set uploaded (by Adrian Lang):
Defer main snak SnakView initialization
https://gerrit.wikimedia.org/r/269401
Change 269401 merged by jenkins-bot:
Defer main snak SnakView initialization
https://gerrit.wikimedia.org/r/269401
Change 269962 had a related patch set uploaded (by Adrian Heine):
Defer sub-widget initialization in statementview
https://gerrit.wikimedia.org/r/269962
I'd consider this done when the last linked change is merged. It reduces loading time of big items by around 50% for me.
Change 269962 merged by jenkins-bot:
Defer sub-widget initialization in statementview
https://gerrit.wikimedia.org/r/269962