Skip to content

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Oct 12, 2022

While trying to debug an performance issue with scrolling the explorer, I noticed that the explorer list renderer creates a new DisposableStore every time it renders an item

For performance, it's better to create a DisposableStore for each template and then re-use this store when rendering elements. This store is cleared in the disposeElement function

While trying to debug an performance issue with scrolling the explorer, I noticed that the explorer list renderer creates a new `DisposableStore` every time it renders an item

For performance, it's better to create a DisposableStore for each template and then re-use this when rendering elements. This store is cleared in the `disposeElement` function
Copy link
Member

@lramos15 lramos15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@mjbvz mjbvz merged commit 61532ae into microsoft:main Oct 12, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants