ExplorerViewlet triggers two layouts on load #164188
Labels
debt
Code quality issues
file-explorer
Explorer widget issues
insiders-released
Patch has been released in VS Code Insiders
perf
workbench-views
Workbench view issues
Milestone
While profiling the startup of VS Code with the open editors view visible, I noticed that the
ExplorerViewletViewsContribution
ends up firing two events about updating view visibility:Each of these takes ~25ms to complete
registerViews
updateOpenEditorsVisibility
I suspect that the two events can be batched together so that we avoid doing the costly re-layout twice
The text was updated successfully, but these errors were encountered: