cnfast

cn benchmark

Compare cnfast against clsx + tailwind-merge across real component repositories, common rendering workloads, and bundle size.

The latest committed result was generated Sep 1, 2026, 9:04 AM with Bun 1.3.14. Each workload records the highest mean throughput from 3 timed attempts of 800 ms after warmup.

The repository headline is the geometric mean across 58 real-world component repositories. The all-groups result is balanced across 11 groups containing 119 workloads. Bundle size is reported separately because smaller is better.

Bun 1.3.14best of 3source 7aa2a69

Repository performance

The geometric mean across 58 real-world component repositories. This is the repository result reported in the README.

Cache workloads

Working sets that fit in both implementations' caches alongside working sets that exceed them.

Specific workloads

Focused tests for input shapes, Tailwind syntax, rendering patterns, CVA, pages, and live data.

Repository breakdown

Measured throughput and speedup for each repository in the 58-repository corpus.

Bundle size

Production entry bundle after minification and gzip. Lower values are smaller.