mediawiki-extensions-Visual.../modules/ve-mw/tests/ui/widgets
Thiemo Kreuz fd669a4d16 Remove obsolete performance bottleneck from TransclusionModel
This sorting algorithm was introduced via Ic6bc348 (T274544). Note
there is no index parameter in the .onReplacePart() handler at this
point. When a part was moved, it was removed and simply appended
to the end. The additional sorting was needed to move it back to the
correct position.

This changed a few days later via Iafe29f1. There is now an index
parameter. The .onReplacePart() handler does the same as before, but
puts the part at the correct position right away. The additional
sorting is pointless since then.

The removed code alone is responsible for 1/3 of the total blocking
time when the template dialog opens.

Bug: T296335
Change-Id: I6c3fa70b532d34cd29d59c3b48ab81ebf608d548
2021-12-06 17:36:53 +00:00
..
ve.ui.MWParameterCheckboxInputWidget.test.js Consistent use of .forEach() in QUnit tests 2021-09-07 14:27:25 +02:00
ve.ui.MWParameterSearchWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTemplateTitleInputWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineButtonWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineParameterSelectWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineParameterWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlinePartWidget.test.js
ve.ui.MWTransclusionOutlinePlaceholderWidget.test.js
ve.ui.MWTransclusionOutlineTemplateWidget.test.js build: Update eslint-config-wikimedia to 0.21.0 2021-11-10 14:52:56 -05:00
ve.ui.MWTransclusionOutlineWidget.test.js Remove obsolete performance bottleneck from TransclusionModel 2021-12-06 17:36:53 +00:00