Guides writing rigorous microbenchmarks that control for JIT warmup, dead-code elimination, and statistical significance. Use when comparing implementations or validating suspicious performance claims.
A benchmark is an experiment, and most of them are broken experiments that measure the JIT warming up, the allocator settling, or the dead-code eliminator deleting the thing under test. A confident wrong number is worse than no number, because someone ships a decision on it. Design the measurement so the result survives being run again on another machine.
parse()
call on 1 KB inputs", not "is it fast". Fix the input size, the data
shape, and what counts as one operation before writing any timing code.@Warmup, Criterion and
pytest-benchmark do this automatically). Discard warmup samples. A cold
first run measures compilation, not the code.Blackhole.consume in JMH), or accumulate into a checksum
you print. A loop whose output is unused legally compiles to nothing, and
then you are timing an empty loop.taskset -c 2), disable turbo and
frequency scaling (cpupower frequency-set -g performance), close
background load, and run on hardware, not a shared CI runner or a laptop on
battery. Report the CPU, OS, and runtime version alongside the number.This governs microbenchmarks and small controlled comparisons. Whole-system load behavior under concurrency belongs to throughput-scaling and latency-analysis; catching drift over time in automation is performance-regression-detection. Production numbers come from real-user-monitoring, not a bench.
What SKILL.md sets; muted values are Claude Code's defaults
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job