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

WIP: Switch TextDocumentState.GetTextVersionAsync to ValueTask to reduce allocations. #77213

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ToddGrun
Copy link
Contributor

The task creation from calling this method accounts for 34 MB (0.2%) of allocations in the CSharpEditingTests.Completion speedometer test.

Going to run a test insertion to verify that this gets rid of the majority of these allocations before proceeding.

…uce allocations.

The task creation from calling this method accounts for 34 MB (0.2%) of allocations in the CSharpEditingTests.Completion speedometer test.

Going to run a test insertion to verify that this gets rid of the majority of these allocations before proceeding.
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead VSCode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant