kotlin-multiplatform-benchmark
Installation
SKILL.md
When to Use This Skill
Use when you need to:
- Get a real, reproducible number before claiming a change "improves performance"
- Compare two implementations of the same function (e.g. two JSON parsers, two collection strategies)
- Track a regression across releases with a committed baseline
- Answer
kotlin-multiplatform-expert's performance decision tree fallback: "profile first to get a concrete target"
Trigger keywords: benchmark, microbenchmark, kotlinx-benchmark, performance number, measure performance, profile this, @Benchmark, JMH, is this faster, compare performance, performance regression, benchmark baseline.
Freshness rule: kotlinx-benchmark version, the allopen annotation target, and
per-target registration syntax change between releases — recheck the
kotlinx-benchmark docs
before pinning versions or copying setup code from this skill.