Perf: Update editor configuration only after extensions are registered by sandy081 · Pull Request #138302 · microsoft/vscode (original) (raw)

Editor configurations are getting updated very aggressively (atleast 20 times) while the extensions are getting registered. This is consuming atleast 200ms.

Insiders (0cc0904c56) joh/pausedEvents 7907361 PR c4bd3f8
builtin extensions 185.6 71 (-114.6ms) 94.5 (-90.2ms)
builtin extensions and 30 more 448.8 148.2 (-300.6ms) 163.8 (-285ms)

Thanks to @jrieken for comparing this change with the current insiders and also with his generic solution.

Please see #138259 for more information and perf numbers.

This changes editor configuration to update only after extensions are registered, therefore configuration is being updated only once by this.