Skip to content

Conversation

ToddGrun
Copy link
Contributor

I noticed this when looking at a ManagedLangsVS64.Typing test profile. CommonCompletionItem.Create accounts for about 1.4% of allocations in the test, about 1/3 of which is due to some linq usage. This change just expands that linq out and reduces the amount of data the method needs generated for it.

image

I noticed this when looking at a ManagedLangsVS64.Typing test profile. CommonCompletionItem.Create accounts for about 1.4% of allocations in the test, about 1/3 of which is due to some linq usage. This change just expands that linq out and reduces the amount of data the method needs generated for it.
@ToddGrun ToddGrun requested a review from a team as a code owner July 24, 2025 21:11
@ToddGrun ToddGrun merged commit 2d01ce7 into dotnet:main Jul 25, 2025
26 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 25, 2025
333fred added a commit to 333fred/roslyn that referenced this pull request Jul 25, 2025
…rlier

* upstream/main: (217 commits)
  Fix tests
  Fix tests
  Fix tests
  Fix tests
  Fix tests
  Fix tests
  Reduce allocations during CommonCompletionItem.Create (dotnet#79591)
  Fix tests
  Fix tests
  Fix tests
  Fix tests
  Add test
  Fix tests
  Add work item
  Fix eol handling on the last token in a file when formatting code actions
  remove unchecked values from tests
  [main] Source code updates from dotnet/dotnet (dotnet#79599)
  Nullable extensions: Add assertion to AsMemberOfType and handle failures (dotnet#79428)
  Avoid adding dependency on System.Threading.Channels to InteractiveHost (dotnet#79594)
  Update debugger contracts to 18.0.0-beta.25353.1 (dotnet#79277)
  ...
@RikkiGibson RikkiGibson modified the milestones: Next, 18.0 P1 Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants