wsb — Kotlin/Wasm compiler size benchmark harness
Measures the Kotlin/Wasm binary-size impact of a compiler change : it takes one or more Kotlin compiler versions, builds each pinned real-world project once with each of them, and reports the size deltas.
Each compiler build in a comparison is a variant . The flag --variants takes a comma separated list where the first variant is the baseline and and every other variant's sizes are compared against it; with more than two variants you get a timeline (per-commit attribution).
2 variants: timeline ./wsb.py run --projects kotlinconf # subset of projects"> ./wsb.py run # baseline=HEAD, change=your working tree as-is ./wsb.py run --baseline 26b01b14f72b --change ee5eff663cbc ./wsb.py run --variants 2.2.21,ee5eff663cbc^,ee5eff663cbc,origin/master # >2 variants: timeline ./wsb.py run --projects kotlinconf # subset of projects
--baseline A --change B is just syntactic sugar for --variants A,B .…