What problem does it solve?
This Skill allows you to set up and run .NET micro-benchmarks locally, replicating the exact CI environment used by the dotnet/performance pipeline, enabling detailed performance analysis and regression testing.
Core Features & Use Cases
- Local Benchmarking: Execute micro-benchmarks for .NET CoreCLR and WASM runtimes using the same scripts as the official CI.
- Runtime Building: Build the .NET runtime (CoreCLR or WASM) from source for benchmarking purposes.
- BenchmarkDotNet Patching: Apply necessary patches to BenchmarkDotNet for compatibility with newer .NET versions.
- Use Case: You've identified a potential performance regression in a specific .NET library. Use this Skill to build the runtime locally, configure the performance repository, and run the relevant micro-benchmarks to confirm and analyze the regression.
Quick Start
Use the runtime-performance skill to set up and run benchmarks for the CoreCLR runtime targeting net11.0 with the filter System.Tests.Perf_Boolean.Parse.