What problem does it solve?
Benchmarks require long iterations to generate meaningful data and readable assembly outputs; bench-fast focuses on a minimal-iteration workflow to produce a single, large assembly file per benchmark for analysis.
Core Features & Use Cases
- Minimal iterations to quickly generate a large assembly dump per benchmark.
- Disassembly output via BenchmarkDotNet's DisassemblyDiagnoser for low-level code visibility.
- Multi-runtime support to compare assembly across different .NET runtimes.
Quick Start
Use the bench-fast skill to run a benchmark with minimal iterations to generate a disassembly file.
/bench-fast <BenchmarkName> [<Runtimes>]
If a runtime arg is specified, execute:
dotnet run -c Release --project BitFaster.Caching.Benchmarks --framework net9.0 -- --runtimes <Runtimes> --filter "<BenchmarkName>" -j short --warmupCount 3 --iterationCount 5 -d --disasmDepth 5
If no runtime is specified, omit that arg:
dotnet run -c Release --project BitFaster.Caching.Benchmarks --framework net9.0 -- --filter "<BenchmarkName>" -j short --warmupCount 3 --iterationCount 5 -d --disasmDepth 5