Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-use disposable store while rendering scm lists #163479

Merged
merged 2 commits into from
Oct 23, 2022

Conversation

mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Oct 12, 2022

The renderElement methods in scm currently create a new DisposableStore on every call. For performance, it is better to have a single DisposableStore for each template, and then re-use this across renderElement calls

The `renderElement` functions for scm currently create new `DisposableStore` every time they are invoked. For performance, it is better to have a single `DisposableStore` for each template, and then re-use this across renderElement calls
@mjbvz mjbvz added this to the October 2022 milestone Oct 12, 2022
@mjbvz mjbvz requested a review from lszomoru October 12, 2022 21:21
@mjbvz mjbvz self-assigned this Oct 12, 2022
@mjbvz mjbvz enabled auto-merge (squash) October 12, 2022 21:21
@lszomoru
Copy link
Member

Thanks @mjbvz!

@mjbvz mjbvz merged commit f5fdf67 into microsoft:main Oct 23, 2022
@lszomoru lszomoru added the scm General SCM compound issues label Oct 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scm General SCM compound issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants