dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 98
- Release rhythm 59
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 12.0
- age_days: 4763
- days_rel: 276
- days_push: 17
- n_releases_24m: 9
Adoption not part of the score
11484 stars · 1063 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
BenchmarkDotNet is a powerful .NET library for benchmarking that transforms methods into benchmarks and produces reliable, statistically sound performance measurements. It automates benchmark execution across multiple runtimes, guards against common benchmarking pitfalls, and presents results in user-friendly summary tables.
Use cases
- benchmark c# methods
- compare performance of two algorithms in .net
- measure method execution time in dotnet
- run benchmarks across multiple .net runtimes
- generate reproducible performance reports
- detect performance regressions in .net code
When to choose
- you need accurate microbenchmarks for .NET code with statistical rigor
- you want to compare methods across runtimes like .NET Framework, .NET Core, Mono, or NativeAOT
- you want to avoid common benchmarking mistakes like unoptimized builds or insufficient warmup
When to avoid
- you are benchmarking non-.NET languages or platforms
- you need load testing or end-to-end HTTP performance testing rather than microbenchmarks
- you need profiling (memory allocation traces, CPU sampling) rather than timing measurements
Facets
library · maturity stable
benchmarking developer-tools performance developer-tools cross-platform windows dotnet csharp microbenchmarking performance-measurement statistics nuget dotnet linux macos
6 sources
- readme: https://github.com/dotnet/BenchmarkDotNet · fetched 2026-08-28 · 15146acb638a
- homepage: https://benchmarkdotnet.org · fetched 2026-08-29 · a9c1393ff4aa
- site_page: https://benchmarkdotnet.org/articles/guides/getting-started.html · fetched 2026-08-29 · 19ab8315aaf1
- site_page: https://benchmarkdotnet.org/articles/features/parameterization.html · fetched 2026-08-29 · d8ba227c474b
- site_page: https://benchmarkdotnet.org/articles/features/baselines.html · fetched 2026-08-29 · 6c33c2bd88ec
- site_page: https://benchmarkdotnet.org/articles/overview.html · fetched 2026-08-29 · 098cbacd1144
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/BenchmarkDotNet | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="dotnet/BenchmarkDotNet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem