This benchmark suite measures what consumers pay after tree-shaking and minification.
- one-component: imports only
Button - few-components: imports a small UI slice (
Button,Input,Dialog,Popover, and tab primitives) - nearly-all-components: imports the full namespace from
src/index.ts
pnpm bench:sizeThe script emits:
benchmarks/size/results/latest.jsonfor machine-readable diffs in CIbenchmarks/size/results/latest.mdfor quick human review
Sizes include all generated .js and .css assets and report raw, gzip, and brotli bytes.