You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PerfView is showing substantial overhead for the creation of a temporary array in HashAlgorithm.ComputeHash(Stream), originating from Microsoft.CodeAnalysis and Microsoft.CodeAnalysis.Workspaces. On my machine, this accounted for more than 3 seconds of time while Roslyn.sln was opening. Code using this method should be updated to use an alternative that allows the use of a caller-specified buffer from a pool.
The text was updated successfully, but these errors were encountered:
From talking to heejae earlier, we're nto certain if anything can be helped here. The issue is that we're not computing the hash and throwing away the value. We hold onto the value. So pooling isn't helpful.
Version Used: 15.1
PerfView is showing substantial overhead for the creation of a temporary array in
HashAlgorithm.ComputeHash(Stream)
, originating from Microsoft.CodeAnalysis and Microsoft.CodeAnalysis.Workspaces. On my machine, this accounted for more than 3 seconds of time while Roslyn.sln was opening. Code using this method should be updated to use an alternative that allows the use of a caller-specified buffer from a pool.The text was updated successfully, but these errors were encountered: