Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement.

MITAuto-check passedTesting & QA

Install Microbenchmarking

skills CLI
$ npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill microbenchmarking -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rodri-oliveira-dev/Dapper-FluentMap microbenchmarking --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rodri-oliveira-dev/Dapper-FluentMap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/microbenchmarking .claude/skills/microbenchmarking && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
microbenchmarking
GitHub stars
453
Token cost
~1.1k tokens
SKILL.md length
436 words
Files
6 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement.

  • Works in 4 steps: Coverage suite — permanent… → Issue investigation — task-scoped… → Change validation — before/after… → …
  • Profiling/tracing
  • SKILL.md covers Benchmarks are comparative…, Benchmark lifecycle, Cost awareness and Running benchmarks, plus 4 more sections
  • Calls dotnet

What it does

Microbenchmarking is an agent skill from rodri-oliveira-dev/Dapper-FluentMap. Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement. Covers benchmark design, BDN configuration, project setup, cost-aware execution, side-by-side comparisons, diagnostics, and interpretation. Do not use for profiling/tracing, production telemetry, or load/stress testing.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/bdn-internals-and-tuning.md`, `references/comparison-strategies.md` and `references/diagnosers-and-exporters.md`).

It sits in Testing & QA, covering Load testing. It works with .NET. The repository describes itself as: Fluent mapping for Dapper, with conventions, immutable object materialization, analyzers, source generators, DI integration, and Dommel support. The licence is MIT.

When your agent uses it

  • Profiling/tracing
  • Production telemetry
  • Load/stress testing

Example prompts

  • “/microbenchmarking”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Coverage suite — permanent representative benchmarks.
  2. Issue investigation — task-scoped reproduction of a performance problem.
  3. Change validation — before/after validation for a PR.
  4. Development feedback — temporary experiment.

What it can do on your machine

Read from SKILL.md and the folder at commit 90600cb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Microbenchmarking loads about 1.1k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 436 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rodri-oliveira-dev/Dapper-FluentMap at commit 90600cb, republished under its MIT licence (© rodri-oliveira-dev). 436 words, ~1,105 tokens.

Download SKILL.mdSave it as .claude/skills/microbenchmarking/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
microbenchmarking
description
Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement. Covers benchmark design, BDN configuration, project setup, cost-aware execution, side-by-side comparisons, diagnostics, and interpretation. Do not use for profiling/tracing, production telemetry, or load/stress testing.
license
MIT

Benchmark Authoring Guidelines

BenchmarkDotNet (BDN) is the default tool for controlled .NET microbenchmarks in this skill.

Dapper-FluentMap integration: prefer the existing benchmarks/Dapper.FluentMap.Benchmarks project. Preserve repository dependency/versioning conventions as they actually exist; this repository currently uses explicit PackageReference versions rather than Central Package Management. Do not introduce CPM as incidental benchmark work. Benchmark changes must not alter public behavior merely to improve measurements.

Benchmarks are comparative instruments

A single number has limited value. Identify the comparison axis first:

  • mapping approaches;
  • current vs candidate implementation;
  • runtime/package versions;
  • reflection/runtime mapping vs generated paths;
  • input scale;
  • allocation behavior;
  • historical measurements.

See references/comparison-strategies.md before configuring non-trivial comparisons.

Benchmark lifecycle

Choose the use case before creating code:

  1. Coverage suite — permanent representative benchmarks.
  2. Issue investigation — task-scoped reproduction of a performance problem.
  3. Change validation — before/after validation for a PR.
  4. Development feedback — temporary experiment.

Only permanent coverage-suite benchmarks should automatically become repository code. Temporary experiments should remain isolated unless explicitly requested.

Cost awareness

Each BDN case has real wall-clock cost. [Params] creates Cartesian products and multiple jobs multiply the case count.

PresetTypical purpose
--job Drycorrectness/compilation validation
--job Shortquick development measurements
defaultfinal normal measurements
--job Mediumhigher confidence
--job Longexceptional high-confidence runs

Always estimate method × parameter × job case count before a large run.

Running benchmarks

Inspect the current benchmark entry point before assuming CLI forwarding. Use a narrow filter and redirect verbose output:

bash
dotnet run --project ./benchmarks/Dapper.FluentMap.Benchmarks/Dapper.FluentMap.Benchmarks.csproj -c Release -- --filter "*MethodName" --noOverwrite > benchmark.log 2>&1

Run a dry representative case before longer measurements.

Show full SKILL.md (196 more words)Show less

Writing new benchmarks

Determine the real caller scenario, comparison axis, input shape, setup/reset needs, parameter count, and whether allocation diagnostics matter.

Key invariants:

  • return results when needed to prevent dead-code elimination;
  • move initialization to [GlobalSetup];
  • do not add manual loops merely to increase measurement work;
  • mark an explicit baseline;
  • store inputs in fields/params rather than foldable constants;
  • use seeded randomness for reproducibility;
  • materialize deferred execution when execution is what should be measured;
  • isolate global FluentMap/Dapper configuration so one case does not contaminate another.

See references/writing-benchmarks.md.

Dependency/setup rule

BenchmarkDotNet is already present in the repository benchmark project. Do not add another benchmark project or change dependency-management strategy unless the task demonstrates a need. If dependency versions change, follow the repository's existing package-version conventions and validate the benchmark project explicitly.

Diagnostics

Use references/diagnosers-and-exporters.md when timing alone is insufficient. Allocation data can be especially relevant for a mapping library.

Validation

  1. Build the benchmark project in Release.
  2. Run a dry representative case.
  3. Run a narrow real measurement.
  4. Confirm baseline and input set.
  5. Read generated Markdown/CSV results.
  6. Report runtime, hardware/OS and statistical limitations.
  7. Do not treat tiny differences inside measurement noise as meaningful regressions/improvements.

© rodri-oliveira-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in .agents/skills/microbenchmarking of rodri-oliveira-dev/Dapper-FluentMap.

  • SKILL.md
  • references/bdn-internals-and-tuning.md
  • references/comparison-strategies.md
  • references/diagnosers-and-exporters.md
  • references/project-setup-and-running.md
  • references/writing-benchmarks.md

Open the folder on GitHubat commit 90600cb

Compare with similar skills

Microbenchmarking next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Microbenchmarking compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microbenchmarking this skillrodri-oliveira-dev/Dapper-FluentMap453—~1.1kAutomated safety check: PassMIT
Microbenchmarkingdotnet/skills5.6k3 repos~3.3kAutomated safety check: PassMIT
Microbenchmarkingatherio-danp/cde-dotnetcc109—~979Automated safety check: NotesNone
Code Reviewdotnet/macios2.9k—~1.7kAutomated safety check: PassCustom licence
Profilingmanagedcode/dotnet-skills486—~1.6kAutomated safety check: PassMIT
Evaluate PR Testsdotnet/maui23k—~2.9kAutomated safety check: PassMIT

Similar skills

  • Microbenchmarking

    dotnet/skills

    Official

    Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks.

    5.6k GitHub starsUsed in 3 repos~3.3k tokens
    Testing & QAAuto-check passed
  • Microbenchmarking

    atherio-danp/cde-dotnetcc

    Create, run, configure, and interpret BenchmarkDotNet microbenchmarks in the .NET API — measure and compare approaches, runtime configs, or package versions.

    109 GitHub stars~979 tokensUpdated 2 mo ago
    Testing & QAAuto-check: notes
  • Code Review

    dotnet/macios

    Official

    Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

    2.9k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Profiling

    managedcode/dotnet-skills

    Use the free official .NET diagnostics CLI tools for profiling and runtime investigation in .NET repositories.

    486 GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.

    23k GitHub stars~2.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build.

    5.6k GitHub starsUsed in 1 repo~3.3k tokens
    Testing & QAAuto-check passed

More from rodri-oliveira-dev/Dapper-FluentMap

All 11 skills in this repo
  • Directory Build Organization

    rodri-oliveira-dev/Dapper-FluentMap

    Guide for organizing MSBuild infrastructure with Directory.Build.props, Directory.Build.targets, Directory.Packages.props when present, and related repository build files.

    453 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Nuget Trusted Publishing

    rodri-oliveira-dev/Dapper-FluentMap

    Review, maintain, or set up NuGet trusted publishing (OIDC) for GitHub Actions.

    453 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Test Gap Analysis

    rodri-oliveira-dev/Dapper-FluentMap

    Pseudo-mutation analysis for behavioral blind spots: determine whether existing tests would catch meaningful caller-visible production changes, identify survivors or untested outcomes, and…

    453 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Authoring GitHub Workflows

    rodri-oliveira-dev/Dapper-FluentMap

    Author and review GitHub Actions workflow YAML safely so syntactically-valid YAML can't ship a workflow that GitHub Actions refuses to run.

    453 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Binlog Failure Analysis

    rodri-oliveira-dev/Dapper-FluentMap

    Analyze MSBuild binary logs to diagnose build failures. An agent skill from rodri-oliveira-dev/Dapper-FluentMap.

    453 GitHub stars~750 tokensUpdated yesterday
    Auto-check passed
  • CI Release Governance

    rodri-oliveira-dev/Dapper-FluentMap

    A skill your agent uses to review or adjust Dapper-FluentMap GitHub Actions, packaging, NuGet publishing, versioning, release, rollback, recovery, provenance, and automation security.

    453 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Microbenchmarking

What does Microbenchmarking do?

Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement. Microbenchmarking is an agent skill from rodri-oliveira-dev/Dapper-FluentMap.NET performance question requires controlled microbenchmark measurement.

When should I use Microbenchmarking?

Microbenchmarking fits situations like: profiling/tracing; production telemetry; load/stress testing.

How do I install Microbenchmarking in Claude Code?

Run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill microbenchmarking -a claude-code`. Or copy the skill folder (.agents/skills/microbenchmarking in rodri-oliveira-dev/Dapper-FluentMap) into .claude/skills/microbenchmarking in your project. Claude Code loads it when a task matches its description.

