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

MSBuild is boxing 25 MB worth of ImmutableList<T>/List<T> enumerators #2265

Closed
davkean opened this issue Jul 6, 2017 · 1 comment
Closed
Labels
performance Performance-Scenario-References This issue affects adding/removing/editing references Priority:2 Work that is important, but not critical for the release triaged

Comments

@davkean
Copy link
Member

davkean commented Jul 6, 2017

Looking at trace from @jainaashish, I noticed that MSBuild is boxing 25 MB (0.6% of the entire scenario - which was installing a bunch of NuGet pages) worth of enumerators:

image

See: \scratch2\scratch\asja\AddReference Perf ETL logs

These are struct enumerators - so they are probably being passed as IEnumerable<string> somewhere.

@rainersigwald rainersigwald added this to the MSBuild 15 "foundation update" 2 milestone Jul 6, 2017
@panopticoncentral panopticoncentral added the Performance-Scenario-References This issue affects adding/removing/editing references label Mar 25, 2020
@panopticoncentral panopticoncentral removed this from the MSBuild 15.6 milestone May 21, 2020
@panopticoncentral panopticoncentral added the Priority:2 Work that is important, but not critical for the release label Mar 23, 2021
@ladipro
Copy link
Member

ladipro commented Apr 13, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance-Scenario-References This issue affects adding/removing/editing references Priority:2 Work that is important, but not critical for the release triaged
Projects
None yet
Development

No branches or pull requests

6 participants