performance-benchmark

Generate and execute BenchmarkDotNet benchmarks for dotnet/runtime code changes.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/ilonatommy/copilot-skills --skill performance-benchmark-ilonatommy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-benchmark
Source: https://github.com/ilonatommy/copilot-skills/tree/main/runtime-skills/performance-benchmark
Command: npx skills add https://github.com/ilonatommy/copilot-skills --skill performance-benchmark-ilonatommy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps validate the performance impact of code changes by generating and running precise benchmarks, ensuring code optimizations are effective and regressions are caught early.

Core Features & Use Cases

  • Benchmark Creation: Write BenchmarkDotNet benchmarks following best practices for setup, execution, and measurement.
  • Automated Execution: Trigger EgorBot to run benchmarks on specified architectures and commit ranges.
  • Use Case: After modifying a core algorithm in dotnet/runtime, use this Skill to create a benchmark that measures its execution time and memory allocation, then post a comment to EgorBot to run it against the PR changes and the base branch.

Quick Start

Use the performance-benchmark skill to generate and run a benchmark for the current PR changes against the base branch using the -x64 and -arm targets.

Frequently Asked Questions about performance-benchmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark code performance changes in dotnet/runtime?

You benchmark code performance by generating BenchmarkDotNet benchmarks and triggering EgorBot to execute them on specified architectures like x64 and ARM64, comparing your PR commit against the base branch.

What architectures does BenchmarkDotNet benchmarking support for dotnet/runtime?

BenchmarkDotNet benchmarking supports multiple target architectures including x64, ARM64, and Intel, allowing you to validate code optimizations across different hardware platforms.

Can I compare performance between two commits in dotnet/runtime?

Yes, you can compare performance between commits by generating a benchmark and posting an EgorBot comment with the specified commit range, executing it against your PR changes and the base branch.

Do I need to follow specific guidelines for microbenchmark design in dotnet?

Yes, you must adhere to microbenchmark design guidelines when creating benchmarks, ensuring proper setup, execution, and measurement practices to accurately validate code changes.

How does EgorBot execute ad hoc performance benchmarks?

EgorBot executes ad hoc performance benchmarks by parsing specific comment syntax you provide, triggering automated runs on specified architectures within the dotnet/runtime repository.

Why validate code optimizations with microbenchmarks before merging?

Validating code optimizations with microbenchmarks ensures your changes are effective and catches performance regressions early by precisely measuring execution time and memory allocation.