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

Reduce allocations more in public api analyzer #6562

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Conversation

CyrusNajmabadi
Copy link
Member

About .6% when typing in roslyn. Half is the arrays allocated for each line for .TrimStart, the other half are all the dictionary entries created over and over again as we merge apidata files.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 31, 2023 20:23
@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Merging #6562 (20ae623) into main (9a0d72e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6562      +/-   ##
==========================================
- Coverage   96.43%   96.43%   -0.01%     
==========================================
  Files        1372     1372              
  Lines      320264   320265       +1     
  Branches    10293    10293              
==========================================
- Hits       308845   308838       -7     
- Misses       8968     8974       +6     
- Partials     2451     2453       +2     

@CyrusNajmabadi
Copy link
Member Author

@sharwell @mavasani ptal.

@CyrusNajmabadi CyrusNajmabadi merged commit 916b9a6 into main Mar 31, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the charArrayAllocs branch March 31, 2023 21:57
@github-actions github-actions bot added this to the vNext milestone Mar 31, 2023
mavasani added a commit to dotnet/roslyn that referenced this pull request Apr 4, 2023
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.

2 participants