dotnet / diagnostics

This repository contains the source code for various .NET Core runtime diagnostic tools and documents.
MIT License
1.19k stars 356 forks source link

[Feature request] Moar GC counters! #2089

Open noahfalk opened 3 years ago

noahfalk commented 3 years ago

It would be nice if we added:

gc-heap-size-committed - Today we show the number of allocated bytes, but the GC commits more than it allocates, sometimes substantially so. This would help identify where that memory is being used. gc-heap-size-committed-peak - This would show the most memory the GC memory ever committed in the process. It would help evaluate memory limits gc-survival-rate-gen0/1/2 - Help understand the rate at which short lived objects are being promoted into higher generations

sywhang commented 3 years ago

gc-committed is added via https://github.com/dotnet/runtime/pull/50604. dotnet-counters change is https://github.com/dotnet/diagnostics/pull/2139