How do I install Microbenchmarking in Codex?

Run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill microbenchmarking -a codex`. Or copy the skill folder (.agents/skills/microbenchmarking in rodri-oliveira-dev/Dapper-FluentMap) into .agents/skills/microbenchmarking in your project. Codex loads it when a task matches its description.

Can I use Microbenchmarking in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill microbenchmarking -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microbenchmarking, .gemini/skills/microbenchmarking, .github/skills/microbenchmarking and .opencode/skills/microbenchmarking in your project.

What does Microbenchmarking need to run?

Going by SKILL.md and its folder, Microbenchmarking needs the command-line tools its instructions call (dotnet).

Does Microbenchmarking access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Microbenchmarking safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Microbenchmarking use?

Microbenchmarking is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Microbenchmarking use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Microbenchmarking?

Skills that share tags, products or a category with Microbenchmarking: Microbenchmarking (dotnet/skills, 5.6k stars), Microbenchmarking (atherio-danp/cde-dotnetcc, 109 stars), Code Review (dotnet/macios, 2.9k stars) and Profiling (managedcode/dotnet-skills, 486 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microbenchmarking?

rodri-oliveira-dev (a GitHub user) maintains it in rodri-oliveira-dev/Dapper-FluentMap, which has 453 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

Source: rodri-oliveira-dev/Dapper-FluentMap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.