performance-benchmark
Installation
SKILL.md
Ad Hoc Performance Benchmarking with @EgorBot
When you need to validate the performance impact of a code change, follow this process to write a BenchmarkDotNet benchmark and trigger @EgorBot to run it. The bot will notify you when results are ready, so don't wait for them.
Step 1: Write the Benchmark
Create a BenchmarkDotNet benchmark that tests the specific operation being changed. Follow these guidelines:
Benchmark Structure
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args);