BenchmarkDotNet
Last updated: 2026-07-29
https://github.com/dotnet/BenchmarkDotNet
.NET
のマイクロベンチマークを計測するぜ君
https://benchmarkdotnet.org/index.html
公式リファレンスの内容が充実している
非同期メソッドも
Task
が返り値なら計測できる
https://learn.microsoft.com/ja-jp/visualstudio/profiling/profiling-with-benchmark-dotnet?view=vs-2022
とりあえずのやり方はここが分かりやすい
といってもほぼ
NuGet
でパッケージを入れるだけ
https://neue.cc/2024/05/01_R3_Presentation.html
neuecc
先生のお墨付き