Parsing NuGetVersion causes significant GC pressure #12630
Labels
Community
PRs (and linked Issues) created by someone not in the NuGet team
Functionality:Restore
Priority:2
Issues for the current backlog.
Tenet:Performance
Performance issues
Type:Bug
Milestone
The code that parses NuGetVersion from strings indirectly uses .NET's Version.TryParse to parse the version portion of the string. When a typical restore can be thousands upon thousands of NuGetVersion objects floating around, this API on .NET Framework is not good enough as it indirectly uses String.Split under the covers and is very inefficient.
The text was updated successfully, but these errors were encountered: