Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/msbuild
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 67ba2df
Choose a base ref
...
head repository: dotnet/msbuild
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9fc3fa5
Choose a head ref
  • 1 commit
  • 9 files changed
  • 1 contributor

Commits on Jun 25, 2021

  1. Make InterningBinaryReader pool buffers (#6556)

    Fixes #3954
    
    Context
    The Buffer class is 100 kB (40 for characters and 60 for the byte array) and it is being allocated a lot, easily in the order of tens of thousands of instances per build. OOM crashes are often blamed on such allocations.
    
    Changes Made
    Made the byte array allocation lazy since in many scenarios it ends up not being used.
    Implemented a trivial Buffer pooling which eliminates >97% of allocations.
    ladipro authored Jun 25, 2021
    Configuration menu
    Copy the full SHA
    9fc3fa5 View commit details
    Browse the repository at this point in the history
Loading