Tech
BenchmarkDotNet Measures Performance—But Who Enforces the Budget?
You add [MemoryDiagnoser] and [Benchmark] to a class, run dotnet run -c
Release , and BenchmarkDotNet hands you back a beautifully formatted table:
mean, median, standard deviation, allocated bytes per operation. It's one of
the best measurement tools in any ecosystem.
And then what?
You read the numbers. You compare them, in your head, to what you remember
from last week. Maybe you screenshot the table and paste it into a Slack
message. Maybe you don't, because nothing regressed...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to