runtime-performance

Build the .NET runtime and run CoreCLR and WASM micro-benchmarks locally.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about runtime-performance

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

FAQPage Schema
How do I run .NET micro-benchmarks locally for CoreCLR and WASM runtimes?

Run .NET micro-benchmarks locally by building the runtime from source, configuring the dotnet/performance repository, and executing benchmark scripts with specified filters to replicate the exact CI pipeline environment. This enables detailed performance analysis and regression testing for CoreCLR and WASM.

Can I replicate the dotnet/performance CI pipeline environment on my local machine?

Yes, you can replicate the dotnet/performance CI pipeline locally. The Skill orchestrates the local setup by building the .NET runtime from source and configuring the performance repository to execute the same benchmark scripts used in the official CI environment.

How do I build the .NET runtime from source for benchmarking?

Build the .NET runtime from source for benchmarking by using the Skill's orchestration scripts to compile CoreCLR or WASM runtimes. This local build process is necessary to run micro-benchmarks against custom runtime configurations for performance analysis.

Why do I need to patch BenchmarkDotNet for newer .NET versions?

You need to patch BenchmarkDotNet for newer .NET versions to ensure compatibility with development builds. The Skill applies necessary patches to BenchmarkDotNet so it functions correctly when executing micro-benchmarks against locally built development versions of the runtime.

What's the best way to analyze a .NET performance regression locally?

The best way to analyze a .NET performance regression locally is to build the runtime from source, configure the performance repository, and run targeted micro-benchmarks using specific filters. This replicates CI testing to confirm and analyze the regression.

Does this local benchmarking approach support both CoreCLR and WASM runtimes?

Yes, this local benchmarking approach supports both CoreCLR and WASM runtimes. The Skill facilitates building either runtime from source and executing micro-benchmarks using the official dotnet/performance scripts to measure performance accurately.