CSS-in-JS benchmarks

One set of components, built 23 different ways and measured on identical workloads. Every version renders the same pixels, so the numbers compare by construction, not by claim.

23 styling techniques13 workloadsproduction builds · median of repeated runs
Show source and preview
Technologies23 / 23 shown·
Benchmarks10 / 10 shown·
Server
Browser
Size & build
A whole shop page400 product tilesn = 400low cardinality

A real product listing: responsive grid, a sale badge (color by discount), a wishlist toggle, a truncated title, a dynamic rating bar, optional struck-through price and an out-of-stock add-to-cart — plus (hover:hover)-guarded hover, :focus-visible rings, WCAG ::before tap targets, a @container query per tile, reduced-motion handling and a11y semantics. Tailwind fires ~8 cn() per tile.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)508,593 r/s ±21%(0.15 ms / 1k elems)
Plumeria on Solid487,911 r/s ±18%(0.15 ms / 1k elems)
cn (shadcn-ui) on Solid443,358 r/s ±3%(0.17 ms / 1k elems)
@yak/solid (styled API, Solid 2)341,046 r/s ±14%(0.22 ms / 1k elems)
StyleX on Solid229,063 r/s ±6%(0.32 ms / 1k elems)
Bamboo140,429 r/s ±1%(0.53 ms / 1k elems)
@yak/react (css prop)139,916 r/s ±1%(0.53 ms / 1k elems)
vanilla (hand-written ceiling)137,486 r/s ±2%(0.54 ms / 1k elems)
@yak/react (styled API)130,444 r/s ±2%(0.57 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)129,534 r/s ±3%(0.57 ms / 1k elems)
Plumeria (classStyle prop)127,317 r/s ±4%(0.58 ms / 1k elems)
StyleX117,031 r/s ±2%(0.63 ms / 1k elems)
cn (shadcn-ui)114,406 r/s ±2%(0.65 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false112,662 r/s ±4%(0.66 ms / 1k elems)
@yak/react (css prop) foldStatic: false102,687 r/s ±3%(0.72 ms / 1k elems)
@yak/react (styled API) foldStatic: false100,305 r/s ±2%(0.74 ms / 1k elems)
tailwind-merge89,067 r/s ±1%(0.83 ms / 1k elems)
Panda (css fn)62,720 r/s ±1%(1.18 ms / 1k elems)
Goober39,001 r/s ±1%(1.90 ms / 1k elems)
styled-components36,756 r/s ±1%(2.02 ms / 1k elems)
Panda (style props)25,537 r/s ±2%(2.90 ms / 1k elems)
Emotion21,419 r/s ±2%(3.46 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

vanilla Solid (hand-written ceiling)740 req/s ±1%
@yak/solid (styled API, Solid 2)562 req/s ±0%
Plumeria on Solid521 req/s ±0%
cn (shadcn-ui) on Solid380 req/s ±0%
StyleX on Solid346 req/s ±0%
vanilla (hand-written ceiling)231 req/s ±1%
@yak/react (styled API)228 req/s ±1%
@yak/react (css prop)221 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false221 req/s ±0%
@yak/react (css prop) foldStatic: false187 req/s ±1%
@yak/react (styled API) foldStatic: false183 req/s ±1%
Plumeria (classStyle prop)170 req/s ±0%
StyleX without CSS layers (:not() specificity hack)168 req/s ±0%
StyleX168 req/s ±0%
Bamboo154 req/s ±1%
cn (shadcn-ui)120 req/s ±0%
tailwind-merge106 req/s ±1%
Goober85 req/s ±0%
Panda (css fn)83 req/s ±0%
styled-components81 req/s ±0%
Emotion58 req/s ±1%
Panda (style props)46 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
vanilla Solid (hand-written ceiling)1.34 ms
cn (shadcn-ui) on Solid1.54 ms
Plumeria on Solid1.62 ms
@yak/solid (styled API, Solid 2)2.10 ms
StyleX on Solid2.46 ms
vanilla (hand-written ceiling)3.28 ms
@yak/react (styled API)3.33 ms
Bamboo3.43 ms
Plumeria (classStyle prop)3.44 ms
StyleX4.02 ms
StyleX without CSS layers (:not() specificity hack)4.10 ms
@yak/react (css prop)4.19 ms
cn (shadcn-ui)4.31 ms
@yak/react (styled API) foldStatic: false4.66 ms
@yak/solid (styled API, Solid 2) foldStatic: false4.67 ms
@yak/react (css prop) foldStatic: false4.73 ms
tailwind-merge6.03 ms
Panda (css fn)8.80 ms
Goober12.22 ms
styled-components12.97 ms
Emotion19.19 ms
Panda (style props)19.57 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

Bamboo74 ms ±1%
Plumeria (classStyle prop)75 ms ±4%
vanilla (hand-written ceiling)75 ms ±3%
@yak/react (styled API)80 ms ±4%
@yak/react (css prop)81 ms ±2%
StyleX82 ms ±4%
StyleX without CSS layers (:not() specificity hack)83 ms ±4%
@yak/react (styled API) foldStatic: false89 ms ±3%
cn (shadcn-ui)91 ms ±4%
@yak/react (css prop) foldStatic: false93 ms ±3%
Panda (css fn)99 ms ±4%
tailwind-merge101 ms ±4%
vanilla Solid (hand-written ceiling)124 ms ±3%
Plumeria on Solid127 ms ±4%
styled-components131 ms ±4%
cn (shadcn-ui) on Solid135 ms ±4%
Goober153 ms ±5%
@yak/solid (styled API, Solid 2)165 ms ±3%
StyleX on Solid170 ms ±2%
Panda (style props)185 ms ±2%
Emotion190 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false303 ms ±3%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria (classStyle prop)15.39 ms active(36.31 ms span)
StyleX without CSS layers (:not() specificity hack)16.25 ms active(38.47 ms span)
vanilla Solid (hand-written ceiling)16.41 ms active(16.43 ms span)
Plumeria on Solid16.48 ms active(16.83 ms span)
@yak/react (styled API)16.48 ms active(43.48 ms span)
@yak/react (css prop)17.63 ms active(31.10 ms span)
@yak/react (styled API) foldStatic: false17.84 ms active(39.54 ms span)
vanilla (hand-written ceiling)18.49 ms active(48.49 ms span)
StyleX19.06 ms active(42.98 ms span)
Bamboo20.39 ms active(41.31 ms span)
cn (shadcn-ui)21.16 ms active(34.70 ms span)
@yak/react (css prop) foldStatic: false21.46 ms active(36.00 ms span)
Panda (css fn)21.78 ms active(54.06 ms span)
cn (shadcn-ui) on Solid22.36 ms active(22.38 ms span)
tailwind-merge23.59 ms active(40.24 ms span)
styled-components24.06 ms active(31.23 ms span)
@yak/solid (styled API, Solid 2)24.51 ms active(24.53 ms span)
StyleX on Solid28.16 ms active(28.18 ms span)
Goober30.38 ms active(55.07 ms span)
Emotion30.89 ms active(58.40 ms span)
Panda (style props)36.69 ms active(57.44 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false37.15 ms active(38.49 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

vanilla Solid (hand-written ceiling)248 ms ±6%
@yak/solid (styled API, Solid 2)254 ms ±3%
@yak/react (styled API)259 ms ±3%
vanilla (hand-written ceiling)267 ms ±5%
Plumeria on Solid268 ms ±5%
@yak/react (css prop) foldStatic: false269 ms ±4%
StyleX on Solid274 ms ±3%
@yak/react (css prop)275 ms ±6%
Bamboo275 ms ±6%
Plumeria (classStyle prop)275 ms ±6%
@yak/react (styled API) foldStatic: false277 ms ±7%
StyleX without CSS layers (:not() specificity hack)284 ms ±6%
Panda (css fn)286 ms ±5%
StyleX294 ms ±6%
@yak/solid (styled API, Solid 2) foldStatic: false294 ms ±5%
styled-components300 ms ±4%
Goober309 ms ±5%
cn (shadcn-ui) on Solid315 ms ±9%
tailwind-merge339 ms ±11%
Emotion339 ms ±9%
cn (shadcn-ui)354 ms ±10%
Panda (style props)356 ms ±5%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria on Solid9.49 ms active(33.22 ms span · 33.22 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)10.00 ms active(33.06 ms span · 33.06 ms profiled median (n=5))
vanilla (hand-written ceiling)10.30 ms active(32.39 ms span · 32.39 ms profiled median (n=5))
StyleX10.72 ms active(33.98 ms span · 33.98 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)10.88 ms active(33.07 ms span · 33.07 ms profiled median (n=5))
Bamboo10.95 ms active(32.45 ms span · 32.45 ms profiled median (n=5))
StyleX on Solid10.99 ms active(33.08 ms span · 33.08 ms profiled median (n=5))
@yak/react (css prop)11.23 ms active(32.40 ms span · 32.40 ms profiled median (n=5))
Plumeria (classStyle prop)11.49 ms active(32.41 ms span · 32.41 ms profiled median (n=5))
Panda (css fn)11.55 ms active(32.37 ms span · 32.37 ms profiled median (n=5))
@yak/react (styled API)11.66 ms active(32.32 ms span · 32.32 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)11.78 ms active(33.86 ms span · 33.86 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false11.79 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false12.21 ms active(32.54 ms span · 32.54 ms profiled median (n=5))
styled-components12.58 ms active(32.33 ms span · 32.33 ms profiled median (n=5))
Emotion13.32 ms active(33.94 ms span · 33.94 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false13.43 ms active(32.33 ms span · 32.33 ms profiled median (n=5))
Goober13.80 ms active(32.36 ms span · 32.36 ms profiled median (n=5))
cn (shadcn-ui) on Solid14.72 ms active(33.08 ms span · 33.08 ms profiled median (n=5))
Panda (style props)14.85 ms active(33.52 ms span · 33.52 ms profiled median (n=5))
tailwind-merge17.55 ms active(30.44 ms span · 30.44 ms profiled median (n=5))
cn (shadcn-ui)17.82 ms active(30.75 ms span · 30.75 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

Bamboo97 ms ±3%
vanilla (hand-written ceiling)99 ms ±5%
@yak/react (styled API)101 ms ±4%
vanilla Solid (hand-written ceiling)102 ms ±6%
@yak/react (css prop)102 ms ±2%
Plumeria on Solid102 ms ±5%
Plumeria (classStyle prop)103 ms ±4%
StyleX without CSS layers (:not() specificity hack)105 ms ±2%
StyleX106 ms ±2%
cn (shadcn-ui)112 ms ±3%
@yak/react (css prop) foldStatic: false117 ms ±4%
@yak/react (styled API) foldStatic: false117 ms ±4%
cn (shadcn-ui) on Solid123 ms ±3%
Panda (css fn)124 ms ±4%
tailwind-merge125 ms ±6%
@yak/solid (styled API, Solid 2)138 ms ±4%
StyleX on Solid148 ms ±5%
styled-components170 ms ±4%
Goober187 ms ±3%
Panda (style props)219 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false223 ms ±2%
Emotion230 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
vanilla Solid (hand-written ceiling)33.05 ms active(37.19 ms span)
@yak/solid (styled API, Solid 2)34.03 ms active(34.06 ms span)
Plumeria on Solid34.28 ms active(34.33 ms span)
cn (shadcn-ui) on Solid35.65 ms active(35.70 ms span)
StyleX without CSS layers (:not() specificity hack)37.82 ms active(39.05 ms span)
Panda (css fn)38.28 ms active(44.41 ms span)
@yak/react (styled API) foldStatic: false38.36 ms active(49.76 ms span)
Plumeria (classStyle prop)39.10 ms active(44.38 ms span)
@yak/react (css prop)39.39 ms active(46.99 ms span)
StyleX on Solid40.11 ms active(40.15 ms span)
vanilla (hand-written ceiling)40.69 ms active(47.09 ms span)
StyleX41.23 ms active(46.98 ms span)
@yak/react (styled API)41.25 ms active(48.34 ms span)
Bamboo42.35 ms active(48.30 ms span)
cn (shadcn-ui)42.71 ms active(47.88 ms span)
@yak/react (css prop) foldStatic: false45.75 ms active(55.24 ms span)
tailwind-merge49.42 ms active(61.98 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false51.00 ms active(51.07 ms span)
styled-components52.17 ms active(56.76 ms span)
Emotion53.76 ms active(60.14 ms span)
Panda (style props)56.45 ms active(63.08 ms span)
Goober57.25 ms active(66.50 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
EmotionChrome15.8 ms1 recalc
Firefox10.0 ms
vanilla Solid (hand-written ceiling)Chrome18.8 ms1 recalc
Firefox10.0 ms
@yak/solid (styled API, Solid 2)Chrome15.7 ms1 recalc
Firefox12.0 ms
Plumeria (classStyle prop)Chrome18.5 ms1 recalc
Firefox11.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome17.8 ms1 recalc
Firefox11.0 ms
StyleXChrome16.3 ms1 recalc
Firefox10.0 ms
styled-componentsChrome16.8 ms1 recalc
Firefox10.0 ms
StyleX on SolidChrome16.9 ms1 recalc
Firefox10.0 ms
Plumeria on SolidChrome16.6 ms1 recalc
Firefox14.0 ms
vanilla (hand-written ceiling)Chrome18.9 ms1 recalc
Firefox11.0 ms
Panda (css fn)Chrome16.5 ms1 recalc
Firefox11.0 ms
BambooChrome17.2 ms1 recalc
Firefox11.0 ms
Panda (style props)Chrome16.3 ms1 recalc
Firefox12.0 ms
@yak/react (styled API) foldStatic: falseChrome16.4 ms1 recalc
Firefox11.0 ms
@yak/react (styled API)Chrome17.2 ms1 recalc
Firefox11.0 ms
@yak/react (css prop) foldStatic: falseChrome18.7 ms1 recalc
Firefox13.0 ms
@yak/react (css prop)Chrome16.2 ms1 recalc
Firefox13.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome17.7 ms1 recalc
Firefox13.0 ms
GooberChrome19.5 ms1 recalc
Firefox11.0 ms
cn (shadcn-ui)Chrome18.2 ms1 recalc
Firefox15.0 ms
tailwind-mergeChrome19.2 ms1 recalc
Firefox18.0 ms
cn (shadcn-ui) on SolidChrome17.6 ms1 recalc
Firefox13.1 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
@yak/react (css prop) foldStatic: false7,659 B(0.5 / 0.9 / 6.1 kB)
@yak/react (css prop)7,674 B(0.5 / 0.9 / 6.1 kB)
vanilla (hand-written ceiling)7,793 B(0.0 / 1.5 / 6.1 kB)
@yak/react (styled API)8,798 B(1.6 / 0.9 / 6.1 kB)
@yak/react (styled API) foldStatic: false8,893 B(1.7 / 0.9 / 6.1 kB)
vanilla Solid (hand-written ceiling)9,916 B(0.0 / 1.5 / 8.2 kB)
Plumeria (classStyle prop)11,281 B(1.1 / 1.4 / 8.5 kB)
Goober11,550 B(3.9 / 1.2 / 6.2 kB)
Plumeria on Solid13,082 B(0.5 / 1.4 / 10.9 kB)
StyleX14,112 B(3.5 / 1.5 / 8.8 kB)
StyleX without CSS layers (:not() specificity hack)14,182 B(3.5 / 1.6 / 8.8 kB)
Bamboo16,431 B(2.8 / 1.8 / 11.5 kB)
StyleX on Solid18,639 B(5.9 / 1.5 / 10.8 kB)
@yak/solid (styled API, Solid 2)18,948 B(7.1 / 0.9 / 10.5 kB)
Emotion20,671 B(12.9 / 1.2 / 6.1 kB)
styled-components21,329 B(13.1 / 1.4 / 6.3 kB)
Panda (css fn)22,136 B(4.8 / 1.5 / 15.3 kB)
Panda (style props)26,667 B(9.2 / 1.5 / 15.3 kB)
tailwind-merge27,084 B(10.4 / 2.0 / 14.0 kB)
cn (shadcn-ui)29,622 B(12.9 / 2.0 / 14.0 kB)
@yak/solid (styled API, Solid 2) foldStatic: false30,692 B(6.5 / 0.9 / 22.6 kB)
cn (shadcn-ui) on Solid31,875 B(12.4 / 2.0 / 16.7 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.048961441921005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
A whole shop pagethe same tiles, split across filesn = 400low cardinality

The EXACT product-grid workload — identical DOM, identical CSS, identical 400 tiles — laid out the way real code ships: the shared fragments in one module, the primitives split by role across several more, and every use site in index.tsx. A compiler can only replace a styled component with a plain tag when the declaration and the use site sit in the same module, so here it never can, and the shared fragments have to cross a module boundary to reach the components that use them. Runtime libraries do not care about file layout. The gap to product-grid is what the boundary costs.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

Plumeria on Solid435,137 r/s ±20%(0.17 ms / 1k elems)
vanilla Solid (hand-written ceiling)373,465 r/s ±24%(0.20 ms / 1k elems)
cn (shadcn-ui) on Solid327,677 r/s ±8%(0.23 ms / 1k elems)
Bamboo140,391 r/s ±2%(0.53 ms / 1k elems)
@yak/react (css prop)140,302 r/s ±2%(0.53 ms / 1k elems)
vanilla (hand-written ceiling)138,623 r/s ±2%(0.53 ms / 1k elems)
Plumeria (classStyle prop)126,208 r/s ±5%(0.59 ms / 1k elems)
cn (shadcn-ui)113,793 r/s ±3%(0.65 ms / 1k elems)
@yak/solid (styled API, Solid 2)109,802 r/s ±10%(0.67 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false109,100 r/s ±5%(0.68 ms / 1k elems)
StyleX on Solid105,891 r/s ±14%(0.70 ms / 1k elems)
@yak/react (css prop) foldStatic: false104,708 r/s ±5%(0.71 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)99,473 r/s ±4%(0.74 ms / 1k elems)
@yak/react (styled API) foldStatic: false98,590 r/s ±2%(0.75 ms / 1k elems)
@yak/react (styled API)95,480 r/s ±2%(0.78 ms / 1k elems)
StyleX90,950 r/s ±3%(0.81 ms / 1k elems)
tailwind-merge88,152 r/s ±1%(0.84 ms / 1k elems)
Panda (css fn)62,349 r/s ±1%(1.19 ms / 1k elems)
styled-components36,347 r/s ±1%(2.04 ms / 1k elems)
Goober36,012 r/s ±1%(2.06 ms / 1k elems)
Panda (style props)25,649 r/s ±2%(2.89 ms / 1k elems)
Emotion21,370 r/s ±1%(3.47 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

vanilla Solid (hand-written ceiling)592 req/s ±1%
Plumeria on Solid519 req/s ±1%
cn (shadcn-ui) on Solid332 req/s ±1%
vanilla (hand-written ceiling)229 req/s ±1%
@yak/react (css prop)219 req/s ±1%
@yak/solid (styled API, Solid 2)217 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false216 req/s ±0%
@yak/react (css prop) foldStatic: false188 req/s ±0%
StyleX on Solid183 req/s ±1%
@yak/react (styled API)176 req/s ±1%
@yak/react (styled API) foldStatic: false176 req/s ±1%
Plumeria (classStyle prop)170 req/s ±0%
Bamboo154 req/s ±1%
StyleX without CSS layers (:not() specificity hack)146 req/s ±1%
StyleX145 req/s ±1%
cn (shadcn-ui)119 req/s ±0%
tailwind-merge106 req/s ±0%
Panda (css fn)83 req/s ±0%
styled-components80 req/s ±2%
Goober78 req/s ±1%
Emotion58 req/s ±0%
Panda (style props)46 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
Plumeria on Solid1.78 ms
vanilla Solid (hand-written ceiling)1.95 ms
cn (shadcn-ui) on Solid2.11 ms
Bamboo3.52 ms
vanilla (hand-written ceiling)3.52 ms
Plumeria (classStyle prop)3.86 ms
@yak/react (css prop)4.13 ms
cn (shadcn-ui)4.31 ms
@yak/solid (styled API, Solid 2)4.72 ms
@yak/solid (styled API, Solid 2) foldStatic: false4.73 ms
StyleX on Solid4.97 ms
StyleX5.03 ms
@yak/react (css prop) foldStatic: false5.19 ms
@yak/react (styled API)5.43 ms
@yak/react (styled API) foldStatic: false5.54 ms
tailwind-merge5.58 ms
StyleX without CSS layers (:not() specificity hack)5.91 ms
Panda (css fn)7.50 ms
styled-components12.90 ms
Goober13.53 ms
Emotion18.86 ms
Panda (style props)20.00 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

Plumeria (classStyle prop)75 ms ±2%
Bamboo78 ms ±5%
vanilla (hand-written ceiling)78 ms ±3%
@yak/react (css prop)83 ms ±3%
cn (shadcn-ui)88 ms ±2%
@yak/react (styled API) foldStatic: false89 ms ±2%
@yak/react (css prop) foldStatic: false92 ms ±5%
StyleX without CSS layers (:not() specificity hack)92 ms ±3%
@yak/react (styled API)93 ms ±4%
StyleX95 ms ±3%
Panda (css fn)96 ms ±2%
tailwind-merge101 ms ±3%
Plumeria on Solid125 ms ±2%
vanilla Solid (hand-written ceiling)129 ms ±3%
styled-components129 ms ±4%
cn (shadcn-ui) on Solid141 ms ±3%
Goober159 ms ±3%
Panda (style props)181 ms ±3%
Emotion191 ms ±2%
StyleX on Solid209 ms ±3%
@yak/solid (styled API, Solid 2)297 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false298 ms ±3%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria (classStyle prop)15.36 ms active(38.46 ms span)
vanilla (hand-written ceiling)15.65 ms active(39.59 ms span)
Bamboo16.55 ms active(45.35 ms span)
@yak/react (styled API)17.73 ms active(45.02 ms span)
@yak/react (css prop)18.32 ms active(30.62 ms span)
Plumeria on Solid18.57 ms active(26.32 ms span)
StyleX19.16 ms active(43.80 ms span)
Panda (css fn)19.53 ms active(41.07 ms span)
@yak/react (styled API) foldStatic: false20.32 ms active(45.63 ms span)
vanilla Solid (hand-written ceiling)20.47 ms active(21.76 ms span)
cn (shadcn-ui)20.76 ms active(33.86 ms span)
@yak/react (css prop) foldStatic: false20.77 ms active(43.93 ms span)
StyleX without CSS layers (:not() specificity hack)20.96 ms active(39.43 ms span)
cn (shadcn-ui) on Solid22.50 ms active(24.92 ms span)
Goober25.85 ms active(34.30 ms span)
tailwind-merge26.49 ms active(54.53 ms span)
styled-components28.96 ms active(55.51 ms span)
Emotion30.69 ms active(33.27 ms span)
Panda (style props)31.34 ms active(60.25 ms span)
@yak/solid (styled API, Solid 2)33.51 ms active(33.59 ms span)
StyleX on Solid37.67 ms active(37.71 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false39.64 ms active(44.45 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

vanilla Solid (hand-written ceiling)241 ms ±8%
vanilla (hand-written ceiling)261 ms ±5%
Plumeria on Solid267 ms ±2%
Panda (css fn)271 ms ±4%
@yak/react (css prop)275 ms ±7%
Bamboo275 ms ±5%
@yak/react (css prop) foldStatic: false284 ms ±5%
@yak/react (styled API)285 ms ±6%
Plumeria (classStyle prop)288 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false289 ms ±5%
@yak/react (styled API) foldStatic: false294 ms ±6%
StyleX without CSS layers (:not() specificity hack)296 ms ±7%
StyleX300 ms ±6%
@yak/solid (styled API, Solid 2)307 ms ±3%
styled-components311 ms ±7%
Goober317 ms ±6%
cn (shadcn-ui) on Solid317 ms ±10%
StyleX on Solid317 ms ±5%
Panda (style props)322 ms ±7%
Emotion340 ms ±5%
tailwind-merge341 ms ±6%
cn (shadcn-ui)346 ms ±8%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
vanilla Solid (hand-written ceiling)9.59 ms active(33.22 ms span · 33.22 ms profiled median (n=5))
Plumeria on Solid9.66 ms active(33.18 ms span · 33.18 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false9.71 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
vanilla (hand-written ceiling)10.01 ms active(32.53 ms span · 32.53 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false10.31 ms active(34.01 ms span · 34.01 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)10.46 ms active(34.09 ms span · 34.09 ms profiled median (n=5))
styled-components10.65 ms active(33.78 ms span · 33.78 ms profiled median (n=5))
Plumeria (classStyle prop)10.80 ms active(32.44 ms span · 32.44 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)10.81 ms active(33.20 ms span · 33.20 ms profiled median (n=5))
Bamboo10.88 ms active(32.24 ms span · 32.24 ms profiled median (n=5))
Panda (css fn)11.64 ms active(32.36 ms span · 32.36 ms profiled median (n=5))
@yak/react (css prop)11.66 ms active(32.54 ms span · 32.54 ms profiled median (n=5))
Emotion12.65 ms active(34.02 ms span · 34.02 ms profiled median (n=5))
@yak/react (styled API)12.74 ms active(32.48 ms span · 32.48 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false12.79 ms active(32.55 ms span · 32.55 ms profiled median (n=5))
StyleX on Solid13.30 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
cn (shadcn-ui) on Solid13.93 ms active(33.10 ms span · 33.10 ms profiled median (n=5))
Panda (style props)14.50 ms active(32.25 ms span · 32.25 ms profiled median (n=5))
StyleX15.56 ms active(32.16 ms span · 32.16 ms profiled median (n=5))
Goober15.88 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
cn (shadcn-ui)16.93 ms active(30.81 ms span · 30.81 ms profiled median (n=5))
tailwind-merge17.11 ms active(30.79 ms span · 30.79 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

vanilla (hand-written ceiling)97 ms ±3%
Bamboo97 ms ±5%
Plumeria (classStyle prop)100 ms ±3%
@yak/react (css prop)105 ms ±6%
Plumeria on Solid108 ms ±6%
vanilla Solid (hand-written ceiling)111 ms ±6%
@yak/react (styled API) foldStatic: false113 ms ±5%
@yak/react (styled API)114 ms ±4%
cn (shadcn-ui)117 ms ±4%
@yak/react (css prop) foldStatic: false120 ms ±3%
StyleX without CSS layers (:not() specificity hack)120 ms ±3%
Panda (css fn)124 ms ±4%
StyleX124 ms ±4%
tailwind-merge127 ms ±5%
cn (shadcn-ui) on Solid129 ms ±3%
styled-components171 ms ±4%
StyleX on Solid191 ms ±2%
Goober199 ms ±4%
Panda (style props)215 ms ±5%
@yak/solid (styled API, Solid 2)225 ms ±4%
Emotion226 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false230 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
vanilla Solid (hand-written ceiling)30.72 ms active(30.76 ms span)
Plumeria on Solid32.24 ms active(32.28 ms span)
vanilla (hand-written ceiling)35.85 ms active(50.56 ms span)
Bamboo37.59 ms active(51.48 ms span)
Plumeria (classStyle prop)38.88 ms active(47.91 ms span)
@yak/react (styled API)39.29 ms active(46.05 ms span)
@yak/react (styled API) foldStatic: false39.46 ms active(45.54 ms span)
@yak/react (css prop)40.07 ms active(54.42 ms span)
cn (shadcn-ui) on Solid40.09 ms active(40.13 ms span)
@yak/react (css prop) foldStatic: false44.35 ms active(49.52 ms span)
StyleX on Solid45.18 ms active(45.25 ms span)
StyleX without CSS layers (:not() specificity hack)45.78 ms active(57.64 ms span)
Panda (css fn)47.51 ms active(53.65 ms span)
StyleX47.67 ms active(52.50 ms span)
@yak/solid (styled API, Solid 2)48.10 ms active(48.14 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false48.93 ms active(49.11 ms span)
styled-components49.86 ms active(60.56 ms span)
tailwind-merge49.98 ms active(60.37 ms span)
Emotion52.25 ms active(60.14 ms span)
cn (shadcn-ui)53.16 ms active(62.90 ms span)
Panda (style props)56.53 ms active(63.32 ms span)
Goober56.71 ms active(63.18 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
@yak/solid (styled API, Solid 2) foldStatic: falseChrome16.7 ms1 recalc
Firefox12.0 ms
@yak/solid (styled API, Solid 2)Chrome17.0 ms1 recalc
Firefox12.0 ms
vanilla Solid (hand-written ceiling)Chrome15.8 ms1 recalc
Firefox11.0 ms
@yak/react (styled API)Chrome16.7 ms1 recalc
Firefox11.0 ms
@yak/react (css prop)Chrome16.8 ms1 recalc
Firefox11.0 ms
@yak/react (css prop) foldStatic: falseChrome16.2 ms1 recalc
Firefox11.0 ms
EmotionChrome16.8 ms1 recalc
Firefox11.0 ms
Plumeria (classStyle prop)Chrome17.5 ms1 recalc
Firefox13.5 ms
@yak/react (styled API) foldStatic: falseChrome16.2 ms1 recalc
Firefox11.0 ms
GooberChrome19.7 ms1 recalc
Firefox9.0 ms
vanilla (hand-written ceiling)Chrome16.2 ms1 recalc
Firefox10.0 ms
Plumeria on SolidChrome18.3 ms1 recalc
Firefox14.0 ms
styled-componentsChrome16.4 ms1 recalc
Firefox11.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome18.4 ms1 recalc
Firefox11.0 ms
StyleXChrome17.7 ms1 recalc
Firefox11.0 ms
Panda (style props)Chrome19.4 ms1 recalc
Firefox11.0 ms
StyleX on SolidChrome16.3 ms1 recalc
Firefox13.0 ms
Panda (css fn)Chrome18.2 ms1 recalc
Firefox13.0 ms
BambooChrome17.8 ms1 recalc
Firefox14.0 ms
tailwind-mergeChrome19.1 ms1 recalc
Firefox13.0 ms
cn (shadcn-ui)Chrome20.7 ms1 recalc
Firefox15.0 ms
cn (shadcn-ui) on SolidChrome21.1 ms1 recalc
Firefox15.3 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
@yak/react (css prop) foldStatic: false7,647 B(0.5 / 0.9 / 6.1 kB)
@yak/react (css prop)7,666 B(0.5 / 0.9 / 6.1 kB)
vanilla (hand-written ceiling)7,793 B(0.0 / 1.5 / 6.1 kB)
@yak/react (styled API)8,933 B(1.6 / 0.9 / 6.2 kB)
@yak/react (styled API) foldStatic: false9,023 B(1.7 / 0.9 / 6.2 kB)
vanilla Solid (hand-written ceiling)9,916 B(0.0 / 1.5 / 8.2 kB)
Plumeria (classStyle prop)11,281 B(1.1 / 1.4 / 8.5 kB)
Goober11,401 B(3.9 / 1.1 / 6.1 kB)
Plumeria on Solid13,084 B(0.5 / 1.4 / 10.9 kB)
StyleX without CSS layers (:not() specificity hack)14,065 B(3.5 / 1.5 / 8.7 kB)
StyleX14,109 B(3.5 / 1.5 / 8.8 kB)
Bamboo16,428 B(2.8 / 1.8 / 11.5 kB)
StyleX on Solid18,628 B(5.9 / 1.6 / 10.7 kB)
Emotion20,665 B(12.9 / 1.2 / 6.1 kB)
styled-components21,387 B(13.1 / 1.4 / 6.4 kB)
Panda (css fn)22,134 B(4.8 / 1.5 / 15.3 kB)
Panda (style props)26,665 B(9.2 / 1.5 / 15.3 kB)
tailwind-merge27,082 B(10.4 / 2.0 / 14.0 kB)
cn (shadcn-ui)29,620 B(12.9 / 2.0 / 14.0 kB)
@yak/solid (styled API, Solid 2) foldStatic: false30,708 B(6.5 / 0.9 / 22.6 kB)
@yak/solid (styled API, Solid 2)31,352 B(7.1 / 0.9 / 22.6 kB)
cn (shadcn-ui) on Solid31,874 B(12.4 / 2.0 / 16.7 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.048961441921005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
A real componentthe DenseButtonn = 1,000low cardinality

A real-project button with pseudo-states (:hover/:focus-visible/:active/:disabled), a 992px responsive flip, a ::before WCAG target-size, composed style fragments and an icon child — rendered 1,000×. Not a toy 4-class button: this is what real buttons cost.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)1,514,227 r/s ±10%(0.26 ms / 1k elems)
cn (shadcn-ui) on Solid1,423,433 r/s ±10%(0.28 ms / 1k elems)
Plumeria on Solid1,418,158 r/s ±10%(0.28 ms / 1k elems)
@yak/solid (styled API, Solid 2)1,400,868 r/s ±8%(0.29 ms / 1k elems)
StyleX on Solid804,546 r/s ±4%(0.50 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)631,740 r/s ±5%(0.63 ms / 1k elems)
@yak/react (css prop)621,253 r/s ±2%(0.64 ms / 1k elems)
Bamboo618,682 r/s ±2%(0.65 ms / 1k elems)
@yak/react (styled API)583,408 r/s ±2%(0.69 ms / 1k elems)
StyleX570,935 r/s ±5%(0.70 ms / 1k elems)
@yak/react (css prop) foldStatic: false486,306 r/s ±9%(0.82 ms / 1k elems)
vanilla (hand-written ceiling)481,702 r/s ±2%(0.83 ms / 1k elems)
@yak/react (styled API) foldStatic: false469,029 r/s ±2%(0.85 ms / 1k elems)
Plumeria (classStyle prop)467,857 r/s ±4%(0.85 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false456,589 r/s ±4%(0.88 ms / 1k elems)
cn (shadcn-ui)441,073 r/s ±8%(0.91 ms / 1k elems)
tailwind-merge291,391 r/s ±2%(1.37 ms / 1k elems)
Panda (css fn)264,473 r/s ±4%(1.51 ms / 1k elems)
styled-components153,110 r/s ±1%(2.61 ms / 1k elems)
Goober152,410 r/s ±1%(2.62 ms / 1k elems)
Emotion103,525 r/s ±1%(3.86 ms / 1k elems)
Panda (style props)90,919 r/s ±2%(4.40 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)771 req/s ±1%
vanilla Solid (hand-written ceiling)751 req/s ±1%
Plumeria on Solid539 req/s ±1%
@yak/react (styled API)450 req/s ±0%
@yak/react (css prop)448 req/s ±1%
cn (shadcn-ui) on Solid438 req/s ±1%
StyleX on Solid422 req/s ±1%
@yak/react (css prop) foldStatic: false388 req/s ±0%
vanilla (hand-written ceiling)380 req/s ±2%
@yak/react (styled API) foldStatic: false374 req/s ±1%
StyleX without CSS layers (:not() specificity hack)369 req/s ±0%
StyleX369 req/s ±1%
@yak/solid (styled API, Solid 2) foldStatic: false367 req/s ±0%
Bamboo350 req/s ±1%
Plumeria (classStyle prop)325 req/s ±1%
cn (shadcn-ui)270 req/s ±0%
tailwind-merge207 req/s ±1%
Panda (css fn)161 req/s ±1%
styled-components148 req/s ±0%
Goober144 req/s ±0%
Emotion116 req/s ±0%
Panda (style props)77 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
cn (shadcn-ui) on Solid1.18 ms
vanilla Solid (hand-written ceiling)1.20 ms
Plumeria on Solid1.31 ms
@yak/solid (styled API, Solid 2)1.44 ms
Bamboo1.86 ms
StyleX1.93 ms
@yak/react (styled API)1.93 ms
@yak/react (css prop)2.00 ms
Plumeria (classStyle prop)2.20 ms
StyleX on Solid2.22 ms
vanilla (hand-written ceiling)2.32 ms
@yak/react (styled API) foldStatic: false2.37 ms
StyleX without CSS layers (:not() specificity hack)2.47 ms
@yak/solid (styled API, Solid 2) foldStatic: false2.49 ms
@yak/react (css prop) foldStatic: false2.61 ms
cn (shadcn-ui)2.66 ms
tailwind-merge3.77 ms
Panda (css fn)4.75 ms
styled-components7.53 ms
Goober7.65 ms
Emotion9.44 ms
Panda (style props)13.04 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

vanilla (hand-written ceiling)68 ms ±4%
Bamboo69 ms ±4%
StyleX69 ms ±6%
@yak/react (styled API)70 ms ±5%
Plumeria (classStyle prop)70 ms ±5%
@yak/react (css prop)70 ms ±4%
StyleX without CSS layers (:not() specificity hack)70 ms ±3%
Panda (css fn)72 ms ±3%
@yak/react (styled API) foldStatic: false73 ms ±3%
@yak/react (css prop) foldStatic: false78 ms ±4%
cn (shadcn-ui)86 ms ±4%
tailwind-merge96 ms ±4%
styled-components105 ms ±5%
Goober108 ms ±5%
Plumeria on Solid119 ms ±4%
@yak/solid (styled API, Solid 2)120 ms ±2%
vanilla Solid (hand-written ceiling)121 ms ±6%
StyleX on Solid131 ms ±1%
Emotion132 ms ±3%
cn (shadcn-ui) on Solid134 ms ±6%
Panda (style props)136 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false208 ms ±3%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/react (css prop)11.41 ms active(34.06 ms span)
Bamboo11.46 ms active(23.26 ms span)
Plumeria on Solid11.52 ms active(18.05 ms span)
vanilla (hand-written ceiling)11.66 ms active(30.41 ms span)
StyleX11.82 ms active(35.16 ms span)
Plumeria (classStyle prop)11.83 ms active(22.22 ms span)
StyleX without CSS layers (:not() specificity hack)12.58 ms active(33.29 ms span)
@yak/react (css prop) foldStatic: false12.64 ms active(30.51 ms span)
StyleX on Solid12.65 ms active(12.67 ms span)
Panda (css fn)12.91 ms active(29.42 ms span)
styled-components13.28 ms active(29.44 ms span)
vanilla Solid (hand-written ceiling)14.00 ms active(23.69 ms span)
@yak/solid (styled API, Solid 2)14.07 ms active(14.10 ms span)
@yak/react (styled API)14.37 ms active(32.03 ms span)
@yak/react (styled API) foldStatic: false14.94 ms active(38.51 ms span)
Goober15.23 ms active(33.42 ms span)
Emotion15.92 ms active(30.18 ms span)
cn (shadcn-ui) on Solid15.95 ms active(39.39 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false16.22 ms active(33.19 ms span)
cn (shadcn-ui)19.64 ms active(28.33 ms span)
Panda (style props)23.20 ms active(31.00 ms span)
tailwind-merge24.43 ms active(27.99 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

@yak/react (styled API) foldStatic: false236 ms ±3%
@yak/react (css prop)239 ms ±6%
@yak/solid (styled API, Solid 2)239 ms ±8%
vanilla Solid (hand-written ceiling)242 ms ±7%
@yak/react (styled API)246 ms ±8%
@yak/react (css prop) foldStatic: false252 ms ±6%
vanilla (hand-written ceiling)253 ms ±8%
cn (shadcn-ui)256 ms ±1%
cn (shadcn-ui) on Solid257 ms ±4%
Panda (css fn)263 ms ±6%
Goober266 ms ±6%
styled-components268 ms ±11%
Plumeria on Solid271 ms ±5%
StyleX on Solid272 ms ±4%
StyleX274 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false275 ms ±5%
Bamboo277 ms ±8%
tailwind-merge279 ms ±5%
Plumeria (classStyle prop)280 ms ±5%
Emotion286 ms ±6%
Panda (style props)300 ms ±4%
StyleX without CSS layers (:not() specificity hack)302 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
styled-components3.67 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/react (styled API)3.70 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
StyleX on Solid3.71 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
@yak/react (css prop)3.83 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
tailwind-merge3.92 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Goober4.06 ms active(33.27 ms span · 33.27 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false4.14 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
StyleX4.18 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
cn (shadcn-ui) on Solid4.20 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Plumeria (classStyle prop)4.31 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Emotion4.34 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
Bamboo4.34 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Panda (style props)4.40 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
Plumeria on Solid4.55 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false4.55 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
vanilla (hand-written ceiling)4.60 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
cn (shadcn-ui)4.67 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
Panda (css fn)4.83 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)4.89 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)5.07 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)5.16 ms active(33.27 ms span · 33.27 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false5.61 ms active(33.29 ms span · 33.29 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

Bamboo83 ms ±3%
@yak/react (css prop)83 ms ±3%
vanilla (hand-written ceiling)85 ms ±3%
@yak/react (styled API)85 ms ±4%
StyleX86 ms ±3%
StyleX without CSS layers (:not() specificity hack)87 ms ±3%
Plumeria (classStyle prop)87 ms ±2%
Panda (css fn)90 ms ±2%
@yak/solid (styled API, Solid 2)91 ms ±3%
@yak/react (css prop) foldStatic: false93 ms ±3%
Plumeria on Solid94 ms ±4%
vanilla Solid (hand-written ceiling)94 ms ±5%
@yak/react (styled API) foldStatic: false94 ms ±5%
cn (shadcn-ui)98 ms ±4%
cn (shadcn-ui) on Solid110 ms ±2%
tailwind-merge112 ms ±4%
StyleX on Solid112 ms ±5%
styled-components130 ms ±2%
Goober131 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false151 ms ±3%
Panda (style props)158 ms ±3%
Emotion166 ms ±5%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)15.13 ms active(20.19 ms span)
vanilla Solid (hand-written ceiling)15.14 ms active(29.12 ms span)
Plumeria on Solid15.75 ms active(23.01 ms span)
StyleX on Solid17.10 ms active(22.83 ms span)
@yak/react (styled API) foldStatic: false19.05 ms active(30.91 ms span)
Bamboo19.60 ms active(40.51 ms span)
StyleX without CSS layers (:not() specificity hack)19.71 ms active(40.97 ms span)
Panda (css fn)19.83 ms active(35.32 ms span)
@yak/react (css prop)19.90 ms active(39.36 ms span)
Plumeria (classStyle prop)20.26 ms active(33.49 ms span)
@yak/react (css prop) foldStatic: false20.31 ms active(45.79 ms span)
cn (shadcn-ui) on Solid20.42 ms active(20.44 ms span)
vanilla (hand-written ceiling)21.32 ms active(39.09 ms span)
@yak/react (styled API)21.37 ms active(37.72 ms span)
StyleX21.60 ms active(42.81 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false22.58 ms active(22.62 ms span)
Goober25.16 ms active(37.22 ms span)
cn (shadcn-ui)26.04 ms active(50.95 ms span)
Panda (style props)26.56 ms active(47.83 ms span)
tailwind-merge29.16 ms active(51.62 ms span)
Emotion30.82 ms active(43.59 ms span)
styled-components32.27 ms active(52.36 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome5.6 ms1 recalc
Firefox2.0 ms
GooberChrome5.9 ms1 recalc
Firefox2.0 ms
@yak/react (styled API)Chrome6.7 ms1 recalc
Firefox2.0 ms
@yak/react (css prop)Chrome5.9 ms1 recalc
Firefox2.0 ms
Panda (style props)Chrome6.0 ms1 recalc
Firefox2.0 ms
styled-componentsChrome6.0 ms1 recalc
Firefox2.0 ms
tailwind-mergeChrome6.1 ms1 recalc
Firefox3.0 ms
vanilla (hand-written ceiling)Chrome6.7 ms1 recalc
Firefox2.0 ms
@yak/solid (styled API, Solid 2)Chrome5.5 ms1 recalc
Firefox2.0 ms
Plumeria (classStyle prop)Chrome6.1 ms1 recalc
Firefox2.0 ms
vanilla Solid (hand-written ceiling)Chrome5.7 ms1 recalc
Firefox3.0 ms
EmotionChrome5.6 ms1 recalc
Firefox3.0 ms
@yak/react (css prop) foldStatic: falseChrome5.9 ms1 recalc
Firefox3.0 ms
@yak/react (styled API) foldStatic: falseChrome5.4 ms1 recalc
Firefox3.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome5.9 ms1 recalc
Firefox3.0 ms
StyleXChrome5.9 ms1 recalc
Firefox3.0 ms
Plumeria on SolidChrome6.1 ms1 recalc
Firefox2.0 ms
StyleX on SolidChrome5.8 ms1 recalc
Firefox2.0 ms
cn (shadcn-ui) on SolidChrome6.1 ms1 recalc
Firefox3.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome5.9 ms1 recalc
Firefox3.0 ms
Panda (css fn)Chrome6.0 ms1 recalc
Firefox2.0 ms
cn (shadcn-ui)Chrome5.7 ms1 recalc
Firefox3.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)4,444 B(0.0 / 0.9 / 3.5 kB)
@yak/react (css prop) foldStatic: false4,451 B(0.5 / 0.5 / 3.4 kB)
@yak/react (css prop)4,473 B(0.5 / 0.5 / 3.4 kB)
@yak/react (styled API)5,471 B(1.6 / 0.5 / 3.2 kB)
@yak/react (styled API) foldStatic: false5,569 B(1.7 / 0.5 / 3.2 kB)
Plumeria (classStyle prop)7,541 B(1.1 / 0.8 / 5.4 kB)
Goober8,037 B(3.9 / 0.6 / 3.4 kB)
StyleX10,073 B(3.5 / 0.9 / 5.4 kB)
StyleX without CSS layers (:not() specificity hack)10,128 B(3.5 / 1.0 / 5.4 kB)
vanilla Solid (hand-written ceiling)10,730 B(0.0 / 0.9 / 9.6 kB)
Bamboo11,856 B(2.8 / 1.1 / 7.7 kB)
Plumeria on Solid13,367 B(0.5 / 0.8 / 11.7 kB)
@yak/solid (styled API, Solid 2) foldStatic: false16,731 B(6.5 / 0.5 / 9.3 kB)
Emotion17,156 B(12.9 / 0.6 / 3.2 kB)
Panda (css fn)17,427 B(4.8 / 1.0 / 11.3 kB)
styled-components17,439 B(13.1 / 0.6 / 3.3 kB)
@yak/solid (styled API, Solid 2)17,548 B(7.1 / 0.5 / 9.5 kB)
StyleX on Solid18,963 B(5.9 / 0.9 / 11.7 kB)
tailwind-merge21,733 B(10.4 / 1.3 / 9.5 kB)
Panda (style props)21,953 B(9.2 / 1.0 / 11.3 kB)
cn (shadcn-ui)24,271 B(12.9 / 1.3 / 9.5 kB)
cn (shadcn-ui) on Solid29,181 B(12.4 / 1.4 / 14.7 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.0112334451005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Button variantscomposed as style valuesn = 1,000low cardinality

A base button, a ghost override and a ghost-primary override, each exported from its own module as a style value and merged onto ONE element by the page. Every level overrides the last (background, border-colour, colour), so this measures conflict resolution, not concatenation: tailwind-merge re-parses the whole list, StyleX and the atomic compilers resolve it at build time, and the styled lanes serialise it once per class. Read against button-variants-nested, which ships the identical ladder as a JSX component API.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)5,386,509 r/s ±24%(0.19 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false3,606,112 r/s ±8%(0.28 ms / 1k elems)
Plumeria on Solid3,117,479 r/s ±8%(0.32 ms / 1k elems)
cn (shadcn-ui) on Solid2,255,519 r/s ±10%(0.44 ms / 1k elems)
vanilla Solid (hand-written ceiling)2,136,643 r/s ±9%(0.47 ms / 1k elems)
@yak/react (styled API)1,990,703 r/s ±3%(0.50 ms / 1k elems)
Bamboo1,620,756 r/s ±2%(0.62 ms / 1k elems)
@yak/react (css prop)1,587,357 r/s ±2%(0.63 ms / 1k elems)
vanilla (hand-written ceiling)1,447,054 r/s ±2%(0.69 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,437,678 r/s ±3%(0.70 ms / 1k elems)
Plumeria (classStyle prop)1,377,447 r/s ±8%(0.73 ms / 1k elems)
@yak/react (css prop) foldStatic: false1,230,859 r/s ±3%(0.81 ms / 1k elems)
StyleX on Solid1,120,196 r/s ±3%(0.89 ms / 1k elems)
StyleX989,787 r/s ±2%(1.01 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)974,428 r/s ±5%(1.03 ms / 1k elems)
Panda (css fn)913,388 r/s ±2%(1.09 ms / 1k elems)
tailwind-merge910,672 r/s ±3%(1.10 ms / 1k elems)
cn (shadcn-ui)893,191 r/s ±44%(1.12 ms / 1k elems)
Panda (style props)665,195 r/s ±1%(1.50 ms / 1k elems)
Goober473,177 r/s ±1%(2.11 ms / 1k elems)
styled-components381,447 r/s ±1%(2.62 ms / 1k elems)
Emotion226,484 r/s ±1%(4.42 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)3,591 req/s ±1%
@yak/solid (styled API, Solid 2) foldStatic: false2,681 req/s ±1%
@yak/react (styled API)1,755 req/s ±1%
vanilla Solid (hand-written ceiling)1,567 req/s ±1%
@yak/react (css prop)1,522 req/s ±0%
@yak/react (styled API) foldStatic: false1,491 req/s ±0%
Plumeria on Solid1,415 req/s ±1%
vanilla (hand-written ceiling)1,323 req/s ±0%
@yak/react (css prop) foldStatic: false1,262 req/s ±0%
cn (shadcn-ui) on Solid1,149 req/s ±1%
Plumeria (classStyle prop)1,054 req/s ±1%
cn (shadcn-ui)994 req/s ±1%
Bamboo948 req/s ±1%
StyleX777 req/s ±1%
StyleX without CSS layers (:not() specificity hack)771 req/s ±1%
StyleX on Solid762 req/s ±0%
tailwind-merge677 req/s ±0%
Panda (css fn)636 req/s ±3%
Panda (style props)564 req/s ±2%
Goober490 req/s ±0%
styled-components412 req/s ±1%
Emotion295 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
Plumeria on Solid0.51 ms
@yak/solid (styled API, Solid 2) foldStatic: false0.53 ms
@yak/solid (styled API, Solid 2)0.64 ms
@yak/react (styled API) foldStatic: false0.92 ms
@yak/react (css prop)0.94 ms
StyleX on Solid1.05 ms
cn (shadcn-ui) on Solid1.06 ms
Plumeria (classStyle prop)1.07 ms
vanilla (hand-written ceiling)1.08 ms
@yak/react (styled API)1.09 ms
vanilla Solid (hand-written ceiling)1.11 ms
@yak/react (css prop) foldStatic: false1.23 ms
Bamboo1.29 ms
Panda (style props)1.36 ms
cn (shadcn-ui)1.39 ms
StyleX1.49 ms
StyleX without CSS layers (:not() specificity hack)1.66 ms
Panda (css fn)1.85 ms
tailwind-merge2.00 ms
Goober2.28 ms
styled-components3.08 ms
Emotion4.46 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/react (styled API)47 ms ±3%
@yak/react (css prop)50 ms ±2%
Plumeria (classStyle prop)51 ms ±4%
Bamboo52 ms ±4%
vanilla (hand-written ceiling)52 ms ±2%
@yak/react (styled API) foldStatic: false53 ms ±4%
@yak/solid (styled API, Solid 2)54 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false57 ms ±4%
cn (shadcn-ui)58 ms ±4%
Plumeria on Solid58 ms ±3%
StyleX without CSS layers (:not() specificity hack)59 ms ±1%
StyleX59 ms ±2%
@yak/react (css prop) foldStatic: false59 ms ±5%
vanilla Solid (hand-written ceiling)63 ms ±5%
Panda (css fn)63 ms ±3%
styled-components66 ms ±3%
Goober67 ms ±2%
cn (shadcn-ui) on Solid69 ms ±3%
Panda (style props)74 ms ±3%
StyleX on Solid75 ms ±3%
tailwind-merge78 ms ±3%
Emotion86 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)6.86 ms active(25.49 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false6.88 ms active(19.89 ms span)
vanilla Solid (hand-written ceiling)7.60 ms active(25.93 ms span)
Plumeria on Solid8.62 ms active(25.47 ms span)
StyleX on Solid9.64 ms active(25.54 ms span)
cn (shadcn-ui) on Solid9.97 ms active(33.94 ms span)
Plumeria (classStyle prop)10.89 ms active(23.44 ms span)
@yak/react (css prop) foldStatic: false10.91 ms active(31.97 ms span)
vanilla (hand-written ceiling)10.94 ms active(35.05 ms span)
@yak/react (styled API) foldStatic: false10.96 ms active(24.54 ms span)
@yak/react (styled API)11.09 ms active(34.51 ms span)
StyleX11.15 ms active(37.31 ms span)
@yak/react (css prop)11.30 ms active(21.89 ms span)
Panda (css fn)11.43 ms active(35.73 ms span)
styled-components11.73 ms active(36.64 ms span)
Goober11.97 ms active(34.98 ms span)
Bamboo13.27 ms active(31.93 ms span)
StyleX without CSS layers (:not() specificity hack)14.00 ms active(32.34 ms span)
cn (shadcn-ui)16.35 ms active(34.80 ms span)
Emotion16.38 ms active(37.10 ms span)
Panda (style props)17.39 ms active(38.24 ms span)
tailwind-merge21.86 ms active(35.87 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

@yak/solid (styled API, Solid 2)54 ms ±1%
StyleX on Solid54 ms ±1%
Plumeria on Solid55 ms ±4%
cn (shadcn-ui) on Solid56 ms ±3%
vanilla Solid (hand-written ceiling)56 ms ±1%
@yak/react (styled API)56 ms ±4%
vanilla (hand-written ceiling)57 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false57 ms ±1%
Plumeria (classStyle prop)58 ms ±5%
Bamboo58 ms ±4%
Panda (css fn)58 ms ±4%
@yak/react (styled API) foldStatic: false58 ms ±2%
@yak/react (css prop)58 ms ±4%
@yak/react (css prop) foldStatic: false59 ms ±5%
tailwind-merge59 ms ±4%
cn (shadcn-ui)60 ms ±5%
Goober62 ms ±5%
StyleX62 ms ±5%
StyleX without CSS layers (:not() specificity hack)62 ms ±7%
styled-components63 ms ±1%
Panda (style props)63 ms ±3%
Emotion74 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)1.46 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
cn (shadcn-ui) on Solid1.48 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
Plumeria on Solid1.59 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)1.60 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
styled-components1.65 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
cn (shadcn-ui)1.67 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false1.70 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
StyleX1.82 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
Panda (style props)1.86 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.88 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (styled API)1.88 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false1.91 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
vanilla (hand-written ceiling)1.91 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
Panda (css fn)1.91 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Emotion2.02 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Plumeria (classStyle prop)2.02 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.15 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
Bamboo2.16 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
Goober2.43 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
StyleX on Solid2.48 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop)2.75 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
tailwind-merge2.84 ms active(33.36 ms span · 33.36 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2)32 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false37 ms ±4%
Plumeria on Solid39 ms ±4%
vanilla Solid (hand-written ceiling)41 ms ±2%
cn (shadcn-ui) on Solid49 ms ±3%
@yak/react (styled API)51 ms ±2%
Plumeria (classStyle prop)53 ms ±3%
Bamboo54 ms ±2%
@yak/react (css prop)55 ms ±3%
StyleX on Solid56 ms ±5%
@yak/react (styled API) foldStatic: false57 ms ±4%
vanilla (hand-written ceiling)57 ms ±3%
@yak/react (css prop) foldStatic: false59 ms ±4%
cn (shadcn-ui)63 ms ±5%
StyleX65 ms ±5%
Panda (css fn)65 ms ±3%
StyleX without CSS layers (:not() specificity hack)67 ms ±5%
Goober74 ms ±5%
Panda (style props)77 ms ±2%
styled-components78 ms ±5%
tailwind-merge80 ms ±5%
Emotion96 ms ±5%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)10.00 ms active(26.37 ms span)
Plumeria on Solid10.27 ms active(20.84 ms span)
vanilla Solid (hand-written ceiling)10.65 ms active(30.24 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false10.73 ms active(24.33 ms span)
StyleX on Solid11.87 ms active(30.68 ms span)
cn (shadcn-ui) on Solid12.91 ms active(14.25 ms span)
@yak/react (styled API)16.07 ms active(27.14 ms span)
@yak/react (css prop)16.35 ms active(39.24 ms span)
@yak/react (styled API) foldStatic: false16.52 ms active(33.10 ms span)
Plumeria (classStyle prop)16.55 ms active(40.89 ms span)
Panda (css fn)17.14 ms active(34.15 ms span)
@yak/react (css prop) foldStatic: false17.21 ms active(35.31 ms span)
Bamboo17.32 ms active(28.13 ms span)
StyleX17.32 ms active(38.46 ms span)
StyleX without CSS layers (:not() specificity hack)17.86 ms active(43.82 ms span)
Goober18.66 ms active(40.26 ms span)
vanilla (hand-written ceiling)19.47 ms active(45.98 ms span)
cn (shadcn-ui)19.77 ms active(34.10 ms span)
styled-components20.77 ms active(46.80 ms span)
Panda (style props)20.94 ms active(47.12 ms span)
Emotion22.79 ms active(35.37 ms span)
tailwind-merge30.96 ms active(50.45 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome5.3 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui)Chrome5.0 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome4.7 ms1 recalc
Firefox2.0 ms
EmotionChrome4.7 ms1 recalc
Firefox2.0 ms
GooberChrome4.6 ms1 recalc
Firefox2.0 ms
@yak/react (styled API)Chrome4.6 ms1 recalc
Firefox1.0 ms
@yak/react (css prop)Chrome4.6 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome4.9 ms1 recalc
Firefox1.0 ms
styled-componentsChrome4.8 ms1 recalc
Firefox1.0 ms
StyleXChrome4.6 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome4.5 ms1 recalc
Firefox1.0 ms
tailwind-mergeChrome5.2 ms1 recalc
Firefox1.0 ms
vanilla (hand-written ceiling)Chrome4.5 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome4.5 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome4.3 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.7 ms1 recalc
Firefox1.0 ms
Plumeria (classStyle prop)Chrome4.4 ms1 recalc
Firefox1.0 ms
@yak/react (styled API) foldStatic: falseChrome4.4 ms1 recalc
Firefox2.0 ms
Plumeria on SolidChrome4.2 ms1 recalc
Firefox2.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome4.4 ms1 recalc
Firefox2.0 ms
Panda (css fn)Chrome4.4 ms1 recalc
Firefox2.0 ms
Panda (style props)Chrome5.0 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)3,164 B(0.0 / 0.5 / 2.6 kB)
@yak/react (css prop) foldStatic: false3,235 B(0.5 / 0.2 / 2.5 kB)
@yak/react (css prop)3,251 B(0.5 / 0.2 / 2.5 kB)
@yak/react (styled API)4,391 B(1.6 / 0.2 / 2.5 kB)
@yak/react (styled API) foldStatic: false4,491 B(1.7 / 0.2 / 2.5 kB)
Plumeria (classStyle prop)4,563 B(1.1 / 0.3 / 3.1 kB)
vanilla Solid (hand-written ceiling)5,784 B(0.0 / 0.5 / 5.2 kB)
Bamboo6,660 B(2.8 / 0.4 / 3.3 kB)
Plumeria on Solid6,723 B(0.5 / 0.3 / 5.8 kB)
Goober6,805 B(3.9 / 0.2 / 2.6 kB)
StyleX without CSS layers (:not() specificity hack)7,013 B(3.5 / 0.3 / 3.0 kB)
StyleX7,014 B(3.5 / 0.3 / 3.0 kB)
Panda (css fn)8,702 B(4.8 / 0.3 / 3.4 kB)
@yak/solid (styled API, Solid 2) foldStatic: false11,907 B(6.5 / 0.2 / 4.9 kB)
StyleX on Solid12,247 B(5.9 / 0.3 / 5.8 kB)
@yak/solid (styled API, Solid 2)12,692 B(7.1 / 0.2 / 5.1 kB)
Panda (style props)13,229 B(9.2 / 0.3 / 3.4 kB)
tailwind-merge14,645 B(10.4 / 0.7 / 3.2 kB)
Emotion15,991 B(12.9 / 0.3 / 2.4 kB)
styled-components16,332 B(13.1 / 0.3 / 2.6 kB)
cn (shadcn-ui)17,183 B(12.9 / 0.7 / 3.2 kB)
cn (shadcn-ui) on Solid19,365 B(12.4 / 0.7 / 5.8 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.04.69.114181005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Button variantscomposed as JSX componentsn = 1,000low cardinality

The IDENTICAL ladder as button-variants — same declarations, same three modules, same rendered element — but each module exports a component instead of a style value: GhostPrimaryButton wraps GhostButton wraps Button. @yak/react collapses the chain at construction, so three levels stay one React element; the runtime and utility lanes render three components and re-merge at every level. The gap to button-variants is what the component API costs, with the file layout held constant. The @yak/react css-prop lanes have no cell here: the css prop resolves only top-scope values, so a style fragment cannot reach a component through a prop — that API composes fragments at build time or not at all.

Source · generated HTML · generated CSS · rendered preview

rendered preview

The css prop takes styles written in place. From the @yak/react docs: "Its value has to be styles written in place: a css template or an atoms() call and logical combinations of them" (Features, CSS Prop). The compiler folds those fragments onto the element where they are written and collapses them into one class on one host tag.

This case asks each module to export a component that extends the one below: GhostPrimaryButton wraps GhostButton wraps Button. A fragment cannot travel to another component through a prop, and one component cannot extend another, so the css prop has nothing to compose against. The styled API does that with styled(Button), which is the yak-react lane's cell. Merging class names at runtime would be a workaround rather than the primitive.

The same three declarations as style values are in button-variants, where this API composes the ladder onto one element.

The css prop takes styles written in place. From the @yak/react docs: "Its value has to be styles written in place: a css template or an atoms() call and logical combinations of them" (Features, CSS Prop). The compiler folds those fragments onto the element where they are written and collapses them into one class on one host tag.

This case asks each module to export a component that extends the one below: GhostPrimaryButton wraps GhostButton wraps Button. A fragment cannot travel to another component through a prop, and one component cannot extend another, so the css prop has nothing to compose against. The styled API does that with styled(Button), which is the yak-react lane's cell. Merging class names at runtime would be a workaround rather than the primitive.

The same three declarations as style values are in button-variants, where this API composes the ladder onto one element.

This case asks each module to export a component that extends the one below: GhostPrimaryButton wraps GhostButton wraps Button, each adding its own style and passing the accumulated styles down. Plumeria lets a style value cross one component boundary, but the receiving component has to apply it to an element; relaying a received classStyle to another component is a build error, because composition is resolved where the styles are written.

The same three declarations as style values are in button-variants, where classStyle composes the ladder onto one element. Joining class strings at runtime here would bypass Plumeria's conflict resolution, so the lane has no cell. Source: the lane author's note on the pull request.

This case asks each module to export a component that extends the one below: GhostPrimaryButton wraps GhostButton wraps Button, each adding its own style and passing the accumulated styles down. Plumeria lets a style value cross one component boundary, but the receiving component has to apply it to an element; relaying a received classStyle to another component is a build error, because composition is resolved where the styles are written.

The same three declarations as style values are in button-variants, where classStyle composes the ladder onto one element. Joining class strings at runtime here would bypass Plumeria's conflict resolution, so the lane has no cell. Source: the lane author's note on the pull request.

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)3,595,596 r/s ±8%(0.28 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false3,389,796 r/s ±33%(0.30 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,425,161 r/s ±2%(0.70 ms / 1k elems)
@yak/react (styled API)1,367,710 r/s ±2%(0.73 ms / 1k elems)
Bamboo1,138,667 r/s ±5%(0.88 ms / 1k elems)
vanilla (hand-written ceiling)1,070,911 r/s ±3%(0.93 ms / 1k elems)
cn (shadcn-ui)1,034,187 r/s ±6%(0.97 ms / 1k elems)
cn (shadcn-ui) on Solid950,108 r/s ±21%(1.05 ms / 1k elems)
vanilla Solid (hand-written ceiling)896,727 r/s ±9%(1.12 ms / 1k elems)
StyleX807,329 r/s ±8%(1.24 ms / 1k elems)
StyleX on Solid769,863 r/s ±6%(1.30 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)763,996 r/s ±3%(1.31 ms / 1k elems)
tailwind-merge641,638 r/s ±2%(1.56 ms / 1k elems)
Panda (style props)540,757 r/s ±2%(1.85 ms / 1k elems)
styled-components536,607 r/s ±1%(1.86 ms / 1k elems)
Panda (css fn)483,377 r/s ±3%(2.07 ms / 1k elems)
Goober379,020 r/s ±2%(2.64 ms / 1k elems)
Emotion256,923 r/s ±1%(3.89 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)2,655 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false2,630 req/s ±1%
@yak/react (styled API)1,485 req/s ±0%
@yak/react (styled API) foldStatic: false1,482 req/s ±1%
vanilla (hand-written ceiling)1,082 req/s ±1%
cn (shadcn-ui)796 req/s ±0%
vanilla Solid (hand-written ceiling)788 req/s ±1%
cn (shadcn-ui) on Solid736 req/s ±1%
Bamboo733 req/s ±0%
StyleX665 req/s ±1%
StyleX without CSS layers (:not() specificity hack)663 req/s ±1%
styled-components589 req/s ±2%
StyleX on Solid581 req/s ±1%
tailwind-merge529 req/s ±2%
Panda (style props)489 req/s ±0%
Goober416 req/s ±1%
Panda (css fn)403 req/s ±0%
Emotion320 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
@yak/solid (styled API, Solid 2) foldStatic: false0.35 ms
@yak/solid (styled API, Solid 2)0.48 ms
cn (shadcn-ui)1.02 ms
cn (shadcn-ui) on Solid1.06 ms
@yak/react (styled API)1.09 ms
@yak/react (styled API) foldStatic: false1.26 ms
StyleX without CSS layers (:not() specificity hack)1.38 ms
Bamboo1.45 ms
vanilla (hand-written ceiling)1.48 ms
StyleX1.53 ms
vanilla Solid (hand-written ceiling)1.79 ms
tailwind-merge1.87 ms
StyleX on Solid1.88 ms
Panda (style props)1.90 ms
Panda (css fn)2.17 ms
styled-components2.39 ms
Goober2.62 ms
Emotion3.61 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/solid (styled API, Solid 2)54 ms ±4%
@yak/react (styled API) foldStatic: false54 ms ±4%
@yak/react (styled API)54 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false55 ms ±2%
vanilla (hand-written ceiling)56 ms ±3%
Bamboo59 ms ±4%
StyleX without CSS layers (:not() specificity hack)63 ms ±4%
StyleX63 ms ±3%
styled-components65 ms ±4%
cn (shadcn-ui)66 ms ±2%
Panda (css fn)75 ms ±3%
cn (shadcn-ui) on Solid77 ms ±5%
Goober78 ms ±5%
Panda (style props)78 ms ±3%
StyleX on Solid81 ms ±3%
tailwind-merge82 ms ±3%
Emotion85 ms ±4%
vanilla Solid (hand-written ceiling)91 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)6.83 ms active(27.65 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false6.88 ms active(25.55 ms span)
vanilla Solid (hand-written ceiling)10.09 ms active(11.06 ms span)
cn (shadcn-ui) on Solid10.13 ms active(32.17 ms span)
vanilla (hand-written ceiling)10.95 ms active(32.82 ms span)
@yak/react (styled API)11.02 ms active(38.45 ms span)
Bamboo11.02 ms active(30.20 ms span)
@yak/react (styled API) foldStatic: false11.32 ms active(38.52 ms span)
StyleX without CSS layers (:not() specificity hack)11.45 ms active(34.27 ms span)
StyleX on Solid12.05 ms active(32.01 ms span)
Goober13.12 ms active(27.05 ms span)
cn (shadcn-ui)13.38 ms active(36.57 ms span)
styled-components14.12 ms active(30.69 ms span)
StyleX14.28 ms active(33.10 ms span)
Panda (style props)14.41 ms active(23.78 ms span)
Emotion14.45 ms active(27.10 ms span)
Panda (css fn)16.84 ms active(25.78 ms span)
tailwind-merge18.60 ms active(27.88 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

@yak/solid (styled API, Solid 2) foldStatic: false54 ms ±6%
@yak/solid (styled API, Solid 2)55 ms ±1%
cn (shadcn-ui) on Solid56 ms ±2%
@yak/react (styled API)56 ms ±4%
vanilla Solid (hand-written ceiling)57 ms ±2%
StyleX on Solid58 ms ±4%
@yak/react (styled API) foldStatic: false58 ms ±10%
cn (shadcn-ui)60 ms ±3%
Bamboo61 ms ±4%
vanilla (hand-written ceiling)61 ms ±6%
styled-components62 ms ±2%
tailwind-merge62 ms ±5%
Panda (style props)63 ms ±5%
StyleX without CSS layers (:not() specificity hack)63 ms ±5%
StyleX64 ms ±4%
Panda (css fn)66 ms ±5%
Goober72 ms ±3%
Emotion73 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
tailwind-merge1.44 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.52 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
cn (shadcn-ui)1.65 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Bamboo1.74 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
styled-components1.86 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false1.89 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.91 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
StyleX on Solid1.92 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
Goober1.95 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)1.98 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
@yak/react (styled API)2.03 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Panda (css fn)2.06 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)2.09 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
StyleX2.13 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
Panda (style props)2.23 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
vanilla (hand-written ceiling)2.40 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
cn (shadcn-ui) on Solid2.46 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Emotion2.58 ms active(33.34 ms span · 33.34 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2) foldStatic: false38 ms ±3%
@yak/solid (styled API, Solid 2)38 ms ±2%
cn (shadcn-ui) on Solid57 ms ±4%
@yak/react (styled API) foldStatic: false57 ms ±4%
@yak/react (styled API)58 ms ±3%
vanilla (hand-written ceiling)61 ms ±5%
vanilla Solid (hand-written ceiling)61 ms ±3%
StyleX on Solid62 ms ±3%
Bamboo64 ms ±3%
StyleX67 ms ±4%
StyleX without CSS layers (:not() specificity hack)67 ms ±4%
cn (shadcn-ui)68 ms ±4%
styled-components76 ms ±3%
Panda (css fn)81 ms ±4%
Panda (style props)83 ms ±3%
tailwind-merge84 ms ±5%
Goober85 ms ±4%
Emotion95 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)10.00 ms active(26.46 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false10.15 ms active(27.82 ms span)
vanilla Solid (hand-written ceiling)11.48 ms active(22.36 ms span)
StyleX on Solid12.34 ms active(20.47 ms span)
cn (shadcn-ui) on Solid13.48 ms active(22.92 ms span)
@yak/react (styled API) foldStatic: false16.57 ms active(31.62 ms span)
Bamboo17.34 ms active(37.67 ms span)
@yak/react (styled API)17.62 ms active(43.67 ms span)
vanilla (hand-written ceiling)17.88 ms active(40.77 ms span)
StyleX17.92 ms active(38.74 ms span)
Panda (css fn)19.07 ms active(32.14 ms span)
cn (shadcn-ui)19.96 ms active(32.32 ms span)
styled-components20.13 ms active(34.74 ms span)
Panda (style props)20.13 ms active(31.50 ms span)
StyleX without CSS layers (:not() specificity hack)20.83 ms active(35.12 ms span)
Goober22.53 ms active(44.16 ms span)
Emotion26.63 ms active(46.59 ms span)
tailwind-merge27.62 ms active(48.42 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome4.7 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui)Chrome4.6 ms1 recalc
Firefox1.0 ms
EmotionChrome4.9 ms1 recalc
Firefox2.0 ms
GooberChrome5.1 ms1 recalc
Firefox1.0 ms
@yak/react (styled API)Chrome4.6 ms1 recalc
Firefox2.0 ms
@yak/react (styled API) foldStatic: falseChrome4.8 ms1 recalc
Firefox1.0 ms
Panda (css fn)Chrome4.6 ms1 recalc
Firefox2.0 ms
Panda (style props)Chrome5.0 ms1 recalc
Firefox1.0 ms
styled-componentsChrome5.0 ms1 recalc
Firefox1.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome5.0 ms1 recalc
Firefox1.0 ms
StyleXChrome4.9 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome4.4 ms1 recalc
Firefox1.0 ms
tailwind-mergeChrome4.6 ms1 recalc
Firefox1.0 ms
vanilla (hand-written ceiling)Chrome5.2 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome4.6 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome4.3 ms1 recalc
Firefox2.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.4 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome4.5 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)3,164 B(0.0 / 0.5 / 2.6 kB)
@yak/react (styled API)4,575 B(1.6 / 0.2 / 2.6 kB)
@yak/react (styled API) foldStatic: false4,686 B(1.7 / 0.2 / 2.6 kB)
vanilla Solid (hand-written ceiling)5,954 B(0.0 / 0.5 / 5.4 kB)
Goober6,860 B(3.9 / 0.2 / 2.6 kB)
StyleX without CSS layers (:not() specificity hack)7,013 B(3.5 / 0.3 / 3.0 kB)
StyleX7,014 B(3.5 / 0.3 / 3.0 kB)
Bamboo7,141 B(2.8 / 0.5 / 3.7 kB)
Panda (css fn)8,702 B(4.8 / 0.3 / 3.4 kB)
StyleX on Solid12,247 B(5.9 / 0.3 / 5.8 kB)
@yak/solid (styled API, Solid 2) foldStatic: false12,252 B(6.5 / 0.2 / 5.2 kB)
@yak/solid (styled API, Solid 2)12,898 B(7.1 / 0.2 / 5.2 kB)
Panda (style props)13,229 B(9.2 / 0.3 / 3.4 kB)
tailwind-merge14,645 B(10.4 / 0.7 / 3.2 kB)
Emotion15,998 B(12.9 / 0.3 / 2.4 kB)
styled-components16,562 B(13.1 / 0.3 / 2.7 kB)
cn (shadcn-ui)17,183 B(12.9 / 0.7 / 3.2 kB)
cn (shadcn-ui) on Solid19,365 B(12.4 / 0.7 / 5.8 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.04.08.112161005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: false
A real Tabs component150 groupsn = 150low cardinality

A real design-system Tabs: responsive typography, the full active/hover/focus-visible/disabled state matrix, an animated active underline via CSS anchor positioning (with a per-tab ::after fallback gated on @supports), a ::before WCAG tap target, hidden-scrollbar overflow and a composed FullWidthTabs wrapper. Tailwind needs a ~40-token list per tab; @yak/react compiles it all at build time.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)153,472 r/s ±13%(0.81 ms / 1k elems)
cn (shadcn-ui) on Solid142,573 r/s ±8%(0.88 ms / 1k elems)
Plumeria on Solid129,843 r/s ±13%(0.96 ms / 1k elems)
Bamboo93,190 r/s ±2%(1.34 ms / 1k elems)
vanilla (hand-written ceiling)92,323 r/s ±4%(1.35 ms / 1k elems)
@yak/react (css prop)91,351 r/s ±2%(1.37 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)82,096 r/s ±5%(1.52 ms / 1k elems)
StyleX on Solid81,845 r/s ±7%(1.53 ms / 1k elems)
StyleX79,488 r/s ±5%(1.57 ms / 1k elems)
@yak/react (styled API)74,258 r/s ±3%(1.68 ms / 1k elems)
Plumeria (classStyle prop)73,263 r/s ±3%(1.71 ms / 1k elems)
@yak/solid (styled API, Solid 2)68,431 r/s ±7%(1.83 ms / 1k elems)
@yak/react (css prop) foldStatic: false68,070 r/s ±5%(1.84 ms / 1k elems)
@yak/react (styled API) foldStatic: false66,626 r/s ±3%(1.88 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false55,225 r/s ±3%(2.26 ms / 1k elems)
cn (shadcn-ui)54,326 r/s ±1%(2.30 ms / 1k elems)
tailwind-merge37,704 r/s ±1%(3.32 ms / 1k elems)
Goober27,716 r/s ±2%(4.51 ms / 1k elems)
Panda (css fn)27,490 r/s ±2%(4.55 ms / 1k elems)
styled-components23,277 r/s ±1%(5.37 ms / 1k elems)
Emotion15,594 r/s ±1%(8.02 ms / 1k elems)
Panda (style props)14,023 r/s ±3%(8.91 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

vanilla Solid (hand-written ceiling)730 req/s ±0%
vanilla (hand-written ceiling)497 req/s ±0%
Plumeria on Solid487 req/s ±0%
@yak/react (css prop)442 req/s ±1%
cn (shadcn-ui) on Solid388 req/s ±1%
@yak/react (styled API)385 req/s ±0%
@yak/solid (styled API, Solid 2)372 req/s ±0%
@yak/react (css prop) foldStatic: false371 req/s ±0%
StyleX on Solid366 req/s ±0%
StyleX without CSS layers (:not() specificity hack)361 req/s ±1%
StyleX356 req/s ±0%
@yak/react (styled API) foldStatic: false353 req/s ±1%
Bamboo342 req/s ±1%
Plumeria (classStyle prop)329 req/s ±1%
@yak/solid (styled API, Solid 2) foldStatic: false315 req/s ±0%
cn (shadcn-ui)221 req/s ±0%
tailwind-merge175 req/s ±0%
Goober172 req/s ±0%
styled-components141 req/s ±0%
Panda (css fn)132 req/s ±0%
Emotion115 req/s ±0%
Panda (style props)79 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
vanilla Solid (hand-written ceiling)1.25 ms
Plumeria on Solid1.81 ms
vanilla (hand-written ceiling)2.06 ms
Bamboo2.07 ms
@yak/react (css prop)2.15 ms
StyleX2.29 ms
StyleX on Solid2.33 ms
@yak/react (styled API)2.35 ms
cn (shadcn-ui) on Solid2.43 ms
@yak/react (styled API) foldStatic: false2.51 ms
@yak/react (css prop) foldStatic: false2.63 ms
@yak/solid (styled API, Solid 2)2.87 ms
cn (shadcn-ui)3.18 ms
@yak/solid (styled API, Solid 2) foldStatic: false3.42 ms
Plumeria (classStyle prop)3.77 ms
StyleX without CSS layers (:not() specificity hack)4.03 ms
tailwind-merge4.56 ms
Goober6.82 ms
Panda (css fn)7.15 ms
styled-components7.67 ms
Emotion9.88 ms
Panda (style props)13.72 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

vanilla (hand-written ceiling)55 ms ±2%
@yak/react (css prop)56 ms ±4%
Bamboo57 ms ±3%
StyleX without CSS layers (:not() specificity hack)58 ms ±3%
Plumeria (classStyle prop)58 ms ±2%
StyleX59 ms ±4%
@yak/react (styled API)60 ms ±2%
@yak/react (styled API) foldStatic: false65 ms ±4%
@yak/react (css prop) foldStatic: false67 ms ±3%
cn (shadcn-ui)72 ms ±4%
Panda (css fn)80 ms ±5%
tailwind-merge82 ms ±2%
vanilla Solid (hand-written ceiling)91 ms ±7%
Plumeria on Solid92 ms ±6%
styled-components94 ms ±2%
Goober98 ms ±4%
cn (shadcn-ui) on Solid105 ms ±5%
StyleX on Solid118 ms ±3%
Emotion130 ms ±4%
Panda (style props)135 ms ±5%
@yak/solid (styled API, Solid 2)164 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false208 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/react (css prop)15.73 ms active(44.56 ms span)
vanilla (hand-written ceiling)16.22 ms active(29.80 ms span)
@yak/react (styled API)17.06 ms active(39.28 ms span)
StyleX17.23 ms active(43.12 ms span)
StyleX without CSS layers (:not() specificity hack)17.36 ms active(41.22 ms span)
Bamboo17.45 ms active(45.84 ms span)
@yak/react (styled API) foldStatic: false18.91 ms active(33.42 ms span)
Plumeria (classStyle prop)19.69 ms active(45.15 ms span)
Panda (css fn)19.88 ms active(35.70 ms span)
cn (shadcn-ui)20.41 ms active(30.78 ms span)
vanilla Solid (hand-written ceiling)20.55 ms active(27.83 ms span)
Plumeria on Solid21.61 ms active(27.92 ms span)
@yak/react (css prop) foldStatic: false22.55 ms active(47.44 ms span)
tailwind-merge26.16 ms active(52.67 ms span)
cn (shadcn-ui) on Solid26.59 ms active(39.10 ms span)
styled-components28.61 ms active(55.87 ms span)
StyleX on Solid28.83 ms active(44.22 ms span)
Goober29.67 ms active(44.98 ms span)
Emotion32.75 ms active(48.87 ms span)
Panda (style props)34.73 ms active(36.70 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false42.00 ms active(49.46 ms span)
@yak/solid (styled API, Solid 2)42.87 ms active(46.03 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

StyleX149 ms ±7%
StyleX on Solid182 ms ±9%
StyleX without CSS layers (:not() specificity hack)188 ms ±5%
vanilla Solid (hand-written ceiling)241 ms ±8%
@yak/react (styled API)251 ms ±8%
@yak/react (styled API) foldStatic: false256 ms ±9%
@yak/solid (styled API, Solid 2)256 ms ±3%
@yak/react (css prop) foldStatic: false256 ms ±3%
@yak/react (css prop)263 ms ±8%
vanilla (hand-written ceiling)267 ms ±7%
Plumeria on Solid267 ms ±7%
Bamboo268 ms ±9%
@yak/solid (styled API, Solid 2) foldStatic: false269 ms ±8%
Panda (css fn)269 ms ±7%
styled-components269 ms ±7%
Goober270 ms ±8%
cn (shadcn-ui) on Solid277 ms ±5%
cn (shadcn-ui)284 ms ±7%
Plumeria (classStyle prop)284 ms ±9%
Panda (style props)290 ms ±3%
tailwind-merge297 ms ±6%
Emotion299 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
StyleX17.29 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)19.26 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
vanilla (hand-written ceiling)20.94 ms active(34.78 ms span · 34.78 ms profiled median (n=5))
@yak/react (css prop)22.19 ms active(34.23 ms span · 34.23 ms profiled median (n=5))
@yak/react (styled API)22.68 ms active(35.54 ms span · 35.54 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)24.65 ms active(33.26 ms span · 33.26 ms profiled median (n=5))
Bamboo25.04 ms active(32.80 ms span · 32.80 ms profiled median (n=5))
tailwind-merge25.11 ms active(35.48 ms span · 35.48 ms profiled median (n=5))
Panda (css fn)25.35 ms active(31.81 ms span · 31.81 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false25.47 ms active(34.67 ms span · 34.67 ms profiled median (n=5))
StyleX on Solid25.59 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false26.34 ms active(34.34 ms span · 34.34 ms profiled median (n=5))
Goober26.71 ms active(35.19 ms span · 35.19 ms profiled median (n=5))
Emotion26.79 ms active(34.85 ms span · 34.85 ms profiled median (n=5))
Panda (style props)27.61 ms active(35.76 ms span · 35.76 ms profiled median (n=5))
cn (shadcn-ui)28.92 ms active(36.08 ms span · 36.08 ms profiled median (n=5))
styled-components29.48 ms active(33.59 ms span · 33.59 ms profiled median (n=5))
Plumeria on Solid29.79 ms active(33.26 ms span · 33.26 ms profiled median (n=5))
Plumeria (classStyle prop)30.58 ms active(32.41 ms span · 32.41 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)30.77 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
cn (shadcn-ui) on Solid33.55 ms active(33.72 ms span · 33.72 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false34.40 ms active(49.76 ms span · 49.76 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/react (css prop)69 ms ±5%
vanilla Solid (hand-written ceiling)70 ms ±6%
Bamboo71 ms ±4%
vanilla (hand-written ceiling)72 ms ±6%
Plumeria (classStyle prop)74 ms ±4%
Plumeria on Solid75 ms ±5%
StyleX75 ms ±3%
@yak/react (styled API)76 ms ±4%
StyleX without CSS layers (:not() specificity hack)76 ms ±3%
@yak/react (css prop) foldStatic: false80 ms ±7%
@yak/react (styled API) foldStatic: false81 ms ±6%
cn (shadcn-ui) on Solid86 ms ±3%
cn (shadcn-ui)87 ms ±4%
Panda (css fn)94 ms ±4%
StyleX on Solid100 ms ±6%
tailwind-merge102 ms ±5%
Goober111 ms ±4%
styled-components129 ms ±5%
@yak/solid (styled API, Solid 2)146 ms ±5%
Emotion154 ms ±3%
Panda (style props)164 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false182 ms ±6%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
vanilla Solid (hand-written ceiling)34.63 ms active(35.36 ms span)
StyleX on Solid35.55 ms active(35.58 ms span)
StyleX36.24 ms active(37.44 ms span)
Plumeria on Solid37.29 ms active(37.31 ms span)
@yak/react (css prop)37.34 ms active(37.72 ms span)
vanilla (hand-written ceiling)37.76 ms active(50.77 ms span)
@yak/react (styled API)38.91 ms active(45.30 ms span)
StyleX without CSS layers (:not() specificity hack)39.56 ms active(46.53 ms span)
Bamboo41.20 ms active(48.85 ms span)
@yak/react (css prop) foldStatic: false43.15 ms active(55.42 ms span)
cn (shadcn-ui) on Solid43.58 ms active(43.61 ms span)
@yak/react (styled API) foldStatic: false46.10 ms active(53.13 ms span)
Panda (css fn)47.91 ms active(54.42 ms span)
cn (shadcn-ui)49.87 ms active(54.94 ms span)
Plumeria (classStyle prop)52.27 ms active(58.76 ms span)
tailwind-merge53.06 ms active(61.91 ms span)
Goober55.81 ms active(70.24 ms span)
Panda (style props)56.80 ms active(63.26 ms span)
Emotion56.81 ms active(60.95 ms span)
styled-components58.75 ms active(65.52 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false59.01 ms active(59.06 ms span)
@yak/solid (styled API, Solid 2)62.01 ms active(62.05 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
Plumeria on SolidChrome20.3 ms1 recalc
Firefox9.0 ms
StyleXChrome15.7 ms1 recalc
Firefox13.0 ms
@yak/react (css prop)Chrome17.4 ms1 recalc
Firefox14.0 ms
vanilla (hand-written ceiling)Chrome17.2 ms1 recalc
Firefox12.0 ms
StyleX on SolidChrome13.6 ms1 recalc
Firefox10.0 ms
styled-componentsChrome17.2 ms1 recalc
Firefox10.0 ms
BambooChrome18.8 ms1 recalc
Firefox15.0 ms
EmotionChrome18.3 ms1 recalc
Firefox12.0 ms
vanilla Solid (hand-written ceiling)Chrome16.7 ms1 recalc
Firefox13.2 ms
StyleX without CSS layers (:not() specificity hack)Chrome18.0 ms1 recalc
Firefox12.0 ms
@yak/react (styled API) foldStatic: falseChrome19.1 ms1 recalc
Firefox10.0 ms
@yak/solid (styled API, Solid 2)Chrome17.4 ms1 recalc
Firefox13.0 ms
@yak/react (css prop) foldStatic: falseChrome19.4 ms1 recalc
Firefox10.0 ms
GooberChrome22.6 ms1 recalc
Firefox13.0 ms
cn (shadcn-ui)Chrome22.3 ms1 recalc
Firefox15.0 ms
Plumeria (classStyle prop)Chrome26.0 ms1 recalc
Firefox14.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome17.3 ms1 recalc
Firefox10.0 ms
cn (shadcn-ui) on SolidChrome21.5 ms1 recalc
Firefox15.0 ms
tailwind-mergeChrome22.8 ms1 recalc
Firefox17.0 ms
@yak/react (styled API)Chrome17.5 ms1 recalc
Firefox11.0 ms
Panda (css fn)Chrome18.8 ms1 recalc
Firefox11.0 ms
Panda (style props)Chrome18.6 ms1 recalc
Firefox15.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)2,692 B(0.0 / 1.0 / 1.6 kB)
@yak/react (css prop) foldStatic: false2,856 B(0.5 / 0.6 / 1.7 kB)
@yak/react (css prop)2,872 B(0.5 / 0.6 / 1.7 kB)
@yak/react (styled API)4,008 B(1.6 / 0.6 / 1.7 kB)
@yak/react (styled API) foldStatic: false4,111 B(1.7 / 0.6 / 1.7 kB)
vanilla Solid (hand-written ceiling)5,089 B(0.0 / 1.0 / 3.9 kB)
Goober6,445 B(3.9 / 0.7 / 1.7 kB)
Plumeria (classStyle prop)7,607 B(1.1 / 1.1 / 5.2 kB)
StyleX9,095 B(3.5 / 0.9 / 4.5 kB)
StyleX without CSS layers (:not() specificity hack)9,170 B(3.5 / 1.0 / 4.5 kB)
Plumeria on Solid10,131 B(0.5 / 1.1 / 8.3 kB)
Bamboo11,007 B(2.8 / 1.5 / 6.4 kB)
@yak/solid (styled API, Solid 2)11,907 B(7.1 / 0.6 / 3.8 kB)
@yak/solid (styled API, Solid 2) foldStatic: false13,372 B(6.5 / 0.6 / 5.9 kB)
StyleX on Solid15,250 B(5.9 / 0.9 / 8.1 kB)
Emotion15,723 B(12.9 / 0.8 / 1.6 kB)
styled-components16,093 B(13.1 / 0.8 / 1.8 kB)
Panda (css fn)16,512 B(4.8 / 1.2 / 10.1 kB)
Panda (style props)21,376 B(9.2 / 1.2 / 10.5 kB)
tailwind-merge21,696 B(10.4 / 1.6 / 9.2 kB)
cn (shadcn-ui)24,234 B(12.9 / 1.6 / 9.2 kB)
cn (shadcn-ui) on Solid27,149 B(12.4 / 1.6 / 12.5 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.0871732603461005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Multi-file compositionimported styled primitivesn = 150low cardinality

The EXACT Tabs workload — identical DOM, identical CSS — but the styled primitives are moved to an imported parts.tsx module, the way a design system ships components. Per-module compile-time optimizations such as @yak/react's JSX folding cannot see across the module boundary, while runtime libraries do not care about file layout. Any gap between this case and tabs is the cost of that boundary.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)150,054 r/s ±14%(0.83 ms / 1k elems)
cn (shadcn-ui) on Solid138,960 r/s ±7%(0.90 ms / 1k elems)
Plumeria on Solid127,606 r/s ±12%(0.98 ms / 1k elems)
vanilla (hand-written ceiling)93,959 r/s ±2%(1.33 ms / 1k elems)
Bamboo91,102 r/s ±22%(1.37 ms / 1k elems)
@yak/react (css prop)85,260 r/s ±3%(1.47 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)82,627 r/s ±6%(1.51 ms / 1k elems)
StyleX79,560 r/s ±5%(1.57 ms / 1k elems)
StyleX on Solid78,770 r/s ±9%(1.59 ms / 1k elems)
@yak/react (styled API)73,302 r/s ±3%(1.71 ms / 1k elems)
@yak/react (styled API) foldStatic: false66,506 r/s ±2%(1.88 ms / 1k elems)
Plumeria (classStyle prop)66,407 r/s ±8%(1.88 ms / 1k elems)
@yak/react (css prop) foldStatic: false64,554 r/s ±5%(1.94 ms / 1k elems)
@yak/solid (styled API, Solid 2)64,270 r/s ±18%(1.94 ms / 1k elems)
cn (shadcn-ui)54,122 r/s ±2%(2.31 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false53,545 r/s ±10%(2.33 ms / 1k elems)
tailwind-merge37,866 r/s ±1%(3.30 ms / 1k elems)
Goober27,773 r/s ±2%(4.50 ms / 1k elems)
Panda (css fn)27,051 r/s ±1%(4.62 ms / 1k elems)
styled-components23,493 r/s ±1%(5.32 ms / 1k elems)
Emotion15,522 r/s ±1%(8.05 ms / 1k elems)
Panda (style props)14,053 r/s ±3%(8.89 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

vanilla Solid (hand-written ceiling)735 req/s ±1%
vanilla (hand-written ceiling)505 req/s ±0%
Plumeria on Solid487 req/s ±1%
@yak/react (css prop)419 req/s ±2%
cn (shadcn-ui) on Solid391 req/s ±1%
@yak/react (styled API)368 req/s ±1%
@yak/solid (styled API, Solid 2)368 req/s ±1%
StyleX on Solid367 req/s ±0%
StyleX without CSS layers (:not() specificity hack)360 req/s ±0%
StyleX360 req/s ±1%
@yak/react (css prop) foldStatic: false356 req/s ±0%
Bamboo351 req/s ±0%
@yak/react (styled API) foldStatic: false350 req/s ±0%
Plumeria (classStyle prop)330 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false315 req/s ±0%
cn (shadcn-ui)219 req/s ±1%
tailwind-merge176 req/s ±0%
Goober172 req/s ±0%
styled-components141 req/s ±0%
Panda (css fn)132 req/s ±0%
Emotion116 req/s ±1%
Panda (style props)78 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
Plumeria on Solid1.63 ms
cn (shadcn-ui) on Solid1.75 ms
StyleX1.99 ms
StyleX without CSS layers (:not() specificity hack)2.03 ms
@yak/react (css prop)2.04 ms
vanilla (hand-written ceiling)2.07 ms
vanilla Solid (hand-written ceiling)2.07 ms
Plumeria (classStyle prop)2.22 ms
@yak/react (styled API)2.31 ms
StyleX on Solid2.36 ms
@yak/react (styled API) foldStatic: false2.52 ms
Bamboo2.77 ms
@yak/solid (styled API, Solid 2)2.87 ms
@yak/react (css prop) foldStatic: false2.88 ms
cn (shadcn-ui)3.51 ms
@yak/solid (styled API, Solid 2) foldStatic: false3.67 ms
tailwind-merge4.62 ms
Goober6.13 ms
Panda (css fn)6.37 ms
styled-components7.75 ms
Emotion10.06 ms
Panda (style props)13.41 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

vanilla (hand-written ceiling)56 ms ±3%
StyleX57 ms ±2%
Plumeria (classStyle prop)57 ms ±3%
Bamboo57 ms ±4%
@yak/react (css prop)58 ms ±3%
StyleX without CSS layers (:not() specificity hack)58 ms ±4%
@yak/react (styled API)62 ms ±5%
@yak/react (styled API) foldStatic: false64 ms ±5%
@yak/react (css prop) foldStatic: false70 ms ±4%
cn (shadcn-ui)71 ms ±3%
Panda (css fn)79 ms ±4%
tailwind-merge82 ms ±2%
vanilla Solid (hand-written ceiling)91 ms ±4%
Plumeria on Solid92 ms ±3%
styled-components93 ms ±2%
Goober95 ms ±2%
cn (shadcn-ui) on Solid106 ms ±4%
StyleX on Solid119 ms ±6%
Emotion128 ms ±3%
Panda (style props)132 ms ±2%
@yak/solid (styled API, Solid 2)165 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false207 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
StyleX without CSS layers (:not() specificity hack)15.20 ms active(37.02 ms span)
StyleX15.82 ms active(31.58 ms span)
@yak/react (css prop)16.67 ms active(45.41 ms span)
Bamboo17.07 ms active(35.32 ms span)
Plumeria (classStyle prop)17.11 ms active(36.37 ms span)
vanilla (hand-written ceiling)17.24 ms active(35.28 ms span)
@yak/react (styled API)17.77 ms active(35.75 ms span)
@yak/react (styled API) foldStatic: false18.90 ms active(41.93 ms span)
vanilla Solid (hand-written ceiling)20.21 ms active(33.33 ms span)
@yak/react (css prop) foldStatic: false20.94 ms active(33.59 ms span)
Plumeria on Solid21.33 ms active(26.18 ms span)
cn (shadcn-ui)21.77 ms active(35.17 ms span)
cn (shadcn-ui) on Solid23.89 ms active(38.19 ms span)
Panda (css fn)24.53 ms active(34.20 ms span)
styled-components26.25 ms active(33.75 ms span)
StyleX on Solid28.01 ms active(39.47 ms span)
Goober28.65 ms active(56.08 ms span)
tailwind-merge30.60 ms active(55.15 ms span)
Panda (style props)34.91 ms active(56.46 ms span)
Emotion37.30 ms active(53.19 ms span)
@yak/solid (styled API, Solid 2)39.43 ms active(45.18 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false42.55 ms active(57.37 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

StyleX139 ms ±9%
StyleX without CSS layers (:not() specificity hack)177 ms ±6%
StyleX on Solid186 ms ±6%
@yak/react (css prop)243 ms ±6%
@yak/react (styled API)247 ms ±12%
vanilla Solid (hand-written ceiling)254 ms ±5%
@yak/react (css prop) foldStatic: false256 ms ±5%
@yak/react (styled API) foldStatic: false257 ms ±4%
vanilla (hand-written ceiling)258 ms ±2%
cn (shadcn-ui) on Solid262 ms ±3%
Plumeria on Solid263 ms ±9%
Goober264 ms ±10%
@yak/solid (styled API, Solid 2)266 ms ±8%
Panda (css fn)268 ms ±8%
Bamboo274 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false284 ms ±9%
tailwind-merge286 ms ±7%
styled-components287 ms ±6%
cn (shadcn-ui)299 ms ±4%
Plumeria (classStyle prop)306 ms ±12%
Panda (style props)308 ms ±3%
Emotion310 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
StyleX18.46 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)20.38 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
StyleX on Solid21.93 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (css prop)21.98 ms active(34.29 ms span · 34.29 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false22.51 ms active(34.97 ms span · 34.97 ms profiled median (n=5))
vanilla (hand-written ceiling)22.89 ms active(35.27 ms span · 35.27 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false24.08 ms active(33.96 ms span · 33.96 ms profiled median (n=5))
@yak/react (styled API)24.30 ms active(34.60 ms span · 34.60 ms profiled median (n=5))
Panda (css fn)24.49 ms active(31.34 ms span · 31.34 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)25.81 ms active(33.22 ms span · 33.22 ms profiled median (n=5))
Goober26.93 ms active(34.94 ms span · 34.94 ms profiled median (n=5))
cn (shadcn-ui)28.93 ms active(35.03 ms span · 35.03 ms profiled median (n=5))
tailwind-merge28.95 ms active(34.89 ms span · 34.89 ms profiled median (n=5))
Plumeria (classStyle prop)29.04 ms active(34.54 ms span · 34.54 ms profiled median (n=5))
Bamboo29.64 ms active(35.15 ms span · 35.15 ms profiled median (n=5))
styled-components29.91 ms active(32.27 ms span · 32.27 ms profiled median (n=5))
Panda (style props)30.42 ms active(35.72 ms span · 35.72 ms profiled median (n=5))
Emotion31.07 ms active(34.47 ms span · 34.47 ms profiled median (n=5))
cn (shadcn-ui) on Solid31.15 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
Plumeria on Solid31.59 ms active(33.19 ms span · 33.19 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)36.39 ms active(49.71 ms span · 49.71 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false37.47 ms active(49.73 ms span · 49.73 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

vanilla (hand-written ceiling)71 ms ±3%
vanilla Solid (hand-written ceiling)73 ms ±5%
Bamboo73 ms ±5%
@yak/react (styled API)74 ms ±4%
@yak/react (css prop)74 ms ±5%
Plumeria (classStyle prop)74 ms ±3%
Plumeria on Solid75 ms ±6%
StyleX without CSS layers (:not() specificity hack)75 ms ±5%
StyleX76 ms ±6%
@yak/react (styled API) foldStatic: false79 ms ±3%
cn (shadcn-ui) on Solid85 ms ±5%
cn (shadcn-ui)86 ms ±5%
@yak/react (css prop) foldStatic: false86 ms ±5%
Panda (css fn)94 ms ±3%
StyleX on Solid99 ms ±3%
tailwind-merge103 ms ±4%
Goober117 ms ±5%
styled-components123 ms ±4%
@yak/solid (styled API, Solid 2)149 ms ±6%
Panda (style props)152 ms ±2%
Emotion158 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false176 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
vanilla Solid (hand-written ceiling)34.01 ms active(34.03 ms span)
StyleX on Solid36.86 ms active(36.88 ms span)
StyleX37.53 ms active(44.37 ms span)
Plumeria on Solid37.79 ms active(37.85 ms span)
StyleX without CSS layers (:not() specificity hack)38.42 ms active(49.02 ms span)
vanilla (hand-written ceiling)38.57 ms active(48.74 ms span)
@yak/react (styled API)38.76 ms active(44.54 ms span)
@yak/react (css prop)41.32 ms active(47.73 ms span)
@yak/react (styled API) foldStatic: false43.87 ms active(49.83 ms span)
Bamboo44.41 ms active(56.79 ms span)
@yak/react (css prop) foldStatic: false44.66 ms active(55.80 ms span)
cn (shadcn-ui) on Solid45.83 ms active(45.88 ms span)
Panda (css fn)46.38 ms active(58.33 ms span)
Plumeria (classStyle prop)51.96 ms active(62.72 ms span)
cn (shadcn-ui)53.60 ms active(55.73 ms span)
@yak/solid (styled API, Solid 2)54.03 ms active(54.06 ms span)
tailwind-merge56.02 ms active(63.96 ms span)
Goober57.45 ms active(71.49 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false58.92 ms active(58.95 ms span)
Panda (style props)59.66 ms active(66.05 ms span)
styled-components63.36 ms active(71.81 ms span)
Emotion65.48 ms active(77.99 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
@yak/react (styled API)Chrome17.3 ms1 recalc
Firefox9.0 ms
@yak/react (css prop) foldStatic: falseChrome20.1 ms1 recalc
Firefox11.0 ms
Panda (style props)Chrome19.1 ms1 recalc
Firefox10.0 ms
StyleXChrome14.9 ms1 recalc
Firefox10.0 ms
@yak/solid (styled API, Solid 2)Chrome17.8 ms1 recalc
Firefox13.0 ms
GooberChrome24.2 ms1 recalc
Firefox13.0 ms
@yak/react (styled API) foldStatic: falseChrome20.8 ms1 recalc
Firefox12.0 ms
@yak/react (css prop)Chrome19.6 ms1 recalc
Firefox12.0 ms
styled-componentsChrome23.5 ms1 recalc
Firefox10.0 ms
Plumeria (classStyle prop)Chrome27.6 ms1 recalc
Firefox14.0 ms
StyleX on SolidChrome15.5 ms1 recalc
Firefox12.0 ms
vanilla Solid (hand-written ceiling)Chrome16.7 ms1 recalc
Firefox10.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome18.0 ms1 recalc
Firefox12.0 ms
EmotionChrome18.7 ms1 recalc
Firefox10.0 ms
tailwind-mergeChrome22.8 ms1 recalc
Firefox13.0 ms
vanilla (hand-written ceiling)Chrome17.5 ms1 recalc
Firefox12.0 ms
BambooChrome20.1 ms1 recalc
Firefox12.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome17.0 ms1 recalc
Firefox13.0 ms
Panda (css fn)Chrome18.1 ms1 recalc
Firefox11.0 ms
cn (shadcn-ui) on SolidChrome21.3 ms1 recalc
Firefox16.0 ms
Plumeria on SolidChrome20.5 ms1 recalc
Firefox14.0 ms
cn (shadcn-ui)Chrome22.3 ms1 recalc
Firefox14.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)2,692 B(0.0 / 1.0 / 1.6 kB)
@yak/react (css prop) foldStatic: false2,856 B(0.5 / 0.6 / 1.7 kB)
@yak/react (css prop)2,873 B(0.5 / 0.6 / 1.7 kB)
@yak/react (styled API)4,013 B(1.6 / 0.6 / 1.7 kB)
@yak/react (styled API) foldStatic: false4,111 B(1.7 / 0.6 / 1.7 kB)
vanilla Solid (hand-written ceiling)5,089 B(0.0 / 1.0 / 3.9 kB)
Goober6,445 B(3.9 / 0.7 / 1.7 kB)
Plumeria (classStyle prop)7,607 B(1.1 / 1.1 / 5.2 kB)
StyleX9,095 B(3.5 / 0.9 / 4.5 kB)
StyleX without CSS layers (:not() specificity hack)9,170 B(3.5 / 1.0 / 4.5 kB)
Plumeria on Solid10,131 B(0.5 / 1.1 / 8.3 kB)
Bamboo11,007 B(2.8 / 1.5 / 6.4 kB)
@yak/solid (styled API, Solid 2)11,910 B(7.1 / 0.6 / 3.8 kB)
@yak/solid (styled API, Solid 2) foldStatic: false13,364 B(6.5 / 0.6 / 5.9 kB)
StyleX on Solid15,250 B(5.9 / 0.9 / 8.1 kB)
Emotion15,723 B(12.9 / 0.8 / 1.6 kB)
styled-components16,078 B(13.1 / 0.8 / 1.7 kB)
Panda (css fn)16,512 B(4.8 / 1.2 / 10.1 kB)
Panda (style props)21,376 B(9.2 / 1.2 / 10.5 kB)
tailwind-merge21,696 B(10.4 / 1.6 / 9.2 kB)
cn (shadcn-ui)24,234 B(12.9 / 1.6 / 9.2 kB)
cn (shadcn-ui) on Solid27,149 B(12.4 / 1.6 / 12.5 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.0871742603471005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Dynamic valuetranslateX (written directly)n = 1,000high cardinality

1,000 elements each with a unique translateX, a value no build step can know, such as a position from a database record or from a drag-and-drop interaction, written directly: it goes straight into the style declaration, the way each library's API takes it. styled-components emits a CSS rule per value, while @yak/react turns it into a CSS variable, so its per-instance work stays constant. The build-time lanes have no cell here: Tailwind's scanner, Panda's extractor and Bamboo's compiler resolve names ahead of time and emit no rule for a render-time value. Their working path, an inline style, is what dyn-fair measures.

Source · generated HTML · generated CSS · rendered preview

rendered preview

Bamboo resolves every css() object at build time to a class-string literal and rejects a value that exists only at render. The direct path this case measures, a translateX computed from the instance index inside css(), fails the build with css() — dynamic.

The library's author states the position and the intended path:

Bamboo intentionally does not handle dynamic styles and in rare cases where it has to be a runtime value delegates to style= or data- attributes.

Source: gajus, Bamboo's author, in issue #7. That style= path is what dyn-fair measures, and this lane takes part there.

Tailwind generates its CSS ahead of time by scanning source files for class names. From the docs: "The most important implication of how Tailwind extracts class names is that it will only find classes that exist as complete unbroken strings in your source files. If you use string interpolation or concatenate partial class names together, Tailwind will not find them and therefore will not generate the corresponding CSS" (Content configuration, Dynamic class names).

The direct path this case measures builds [transform:translateX(<i>px)] from the instance index at render, so the scanner never sees the class and the element ships without its transform. cn() still parses the string on every render, but no rule ever exists behind it. Making it work takes a safelist of every value, or running the JIT over the rendered output, which no production build does.

This lane's working path, a static utility plus an inline style for the value, is what dyn-fair measures, and this lane takes part there.

Tailwind generates its CSS ahead of time by scanning source files for class names. From the docs: "The most important implication of how Tailwind extracts class names is that it will only find classes that exist as complete unbroken strings in your source files. If you use string interpolation or concatenate partial class names together, Tailwind will not find them and therefore will not generate the corresponding CSS" (Content configuration, Dynamic class names).

The direct path this case measures builds [transform:translateX(<i>px)] from the instance index at render, so the scanner never sees the class and the element ships without its transform. cn() still parses the string on every render, but no rule ever exists behind it. Making it work takes a safelist of every value, or running the JIT over the rendered output, which no production build does.

This lane's working path, a static utility plus an inline style for the value, is what dyn-fair measures, and this lane takes part there.

Panda extracts styles at build time: css() resolves names for the declarations the extractor can read from the source and emits nothing for a value composed at render. A translateX built from the instance index yields a class with no rule behind it, so the direct path this case measures cannot be written with the primitive.

A Panda maintainer, asked about this cell:

Panda is build time and css() is mostly a name resolver; it doesn't generate a rule. Using translateX(${i}px) is pretty far outside what Panda's for.

Source: Adebesin Tolulope, Panda maintainer, in a direct message to the bench author, August 2026. The docs say the same: "We recommend that you avoid relying on runtime values for your styles. Consider using recipes, css variables or data-* attributes instead" (Dynamic styling). The inline-style path is what dyn-fair measures, and this lane takes part there.

Panda extracts styles at build time: a style prop resolves to a name for the declaration the extractor can read from the source and emits nothing for a value composed at render. A transform prop built from the instance index yields a class with no rule behind it, so the direct path this case measures cannot be written with the primitive.

A Panda maintainer, asked about this cell:

Panda is build time and css() is mostly a name resolver; it doesn't generate a rule. Using translateX(${i}px) is pretty far outside what Panda's for.

Source: Adebesin Tolulope, Panda maintainer, in a direct message to the bench author, August 2026. The docs say the same: "We recommend that you avoid relying on runtime values for your styles. Consider using recipes, css variables or data-* attributes instead" (Dynamic styling). The inline-style path is what dyn-fair measures, and this lane takes part there.

Tailwind generates its CSS ahead of time by scanning source files for class names. From the docs: "The most important implication of how Tailwind extracts class names is that it will only find classes that exist as complete unbroken strings in your source files. If you use string interpolation or concatenate partial class names together, Tailwind will not find them and therefore will not generate the corresponding CSS" (Content configuration, Dynamic class names).

The direct path this case measures builds [transform:translateX(<i>px)] from the instance index at render, so the scanner never sees the class and the element ships without its transform. cn() still parses the string on every render, but no rule ever exists behind it. Making it work takes a safelist of every value, or running the JIT over the rendered output, which no production build does.

This lane's working path, a static utility plus an inline style for the value, is what dyn-fair measures, and this lane takes part there.

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)2,285,829 r/s ±8%(0.44 ms / 1k elems)
Plumeria on Solid2,122,295 r/s ±7%(0.47 ms / 1k elems)
vanilla (hand-written ceiling)1,298,941 r/s ±1%(0.77 ms / 1k elems)
Plumeria (classStyle prop)1,182,297 r/s ±4%(0.85 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,128,500 r/s ±3%(0.89 ms / 1k elems)
@yak/react (styled API)1,093,190 r/s ±4%(0.91 ms / 1k elems)
@yak/solid (styled API, Solid 2)1,089,347 r/s ±10%(0.92 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false1,079,446 r/s ±1%(0.93 ms / 1k elems)
@yak/react (css prop)981,575 r/s ±5%(1.02 ms / 1k elems)
@yak/react (css prop) foldStatic: false949,828 r/s ±3%(1.05 ms / 1k elems)
StyleX on Solid808,369 r/s ±3%(1.24 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)799,853 r/s ±2%(1.25 ms / 1k elems)
StyleX794,407 r/s ±1%(1.26 ms / 1k elems)
Emotion231,703 r/s ±1%(4.32 ms / 1k elems)
styled-components176,943 r/s ±4%(5.65 ms / 1k elems)
Goober154,255 r/s ±2%(6.48 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

Plumeria on Solid1,648 req/s ±1%
vanilla Solid (hand-written ceiling)1,637 req/s ±0%
vanilla (hand-written ceiling)1,157 req/s ±2%
Plumeria (classStyle prop)1,155 req/s ±0%
@yak/react (styled API)1,129 req/s ±1%
@yak/react (styled API) foldStatic: false1,124 req/s ±4%
@yak/solid (styled API, Solid 2)1,072 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false1,062 req/s ±1%
@yak/react (css prop)948 req/s ±1%
@yak/react (css prop) foldStatic: false926 req/s ±1%
StyleX766 req/s ±1%
StyleX without CSS layers (:not() specificity hack)760 req/s ±1%
StyleX on Solid675 req/s ±1%
Emotion284 req/s ±0%
styled-components184 req/s ±0%
Goober153 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
Plumeria on Solid0.72 ms
@yak/react (css prop) foldStatic: false0.99 ms
@yak/solid (styled API, Solid 2) foldStatic: false1.01 ms
vanilla (hand-written ceiling)1.09 ms
vanilla Solid (hand-written ceiling)1.16 ms
@yak/react (css prop)1.22 ms
StyleX1.25 ms
@yak/react (styled API) foldStatic: false1.27 ms
@yak/react (styled API)1.36 ms
StyleX without CSS layers (:not() specificity hack)1.42 ms
@yak/solid (styled API, Solid 2)1.57 ms
Plumeria (classStyle prop)1.59 ms
StyleX on Solid1.64 ms
Emotion4.49 ms
styled-components7.10 ms
Goober8.41 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

vanilla (hand-written ceiling)52 ms ±3%
Plumeria (classStyle prop)53 ms ±4%
@yak/react (styled API) foldStatic: false56 ms ±3%
@yak/react (styled API)56 ms ±3%
@yak/react (css prop)61 ms ±4%
@yak/react (css prop) foldStatic: false61 ms ±4%
StyleX62 ms ±4%
vanilla Solid (hand-written ceiling)62 ms ±1%
Plumeria on Solid62 ms ±5%
StyleX without CSS layers (:not() specificity hack)63 ms ±4%
Emotion79 ms ±3%
styled-components81 ms ±3%
StyleX on Solid84 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false102 ms ±2%
@yak/solid (styled API, Solid 2)105 ms ±4%
Goober114 ms ±2%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria on Solid7.79 ms active(38.49 ms span)
vanilla Solid (hand-written ceiling)8.63 ms active(20.73 ms span)
StyleX on Solid9.93 ms active(36.47 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false10.80 ms active(18.26 ms span)
Plumeria (classStyle prop)10.87 ms active(34.50 ms span)
@yak/solid (styled API, Solid 2)11.12 ms active(24.52 ms span)
vanilla (hand-written ceiling)11.16 ms active(39.53 ms span)
@yak/react (styled API) foldStatic: false11.29 ms active(34.39 ms span)
@yak/react (css prop)11.32 ms active(33.34 ms span)
@yak/react (css prop) foldStatic: false11.42 ms active(31.46 ms span)
@yak/react (styled API)11.49 ms active(38.23 ms span)
StyleX without CSS layers (:not() specificity hack)11.76 ms active(33.13 ms span)
StyleX11.80 ms active(23.39 ms span)
Emotion12.81 ms active(32.57 ms span)
Goober13.74 ms active(33.98 ms span)
styled-components14.84 ms active(33.82 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

vanilla Solid (hand-written ceiling)54 ms ±4%
vanilla (hand-written ceiling)57 ms ±3%
Plumeria on Solid66 ms ±4%
@yak/react (styled API)66 ms ±8%
@yak/react (styled API) foldStatic: false66 ms ±9%
Plumeria (classStyle prop)67 ms ±10%
styled-components70 ms ±3%
@yak/react (css prop)70 ms ±10%
@yak/react (css prop) foldStatic: false71 ms ±10%
@yak/solid (styled API, Solid 2)73 ms ±7%
@yak/solid (styled API, Solid 2) foldStatic: false73 ms ±11%
Emotion77 ms ±5%
StyleX on Solid77 ms ±7%
StyleX78 ms ±10%
StyleX without CSS layers (:not() specificity hack)82 ms ±9%
Goober84 ms ±2%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/react (css prop)1.56 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Plumeria on Solid1.63 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.65 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
vanilla (hand-written ceiling)1.84 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.90 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)1.92 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
styled-components1.93 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
StyleX on Solid2.33 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (styled API)2.38 ms active(33.41 ms span · 33.41 ms profiled median (n=5))
StyleX2.43 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
Goober2.46 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.48 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Plumeria (classStyle prop)2.81 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Emotion3.06 ms active(33.27 ms span · 33.27 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false3.59 ms active(33.39 ms span · 33.39 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false5.75 ms active(33.28 ms span · 33.28 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

Plumeria on Solid47 ms ±6%
vanilla Solid (hand-written ceiling)47 ms ±5%
vanilla (hand-written ceiling)60 ms ±4%
Plumeria (classStyle prop)61 ms ±3%
@yak/react (styled API)61 ms ±2%
@yak/react (styled API) foldStatic: false64 ms ±5%
@yak/react (css prop)68 ms ±2%
StyleX without CSS layers (:not() specificity hack)70 ms ±3%
StyleX70 ms ±5%
StyleX on Solid70 ms ±4%
@yak/react (css prop) foldStatic: false71 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false84 ms ±3%
@yak/solid (styled API, Solid 2)86 ms ±5%
Emotion144 ms ±6%
styled-components145 ms ±2%
Goober2,261 ms ±1%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria on Solid8.96 ms active(24.24 ms span)
vanilla Solid (hand-written ceiling)9.28 ms active(25.43 ms span)
StyleX on Solid11.16 ms active(28.25 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false12.08 ms active(27.13 ms span)
@yak/solid (styled API, Solid 2)15.25 ms active(29.71 ms span)
StyleX without CSS layers (:not() specificity hack)15.49 ms active(32.78 ms span)
StyleX15.83 ms active(32.88 ms span)
@yak/react (styled API)15.92 ms active(28.95 ms span)
@yak/react (css prop)15.93 ms active(43.09 ms span)
@yak/react (css prop) foldStatic: false15.99 ms active(33.54 ms span)
@yak/react (styled API) foldStatic: false16.36 ms active(36.91 ms span)
vanilla (hand-written ceiling)17.32 ms active(40.49 ms span)
Plumeria (classStyle prop)18.04 ms active(42.76 ms span)
styled-components19.70 ms active(35.95 ms span)
Goober21.08 ms active(43.62 ms span)
Emotion21.22 ms active(35.62 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
@yak/react (css prop)Chrome3.1 ms1 recalc
Firefox1.0 ms
StyleXChrome2.9 ms1 recalc
Firefox0.0 ms
vanilla (hand-written ceiling)Chrome3.4 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome2.9 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome3.1 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome2.7 ms1 recalc
Firefox1.0 ms
Plumeria (classStyle prop)Chrome3.4 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome2.8 ms1 recalc
Firefox1.0 ms
@yak/react (styled API) foldStatic: falseChrome3.2 ms1 recalc
Firefox1.0 ms
EmotionChrome3.0 ms1 recalc
Firefox1.0 ms
styled-componentsChrome2.9 ms1 recalc
Firefox1.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome2.8 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome3.1 ms1 recalc
Firefox1.0 ms
Plumeria on SolidChrome2.9 ms1 recalc
Firefox1.0 ms
@yak/react (styled API)Chrome2.9 ms1 recalc
Firefox1.0 ms
GooberChrome3.1 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)5,502 B(0.0 / 0.3 / 5.0 kB)
@yak/react (css prop) foldStatic: false5,833 B(0.5 / 0.1 / 5.1 kB)
@yak/react (css prop)5,853 B(0.5 / 0.1 / 5.1 kB)
Plumeria (classStyle prop)6,776 B(1.1 / 0.1 / 5.4 kB)
@yak/react (styled API)6,893 B(1.6 / 0.1 / 5.0 kB)
@yak/react (styled API) foldStatic: false6,990 B(1.7 / 0.1 / 5.0 kB)
vanilla Solid (hand-written ceiling)8,278 B(0.0 / 0.3 / 7.8 kB)
Plumeria on Solid8,918 B(0.5 / 0.1 / 8.1 kB)
StyleX without CSS layers (:not() specificity hack)9,245 B(3.5 / 0.1 / 5.4 kB)
StyleX9,251 B(3.5 / 0.1 / 5.4 kB)
StyleX on Solid14,497 B(5.9 / 0.1 / 8.1 kB)
@yak/solid (styled API, Solid 2) foldStatic: false14,634 B(6.5 / 0.1 / 7.7 kB)
@yak/solid (styled API, Solid 2)15,281 B(7.1 / 0.1 / 7.7 kB)
Goober21,594 B(3.9 / 8.9 / 8.3 kB)
styled-components35,416 B(13.1 / 13.5 / 8.0 kB)
Emotion39,570 B(12.9 / 17.9 / 7.8 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.01062133194251005001,0002,0004,000
EmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsestyled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidvanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Dynamic valuetranslateX (each lane's best practice)n = 1,000high cardinality

The same 1,000-unique-translateX workload as the direct case, but idiomatic. The value is one no build step can know, such as a position from a database record or from a drag-and-drop interaction. Lanes whose styles are fixed at build time pass it as an inline style over a static class, their documented answer to such values; StyleX uses its dynamic style function. The yak-react lanes write the same plain inline style here for comparison only: their own path, the interpolation compiled to a CSS variable, is what dyn-translate measures, so the gap between the two cases for those lanes is what that path costs. Compare with dyn-translate to see what the direct pattern costs each ecosystem.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

vanilla Solid (hand-written ceiling)2,280,044 r/s ±5%(0.44 ms / 1k elems)
Plumeria on Solid2,211,020 r/s ±10%(0.45 ms / 1k elems)
@yak/solid (styled API, Solid 2)2,181,215 r/s ±7%(0.46 ms / 1k elems)
cn (shadcn-ui) on Solid1,718,054 r/s ±6%(0.58 ms / 1k elems)
@yak/react (styled API)1,326,820 r/s ±4%(0.75 ms / 1k elems)
vanilla (hand-written ceiling)1,297,135 r/s ±3%(0.77 ms / 1k elems)
tailwind-merge1,242,901 r/s ±6%(0.80 ms / 1k elems)
cn (shadcn-ui)1,232,666 r/s ±4%(0.81 ms / 1k elems)
@yak/react (css prop)1,223,050 r/s ±30%(0.82 ms / 1k elems)
Plumeria (classStyle prop)1,192,818 r/s ±6%(0.84 ms / 1k elems)
Bamboo1,174,109 r/s ±27%(0.85 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false1,111,714 r/s ±4%(0.90 ms / 1k elems)
@yak/react (css prop) foldStatic: false1,038,836 r/s ±5%(0.96 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,012,900 r/s ±2%(0.99 ms / 1k elems)
StyleX on Solid805,006 r/s ±5%(1.24 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)797,477 r/s ±4%(1.25 ms / 1k elems)
StyleX797,095 r/s ±2%(1.25 ms / 1k elems)
Panda (css fn)785,575 r/s ±5%(1.27 ms / 1k elems)
Goober645,387 r/s ±1%(1.55 ms / 1k elems)
styled-components527,493 r/s ±2%(1.90 ms / 1k elems)
Panda (style props)433,056 r/s ±1%(2.31 ms / 1k elems)
Emotion285,751 r/s ±1%(3.50 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

Plumeria on Solid1,652 req/s ±1%
vanilla Solid (hand-written ceiling)1,650 req/s ±1%
@yak/solid (styled API, Solid 2)1,639 req/s ±1%
cn (shadcn-ui) on Solid1,264 req/s ±0%
@yak/react (styled API)1,173 req/s ±1%
@yak/react (css prop)1,162 req/s ±1%
vanilla (hand-written ceiling)1,160 req/s ±1%
Plumeria (classStyle prop)1,134 req/s ±1%
cn (shadcn-ui)1,131 req/s ±2%
Bamboo1,127 req/s ±1%
tailwind-merge1,101 req/s ±3%
@yak/solid (styled API, Solid 2) foldStatic: false1,076 req/s ±0%
@yak/react (css prop) foldStatic: false979 req/s ±1%
@yak/react (styled API) foldStatic: false962 req/s ±1%
StyleX768 req/s ±1%
StyleX without CSS layers (:not() specificity hack)763 req/s ±1%
StyleX on Solid687 req/s ±1%
Panda (css fn)667 req/s ±0%
Goober657 req/s ±1%
styled-components525 req/s ±1%
Panda (style props)480 req/s ±1%
Emotion349 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
Plumeria on Solid0.64 ms
cn (shadcn-ui) on Solid0.83 ms
vanilla Solid (hand-written ceiling)1.03 ms
@yak/react (styled API)1.04 ms
@yak/solid (styled API, Solid 2)1.09 ms
@yak/react (css prop)1.15 ms
Bamboo1.19 ms
@yak/react (css prop) foldStatic: false1.20 ms
StyleX1.26 ms
@yak/solid (styled API, Solid 2) foldStatic: false1.31 ms
StyleX without CSS layers (:not() specificity hack)1.37 ms
tailwind-merge1.40 ms
vanilla (hand-written ceiling)1.46 ms
cn (shadcn-ui)1.58 ms
Plumeria (classStyle prop)1.62 ms
@yak/react (styled API) foldStatic: false1.71 ms
Goober1.74 ms
Panda (css fn)1.79 ms
styled-components1.97 ms
StyleX on Solid2.05 ms
Panda (style props)2.21 ms
Emotion3.17 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

Bamboo53 ms ±2%
@yak/react (css prop)53 ms ±4%
@yak/react (styled API)53 ms ±3%
vanilla (hand-written ceiling)54 ms ±4%
Plumeria (classStyle prop)54 ms ±3%
@yak/react (styled API) foldStatic: false55 ms ±4%
@yak/react (css prop) foldStatic: false57 ms ±3%
cn (shadcn-ui)57 ms ±2%
Panda (css fn)59 ms ±5%
StyleX60 ms ±5%
StyleX without CSS layers (:not() specificity hack)62 ms ±4%
vanilla Solid (hand-written ceiling)62 ms ±3%
@yak/solid (styled API, Solid 2)63 ms ±4%
Plumeria on Solid65 ms ±3%
Goober67 ms ±2%
cn (shadcn-ui) on Solid67 ms ±4%
styled-components70 ms ±3%
tailwind-merge73 ms ±2%
Panda (style props)77 ms ±2%
Emotion80 ms ±4%
StyleX on Solid81 ms ±2%
@yak/solid (styled API, Solid 2) foldStatic: false82 ms ±3%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)7.54 ms active(29.10 ms span)
vanilla Solid (hand-written ceiling)7.89 ms active(36.85 ms span)
Plumeria on Solid8.17 ms active(33.91 ms span)
cn (shadcn-ui) on Solid9.17 ms active(33.20 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false9.25 ms active(29.79 ms span)
StyleX on Solid9.61 ms active(30.34 ms span)
vanilla (hand-written ceiling)10.29 ms active(34.93 ms span)
Plumeria (classStyle prop)10.58 ms active(27.48 ms span)
StyleX11.20 ms active(34.72 ms span)
@yak/react (styled API) foldStatic: false11.20 ms active(28.00 ms span)
@yak/react (css prop)11.24 ms active(37.85 ms span)
@yak/react (css prop) foldStatic: false11.30 ms active(30.22 ms span)
StyleX without CSS layers (:not() specificity hack)11.64 ms active(41.22 ms span)
Goober12.05 ms active(28.51 ms span)
styled-components12.07 ms active(32.96 ms span)
Bamboo12.09 ms active(20.13 ms span)
cn (shadcn-ui)12.42 ms active(34.38 ms span)
Panda (css fn)12.53 ms active(34.36 ms span)
@yak/react (styled API)13.43 ms active(30.35 ms span)
Emotion13.55 ms active(31.39 ms span)
Panda (style props)16.24 ms active(31.58 ms span)
tailwind-merge21.49 ms active(36.13 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

vanilla Solid (hand-written ceiling)55 ms ±6%
Bamboo57 ms ±4%
@yak/react (css prop)58 ms ±3%
@yak/react (styled API) foldStatic: false58 ms ±6%
tailwind-merge59 ms ±5%
Panda (css fn)59 ms ±5%
@yak/react (styled API)59 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false59 ms ±4%
@yak/solid (styled API, Solid 2)60 ms ±4%
@yak/react (css prop) foldStatic: false61 ms ±3%
Goober63 ms ±3%
cn (shadcn-ui)64 ms ±8%
vanilla (hand-written ceiling)64 ms ±4%
Panda (style props)64 ms ±2%
styled-components65 ms ±2%
cn (shadcn-ui) on Solid66 ms ±4%
Plumeria on Solid69 ms ±5%
Plumeria (classStyle prop)72 ms ±10%
Emotion73 ms ±3%
StyleX without CSS layers (:not() specificity hack)77 ms ±11%
StyleX on Solid78 ms ±11%
StyleX78 ms ±15%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
tailwind-merge1.22 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.34 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.54 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
cn (shadcn-ui)1.61 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false1.64 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
cn (shadcn-ui) on Solid1.68 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Plumeria (classStyle prop)1.74 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
Goober1.77 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false1.78 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Panda (style props)1.81 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/react (styled API)1.92 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Bamboo1.95 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Emotion2.07 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/react (css prop)2.09 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
styled-components2.16 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.19 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Panda (css fn)2.28 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
StyleX2.32 ms active(33.25 ms span · 33.25 ms profiled median (n=5))
Plumeria on Solid2.39 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)2.51 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
StyleX on Solid2.65 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
vanilla (hand-written ceiling)2.72 ms active(33.33 ms span · 33.33 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

Plumeria on Solid47 ms ±2%
vanilla Solid (hand-written ceiling)47 ms ±3%
@yak/solid (styled API, Solid 2)49 ms ±5%
cn (shadcn-ui) on Solid55 ms ±3%
@yak/react (styled API)59 ms ±3%
@yak/react (css prop)59 ms ±4%
Plumeria (classStyle prop)60 ms ±3%
vanilla (hand-written ceiling)60 ms ±2%
Bamboo61 ms ±4%
@yak/react (styled API) foldStatic: false61 ms ±3%
cn (shadcn-ui)65 ms ±3%
Panda (css fn)65 ms ±2%
@yak/react (css prop) foldStatic: false66 ms ±4%
StyleX on Solid67 ms ±5%
StyleX without CSS layers (:not() specificity hack)70 ms ±6%
StyleX71 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false72 ms ±4%
Goober75 ms ±2%
styled-components78 ms ±5%
tailwind-merge81 ms ±2%
Panda (style props)84 ms ±3%
Emotion94 ms ±6%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria on Solid8.97 ms active(32.41 ms span)
vanilla Solid (hand-written ceiling)9.20 ms active(24.04 ms span)
@yak/solid (styled API, Solid 2)9.43 ms active(16.76 ms span)
StyleX on Solid10.72 ms active(18.60 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false10.72 ms active(18.33 ms span)
cn (shadcn-ui) on Solid10.91 ms active(22.62 ms span)
Plumeria (classStyle prop)15.16 ms active(41.20 ms span)
@yak/react (styled API) foldStatic: false15.54 ms active(41.21 ms span)
vanilla (hand-written ceiling)15.81 ms active(38.63 ms span)
@yak/react (css prop)15.83 ms active(41.08 ms span)
Panda (css fn)15.98 ms active(35.53 ms span)
@yak/react (styled API)16.06 ms active(34.53 ms span)
Bamboo16.13 ms active(40.17 ms span)
Goober16.16 ms active(30.84 ms span)
StyleX without CSS layers (:not() specificity hack)16.21 ms active(34.91 ms span)
@yak/react (css prop) foldStatic: false16.70 ms active(41.99 ms span)
StyleX16.71 ms active(44.33 ms span)
cn (shadcn-ui)16.92 ms active(34.09 ms span)
styled-components17.05 ms active(33.74 ms span)
Panda (style props)18.02 ms active(31.24 ms span)
Emotion18.19 ms active(32.90 ms span)
tailwind-merge26.94 ms active(37.25 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
cn (shadcn-ui)Chrome3.2 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome2.9 ms1 recalc
Firefox1.0 ms
@yak/react (css prop)Chrome3.3 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome3.2 ms1 recalc
Firefox0.0 ms
@yak/react (styled API) foldStatic: falseChrome2.8 ms1 recalc
Firefox1.0 ms
Panda (css fn)Chrome3.0 ms1 recalc
Firefox0.0 ms
Panda (style props)Chrome3.0 ms1 recalc
Firefox1.0 ms
styled-componentsChrome2.8 ms1 recalc
Firefox1.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome3.2 ms1 recalc
Firefox1.0 ms
StyleXChrome3.0 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome2.8 ms1 recalc
Firefox1.0 ms
vanilla (hand-written ceiling)Chrome3.0 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome2.7 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome3.0 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome2.8 ms1 recalc
Firefox0.0 ms
Plumeria (classStyle prop)Chrome2.7 ms1 recalc
Firefox0.0 ms
Plumeria on SolidChrome2.8 ms1 recalc
Firefox0.0 ms
BambooChrome2.8 ms1 recalc
Firefox2.0 ms
EmotionChrome2.9 ms1 recalc
Firefox2.0 ms
tailwind-mergeChrome3.5 ms1 recalc
Firefox1.0 ms
@yak/react (styled API)Chrome3.2 ms1 recalc
Firefox2.0 ms
GooberChrome2.7 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)5,502 B(0.0 / 0.3 / 5.0 kB)
@yak/react (css prop) foldStatic: false5,925 B(0.5 / 0.1 / 5.2 kB)
@yak/react (css prop)5,943 B(0.5 / 0.1 / 5.2 kB)
Plumeria (classStyle prop)6,776 B(1.1 / 0.1 / 5.4 kB)
@yak/react (styled API)7,083 B(1.6 / 0.1 / 5.2 kB)
@yak/react (styled API) foldStatic: false7,179 B(1.7 / 0.1 / 5.2 kB)
vanilla Solid (hand-written ceiling)8,278 B(0.0 / 0.3 / 7.8 kB)
Bamboo8,510 B(2.8 / 0.1 / 5.4 kB)
Plumeria on Solid8,918 B(0.5 / 0.1 / 8.1 kB)
StyleX without CSS layers (:not() specificity hack)9,245 B(3.5 / 0.1 / 5.4 kB)
StyleX9,251 B(3.5 / 0.1 / 5.4 kB)
Goober9,361 B(3.9 / 0.1 / 5.2 kB)
Panda (css fn)10,537 B(4.8 / 0.1 / 5.4 kB)
StyleX on Solid14,497 B(5.9 / 0.1 / 8.1 kB)
@yak/solid (styled API, Solid 2) foldStatic: false14,778 B(6.5 / 0.1 / 7.9 kB)
Panda (style props)15,224 B(9.2 / 0.1 / 5.5 kB)
@yak/solid (styled API, Solid 2)15,448 B(7.1 / 0.1 / 7.9 kB)
tailwind-merge16,443 B(10.4 / 0.5 / 5.2 kB)
Emotion18,596 B(12.9 / 0.1 / 5.2 kB)
styled-components18,887 B(13.1 / 0.1 / 5.2 kB)
cn (shadcn-ui)18,981 B(12.9 / 0.5 / 5.2 kB)
cn (shadcn-ui) on Solid21,417 B(12.4 / 0.5 / 8.0 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.03.97.812161005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Variant / state buttonn = 1,000low cardinality

A button rendered 1,000× cycling ~12 distinct class strings (variant × active × fullWidth). With so few repeated strings almost every cn() is a cache hit (nearly free), while wrapper-component libraries still run their machinery per instance — the case where a cached merger is hard to beat.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)3,004,176 r/s ±30%(0.33 ms / 1k elems)
Bamboo1,501,813 r/s ±14%(0.67 ms / 1k elems)
StyleX1,408,977 r/s ±24%(0.71 ms / 1k elems)
@yak/react (css prop)1,324,970 r/s ±25%(0.75 ms / 1k elems)
Panda (recipe)1,299,974 r/s ±30%(0.77 ms / 1k elems)
Plumeria on Solid1,279,715 r/s ±11%(0.78 ms / 1k elems)
vanilla (hand-written ceiling)1,279,370 r/s ±24%(0.78 ms / 1k elems)
vanilla Solid (hand-written ceiling)1,268,094 r/s ±13%(0.79 ms / 1k elems)
StyleX on Solid1,255,275 r/s ±13%(0.80 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)1,250,935 r/s ±29%(0.80 ms / 1k elems)
cn (shadcn-ui) on Solid1,104,666 r/s ±19%(0.91 ms / 1k elems)
Plumeria (classStyle prop)1,018,002 r/s ±23%(0.98 ms / 1k elems)
tailwind-merge993,649 r/s ±11%(1.01 ms / 1k elems)
@yak/react (styled API) foldStatic: false942,832 r/s ±31%(1.06 ms / 1k elems)
@yak/react (styled API)846,686 r/s ±15%(1.18 ms / 1k elems)
Panda (css fn)837,420 r/s ±11%(1.19 ms / 1k elems)
@yak/react (css prop) foldStatic: false784,877 r/s ±20%(1.27 ms / 1k elems)
cn (shadcn-ui)694,887 r/s ±55%(1.44 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false693,887 r/s ±25%(1.44 ms / 1k elems)
Panda (style props)417,003 r/s ±12%(2.40 ms / 1k elems)
styled-components396,685 r/s ±19%(2.52 ms / 1k elems)
Goober313,590 r/s ±23%(3.19 ms / 1k elems)
Emotion226,627 r/s ±3%(4.41 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)2,275 req/s ±1%
@yak/react (styled API)1,541 req/s ±0%
vanilla (hand-written ceiling)1,360 req/s ±1%
StyleX without CSS layers (:not() specificity hack)1,319 req/s ±1%
@yak/react (css prop)1,315 req/s ±1%
@yak/react (styled API) foldStatic: false1,280 req/s ±1%
StyleX1,273 req/s ±4%
Plumeria (classStyle prop)1,253 req/s ±1%
vanilla Solid (hand-written ceiling)1,114 req/s ±1%
StyleX on Solid1,034 req/s ±3%
Plumeria on Solid1,018 req/s ±1%
Bamboo1,011 req/s ±1%
cn (shadcn-ui)1,009 req/s ±1%
@yak/react (css prop) foldStatic: false883 req/s ±1%
Panda (recipe)845 req/s ±1%
cn (shadcn-ui) on Solid809 req/s ±0%
tailwind-merge793 req/s ±2%
@yak/solid (styled API, Solid 2) foldStatic: false748 req/s ±0%
Panda (css fn)669 req/s ±0%
styled-components449 req/s ±1%
Panda (style props)416 req/s ±0%
Goober399 req/s ±0%
Emotion315 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
@yak/solid (styled API, Solid 2)0.94 ms
vanilla Solid (hand-written ceiling)0.95 ms
Plumeria on Solid0.98 ms
StyleX on Solid1.04 ms
StyleX without CSS layers (:not() specificity hack)1.11 ms
Panda (recipe)1.18 ms
cn (shadcn-ui) on Solid1.20 ms
@yak/react (styled API) foldStatic: false1.23 ms
Plumeria (classStyle prop)1.23 ms
StyleX1.31 ms
Bamboo1.34 ms
cn (shadcn-ui)1.35 ms
@yak/solid (styled API, Solid 2) foldStatic: false1.36 ms
@yak/react (css prop) foldStatic: false1.37 ms
@yak/react (styled API)1.41 ms
vanilla (hand-written ceiling)1.44 ms
@yak/react (css prop)1.49 ms
tailwind-merge1.72 ms
Panda (css fn)1.85 ms
Panda (style props)2.78 ms
styled-components3.14 ms
Goober3.26 ms
Emotion3.76 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/react (styled API)48 ms ±2%
Bamboo53 ms ±2%
@yak/react (css prop)53 ms ±4%
StyleX54 ms ±2%
Plumeria (classStyle prop)54 ms ±4%
@yak/react (styled API) foldStatic: false55 ms ±4%
vanilla (hand-written ceiling)55 ms ±5%
StyleX without CSS layers (:not() specificity hack)56 ms ±4%
@yak/solid (styled API, Solid 2)62 ms ±3%
cn (shadcn-ui)62 ms ±2%
@yak/react (css prop) foldStatic: false62 ms ±2%
Panda (recipe)64 ms ±4%
vanilla Solid (hand-written ceiling)65 ms ±5%
Plumeria on Solid65 ms ±4%
Panda (css fn)67 ms ±4%
styled-components67 ms ±3%
StyleX on Solid73 ms ±2%
Goober75 ms ±3%
cn (shadcn-ui) on Solid76 ms ±2%
tailwind-merge77 ms ±2%
Panda (style props)84 ms ±3%
Emotion87 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false118 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)7.26 ms active(19.51 ms span)
vanilla Solid (hand-written ceiling)7.46 ms active(15.36 ms span)
StyleX on Solid9.04 ms active(16.19 ms span)
Plumeria on Solid9.89 ms active(15.35 ms span)
Plumeria (classStyle prop)10.64 ms active(32.83 ms span)
cn (shadcn-ui) on Solid10.75 ms active(20.41 ms span)
@yak/react (styled API) foldStatic: false10.83 ms active(31.01 ms span)
Bamboo10.88 ms active(31.30 ms span)
StyleX11.12 ms active(38.20 ms span)
StyleX without CSS layers (:not() specificity hack)11.33 ms active(42.82 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false11.76 ms active(22.02 ms span)
styled-components11.78 ms active(26.63 ms span)
vanilla (hand-written ceiling)11.91 ms active(34.08 ms span)
Panda (css fn)12.25 ms active(24.88 ms span)
@yak/react (styled API)12.84 ms active(31.36 ms span)
@yak/react (css prop)13.06 ms active(35.89 ms span)
Panda (recipe)13.21 ms active(35.02 ms span)
Emotion13.41 ms active(27.88 ms span)
cn (shadcn-ui)13.86 ms active(32.78 ms span)
@yak/react (css prop) foldStatic: false13.86 ms active(34.05 ms span)
Panda (style props)14.43 ms active(31.05 ms span)
Goober15.91 ms active(35.94 ms span)
tailwind-merge18.12 ms active(30.26 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

vanilla Solid (hand-written ceiling)65 ms ±2%
@yak/react (css prop)66 ms ±3%
@yak/react (styled API) foldStatic: false66 ms ±3%
@yak/react (styled API)67 ms ±2%
Panda (recipe)67 ms ±3%
vanilla (hand-written ceiling)68 ms ±2%
@yak/solid (styled API, Solid 2)68 ms ±5%
StyleX69 ms ±4%
@yak/react (css prop) foldStatic: false70 ms ±2%
cn (shadcn-ui) on Solid70 ms ±2%
cn (shadcn-ui)70 ms ±5%
Panda (css fn)71 ms ±3%
Plumeria (classStyle prop)71 ms ±5%
Bamboo71 ms ±7%
Plumeria on Solid72 ms ±3%
StyleX on Solid72 ms ±2%
StyleX without CSS layers (:not() specificity hack)73 ms ±5%
tailwind-merge73 ms ±5%
styled-components74 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false74 ms ±4%
Goober75 ms ±2%
Panda (style props)77 ms ±6%
Emotion82 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Panda (recipe)2.29 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (styled API)2.31 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
Emotion2.37 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
Plumeria (classStyle prop)2.38 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false2.38 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)2.39 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
StyleX2.40 ms active(33.39 ms span · 33.39 ms profiled median (n=5))
StyleX on Solid2.43 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
vanilla (hand-written ceiling)2.46 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
Plumeria on Solid2.63 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop)2.74 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false2.78 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)2.84 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Bamboo2.88 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false2.94 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
styled-components2.96 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
cn (shadcn-ui)2.99 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)3.18 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Panda (style props)3.18 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Panda (css fn)3.34 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
cn (shadcn-ui) on Solid3.49 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
tailwind-merge4.04 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Goober4.11 ms active(33.34 ms span · 33.34 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2)40 ms ±3%
vanilla Solid (hand-written ceiling)47 ms ±4%
Plumeria on Solid48 ms ±3%
@yak/react (styled API)52 ms ±4%
StyleX on Solid53 ms ±3%
@yak/react (css prop)56 ms ±2%
Bamboo56 ms ±3%
Plumeria (classStyle prop)56 ms ±4%
vanilla (hand-written ceiling)57 ms ±3%
cn (shadcn-ui) on Solid58 ms ±4%
StyleX58 ms ±2%
@yak/react (styled API) foldStatic: false58 ms ±4%
StyleX without CSS layers (:not() specificity hack)59 ms ±3%
cn (shadcn-ui)66 ms ±3%
@yak/react (css prop) foldStatic: false66 ms ±5%
Panda (recipe)67 ms ±3%
Panda (css fn)72 ms ±5%
styled-components80 ms ±4%
Goober81 ms ±5%
tailwind-merge84 ms ±3%
Panda (style props)87 ms ±6%
@yak/solid (styled API, Solid 2) foldStatic: false89 ms ±4%
Emotion99 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)11.17 ms active(28.19 ms span)
vanilla Solid (hand-written ceiling)11.40 ms active(28.89 ms span)
Plumeria on Solid11.86 ms active(17.86 ms span)
StyleX on Solid12.23 ms active(27.36 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false15.08 ms active(26.61 ms span)
cn (shadcn-ui) on Solid16.50 ms active(16.55 ms span)
StyleX without CSS layers (:not() specificity hack)16.81 ms active(41.23 ms span)
@yak/react (styled API)16.84 ms active(27.58 ms span)
@yak/react (css prop)17.12 ms active(41.59 ms span)
@yak/react (css prop) foldStatic: false17.40 ms active(33.02 ms span)
Plumeria (classStyle prop)18.84 ms active(36.45 ms span)
Goober19.24 ms active(46.51 ms span)
Panda (recipe)19.41 ms active(42.46 ms span)
cn (shadcn-ui)19.77 ms active(30.79 ms span)
vanilla (hand-written ceiling)19.83 ms active(40.20 ms span)
Panda (css fn)19.95 ms active(45.90 ms span)
@yak/react (styled API) foldStatic: false20.39 ms active(42.51 ms span)
StyleX20.47 ms active(36.52 ms span)
Bamboo21.15 ms active(36.55 ms span)
styled-components21.39 ms active(42.07 ms span)
Panda (style props)24.88 ms active(46.93 ms span)
Emotion27.36 ms active(50.05 ms span)
tailwind-merge27.64 ms active(46.64 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome5.9 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome5.4 ms1 recalc
Firefox1.0 ms
EmotionChrome4.5 ms1 recalc
Firefox2.0 ms
GooberChrome4.6 ms1 recalc
Firefox1.0 ms
@yak/react (styled API)Chrome4.7 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome4.9 ms1 recalc
Firefox2.0 ms
Panda (style props)Chrome5.1 ms1 recalc
Firefox2.0 ms
Panda (recipe)Chrome4.8 ms1 recalc
Firefox2.0 ms
styled-componentsChrome4.9 ms1 recalc
Firefox2.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome4.8 ms1 recalc
Firefox1.0 ms
StyleXChrome5.7 ms1 recalc
Firefox2.0 ms
StyleX on SolidChrome4.8 ms1 recalc
Firefox2.0 ms
tailwind-mergeChrome4.8 ms1 recalc
Firefox1.0 ms
vanilla (hand-written ceiling)Chrome5.1 ms1 recalc
Firefox2.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.8 ms1 recalc
Firefox1.0 ms
Plumeria (classStyle prop)Chrome5.0 ms1 recalc
Firefox2.0 ms
Plumeria on SolidChrome5.2 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome5.0 ms1 recalc
Firefox2.0 ms
cn (shadcn-ui)Chrome4.9 ms1 recalc
Firefox2.0 ms
Panda (css fn)Chrome5.3 ms1 recalc
Firefox2.0 ms
@yak/react (styled API) foldStatic: falseChrome5.1 ms1 recalc
Firefox2.0 ms
@yak/solid (styled API, Solid 2)Chrome5.1 ms1 recalc
Firefox2.0 ms
@yak/react (css prop)Chrome4.7 ms1 recalc
Firefox3.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)3,789 B(0.0 / 0.5 / 3.2 kB)
@yak/react (css prop) foldStatic: false3,888 B(0.5 / 0.2 / 3.1 kB)
@yak/react (css prop)3,905 B(0.5 / 0.2 / 3.1 kB)
@yak/react (styled API)5,049 B(1.6 / 0.2 / 3.1 kB)
@yak/react (styled API) foldStatic: false5,140 B(1.7 / 0.2 / 3.1 kB)
Plumeria (classStyle prop)5,512 B(1.1 / 0.3 / 4.0 kB)
vanilla Solid (hand-written ceiling)5,837 B(0.0 / 0.5 / 5.2 kB)
Panda (recipe)6,385 B(1.3 / 0.3 / 4.6 kB)
Plumeria on Solid6,609 B(0.5 / 0.3 / 5.7 kB)
Goober7,395 B(3.9 / 0.3 / 3.1 kB)
Bamboo7,949 B(2.8 / 0.4 / 4.5 kB)
StyleX7,988 B(3.5 / 0.3 / 4.0 kB)
StyleX without CSS layers (:not() specificity hack)7,996 B(3.5 / 0.3 / 4.0 kB)
Panda (css fn)9,958 B(4.8 / 0.3 / 4.6 kB)
@yak/solid (styled API, Solid 2) foldStatic: false12,084 B(6.5 / 0.2 / 5.1 kB)
StyleX on Solid12,389 B(5.9 / 0.3 / 5.9 kB)
@yak/solid (styled API, Solid 2)12,909 B(7.1 / 0.2 / 5.2 kB)
Panda (style props)14,485 B(9.2 / 0.3 / 4.6 kB)
tailwind-merge15,528 B(10.4 / 0.7 / 4.0 kB)
Emotion16,693 B(12.9 / 0.3 / 3.1 kB)
styled-components17,022 B(13.1 / 0.3 / 3.2 kB)
cn (shadcn-ui)18,066 B(12.9 / 0.7 / 4.0 kB)
cn (shadcn-ui) on Solid19,274 B(12.4 / 0.7 / 5.7 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.04.59.013181005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)Panda (recipe)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Composition1 level (control)n = 1,000low cardinality

The compose-3 button family at depth 1: one styled component carrying only the base styles, no wrapper chain. Brackets compose-3 from below (compose-6 brackets it from above) to chart how per-element cost grows with composition depth — the boundary that defeats @yak/react's JSX folding.

Source · generated HTML · generated CSS · rendered preview

rendered preview

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)5,617,409 r/s ±16%(0.18 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false3,785,484 r/s ±7%(0.26 ms / 1k elems)
vanilla Solid (hand-written ceiling)3,121,186 r/s ±9%(0.32 ms / 1k elems)
Plumeria on Solid3,075,050 r/s ±8%(0.33 ms / 1k elems)
StyleX on Solid3,065,613 r/s ±13%(0.33 ms / 1k elems)
cn (shadcn-ui) on Solid2,054,607 r/s ±6%(0.49 ms / 1k elems)
@yak/react (styled API)2,001,998 r/s ±3%(0.50 ms / 1k elems)
StyleX1,664,079 r/s ±2%(0.60 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)1,634,227 r/s ±2%(0.61 ms / 1k elems)
@yak/react (css prop)1,627,090 r/s ±3%(0.61 ms / 1k elems)
vanilla (hand-written ceiling)1,622,276 r/s ±3%(0.62 ms / 1k elems)
Bamboo1,586,123 r/s ±4%(0.63 ms / 1k elems)
tailwind-merge1,554,833 r/s ±4%(0.64 ms / 1k elems)
cn (shadcn-ui)1,506,730 r/s ±2%(0.66 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,453,161 r/s ±1%(0.69 ms / 1k elems)
Plumeria (classStyle prop)1,398,437 r/s ±11%(0.72 ms / 1k elems)
@yak/react (css prop) foldStatic: false1,264,752 r/s ±3%(0.79 ms / 1k elems)
Panda (css fn)886,859 r/s ±4%(1.13 ms / 1k elems)
Goober813,466 r/s ±1%(1.23 ms / 1k elems)
styled-components604,245 r/s ±2%(1.65 ms / 1k elems)
Panda (style props)523,088 r/s ±1%(1.91 ms / 1k elems)
Emotion321,545 r/s ±1%(3.11 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)3,560 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false2,651 req/s ±1%
vanilla Solid (hand-written ceiling)2,470 req/s ±1%
StyleX on Solid2,288 req/s ±1%
Plumeria on Solid2,267 req/s ±1%
@yak/react (styled API)1,753 req/s ±1%
cn (shadcn-ui) on Solid1,653 req/s ±2%
vanilla (hand-written ceiling)1,523 req/s ±0%
@yak/react (css prop)1,508 req/s ±0%
@yak/react (styled API) foldStatic: false1,486 req/s ±0%
StyleX1,474 req/s ±0%
StyleX without CSS layers (:not() specificity hack)1,467 req/s ±0%
Plumeria (classStyle prop)1,467 req/s ±0%
Bamboo1,427 req/s ±0%
cn (shadcn-ui)1,392 req/s ±0%
tailwind-merge1,353 req/s ±0%
@yak/react (css prop) foldStatic: false1,274 req/s ±1%
Goober876 req/s ±1%
styled-components662 req/s ±0%
Panda (css fn)619 req/s ±1%
Panda (style props)525 req/s ±1%
Emotion408 req/s ±1%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
@yak/solid (styled API, Solid 2) foldStatic: false0.62 ms
cn (shadcn-ui) on Solid0.64 ms
@yak/solid (styled API, Solid 2)0.67 ms
vanilla Solid (hand-written ceiling)0.77 ms
Plumeria on Solid0.81 ms
@yak/react (styled API)0.86 ms
Bamboo0.95 ms
vanilla (hand-written ceiling)0.95 ms
cn (shadcn-ui)1.00 ms
StyleX on Solid1.02 ms
@yak/react (css prop) foldStatic: false1.15 ms
@yak/react (styled API) foldStatic: false1.29 ms
@yak/react (css prop)1.32 ms
StyleX1.34 ms
StyleX without CSS layers (:not() specificity hack)1.35 ms
tailwind-merge1.40 ms
Plumeria (classStyle prop)1.40 ms
Panda (style props)1.67 ms
Goober1.77 ms
Panda (css fn)1.99 ms
styled-components2.55 ms
Emotion2.83 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/react (styled API)47 ms ±2%
Plumeria (classStyle prop)50 ms ±4%
vanilla (hand-written ceiling)50 ms ±4%
StyleX51 ms ±2%
@yak/react (css prop)51 ms ±2%
Bamboo51 ms ±4%
StyleX without CSS layers (:not() specificity hack)53 ms ±4%
@yak/solid (styled API, Solid 2)53 ms ±4%
@yak/react (styled API) foldStatic: false54 ms ±5%
@yak/solid (styled API, Solid 2) foldStatic: false54 ms ±2%
@yak/react (css prop) foldStatic: false57 ms ±3%
StyleX on Solid57 ms ±4%
Plumeria on Solid59 ms ±4%
cn (shadcn-ui)59 ms ±4%
vanilla Solid (hand-written ceiling)59 ms ±3%
Panda (css fn)60 ms ±4%
Goober64 ms ±2%
styled-components67 ms ±4%
cn (shadcn-ui) on Solid67 ms ±3%
tailwind-merge74 ms ±3%
Emotion77 ms ±4%
Panda (style props)77 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2) foldStatic: false6.96 ms active(25.94 ms span)
@yak/solid (styled API, Solid 2)7.00 ms active(23.65 ms span)
StyleX on Solid7.14 ms active(25.78 ms span)
vanilla Solid (hand-written ceiling)7.54 ms active(17.49 ms span)
Plumeria on Solid8.73 ms active(29.08 ms span)
cn (shadcn-ui) on Solid9.70 ms active(36.87 ms span)
StyleX without CSS layers (:not() specificity hack)10.41 ms active(28.75 ms span)
StyleX10.51 ms active(34.12 ms span)
@yak/react (styled API) foldStatic: false10.80 ms active(37.97 ms span)
@yak/react (styled API)10.93 ms active(35.61 ms span)
@yak/react (css prop)11.08 ms active(42.69 ms span)
Bamboo11.10 ms active(40.61 ms span)
vanilla (hand-written ceiling)11.29 ms active(22.57 ms span)
Plumeria (classStyle prop)11.32 ms active(42.85 ms span)
styled-components11.40 ms active(41.97 ms span)
@yak/react (css prop) foldStatic: false11.49 ms active(36.97 ms span)
Goober11.60 ms active(23.45 ms span)
cn (shadcn-ui)13.18 ms active(33.67 ms span)
Panda (css fn)13.72 ms active(30.20 ms span)
Emotion14.28 ms active(27.64 ms span)
Panda (style props)14.80 ms active(32.86 ms span)
tailwind-merge17.79 ms active(35.71 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

StyleX on Solid54 ms ±4%
vanilla Solid (hand-written ceiling)54 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false54 ms ±3%
cn (shadcn-ui) on Solid55 ms ±4%
@yak/solid (styled API, Solid 2)55 ms ±3%
@yak/react (styled API)56 ms ±6%
StyleX56 ms ±3%
@yak/react (css prop) foldStatic: false57 ms ±4%
Plumeria on Solid58 ms ±5%
Plumeria (classStyle prop)58 ms ±6%
@yak/react (styled API) foldStatic: false58 ms ±5%
Bamboo58 ms ±2%
StyleX without CSS layers (:not() specificity hack)58 ms ±4%
cn (shadcn-ui)59 ms ±3%
vanilla (hand-written ceiling)59 ms ±1%
Goober60 ms ±6%
Panda (css fn)60 ms ±1%
@yak/react (css prop)60 ms ±5%
tailwind-merge61 ms ±4%
Panda (style props)65 ms ±5%
styled-components66 ms ±4%
Emotion72 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
StyleX on Solid1.40 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false1.57 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
vanilla (hand-written ceiling)1.63 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
Emotion1.67 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.70 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.71 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Plumeria (classStyle prop)1.84 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)1.85 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/solid (styled API, Solid 2) foldStatic: false1.91 ms active(33.27 ms span · 33.27 ms profiled median (n=5))
StyleX1.97 ms active(33.43 ms span · 33.43 ms profiled median (n=5))
styled-components1.99 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
tailwind-merge2.00 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
Goober2.01 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
cn (shadcn-ui) on Solid2.04 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/react (styled API)2.04 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
@yak/react (css prop)2.07 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
Plumeria on Solid2.14 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Panda (css fn)2.30 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
Bamboo2.39 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
Panda (style props)2.43 ms active(33.33 ms span · 33.33 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.46 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
cn (shadcn-ui)3.47 ms active(33.27 ms span · 33.27 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2)32 ms ±6%
StyleX on Solid37 ms ±4%
Plumeria on Solid37 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false37 ms ±3%
vanilla Solid (hand-written ceiling)38 ms ±5%
cn (shadcn-ui) on Solid48 ms ±2%
@yak/react (styled API)53 ms ±5%
Plumeria (classStyle prop)53 ms ±3%
Bamboo54 ms ±4%
vanilla (hand-written ceiling)55 ms ±4%
StyleX without CSS layers (:not() specificity hack)55 ms ±5%
@yak/react (css prop)55 ms ±5%
StyleX56 ms ±3%
@yak/react (styled API) foldStatic: false58 ms ±5%
@yak/react (css prop) foldStatic: false59 ms ±4%
cn (shadcn-ui)60 ms ±3%
Panda (css fn)62 ms ±4%
Goober69 ms ±5%
styled-components74 ms ±5%
Panda (style props)79 ms ±8%
tailwind-merge79 ms ±2%
Emotion86 ms ±3%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
Plumeria on Solid10.33 ms active(15.31 ms span)
@yak/solid (styled API, Solid 2)10.35 ms active(19.12 ms span)
StyleX on Solid10.42 ms active(29.17 ms span)
vanilla Solid (hand-written ceiling)11.37 ms active(28.41 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false11.56 ms active(23.48 ms span)
cn (shadcn-ui) on Solid12.77 ms active(22.85 ms span)
StyleX without CSS layers (:not() specificity hack)16.43 ms active(33.58 ms span)
Plumeria (classStyle prop)16.67 ms active(33.27 ms span)
@yak/react (styled API) foldStatic: false16.95 ms active(36.32 ms span)
StyleX17.00 ms active(43.22 ms span)
@yak/react (css prop)17.34 ms active(33.42 ms span)
vanilla (hand-written ceiling)17.40 ms active(37.38 ms span)
Panda (css fn)17.55 ms active(34.55 ms span)
Goober17.79 ms active(32.42 ms span)
cn (shadcn-ui)18.59 ms active(31.80 ms span)
styled-components18.87 ms active(30.80 ms span)
@yak/react (css prop) foldStatic: false19.35 ms active(41.44 ms span)
Bamboo19.37 ms active(41.81 ms span)
@yak/react (styled API)19.59 ms active(44.86 ms span)
Panda (style props)19.76 ms active(39.70 ms span)
Emotion21.75 ms active(39.89 ms span)
tailwind-merge24.88 ms active(43.96 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome5.2 ms1 recalc
Firefox1.0 ms
EmotionChrome5.1 ms1 recalc
Firefox1.0 ms
@yak/react (styled API)Chrome4.9 ms1 recalc
Firefox2.0 ms
@yak/react (css prop)Chrome5.0 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome4.9 ms1 recalc
Firefox1.0 ms
@yak/react (styled API) foldStatic: falseChrome4.6 ms1 recalc
Firefox1.0 ms
Panda (css fn)Chrome5.1 ms1 recalc
Firefox1.0 ms
Panda (style props)Chrome4.5 ms1 recalc
Firefox2.0 ms
styled-componentsChrome4.6 ms1 recalc
Firefox1.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome4.7 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome4.7 ms1 recalc
Firefox2.0 ms
vanilla (hand-written ceiling)Chrome4.8 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome4.3 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome4.3 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.5 ms1 recalc
Firefox1.0 ms
Plumeria (classStyle prop)Chrome4.7 ms1 recalc
Firefox1.0 ms
Plumeria on SolidChrome4.4 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome4.5 ms1 recalc
Firefox2.0 ms
StyleXChrome4.7 ms1 recalc
Firefox2.0 ms
tailwind-mergeChrome4.7 ms1 recalc
Firefox2.0 ms
GooberChrome4.8 ms1 recalc
Firefox2.0 ms
cn (shadcn-ui)Chrome4.6 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)2,700 B(0.0 / 0.3 / 2.4 kB)
@yak/react (css prop) foldStatic: false3,179 B(0.5 / 0.1 / 2.5 kB)
@yak/react (css prop)3,197 B(0.5 / 0.1 / 2.5 kB)
Plumeria (classStyle prop)4,205 B(1.1 / 0.2 / 2.8 kB)
@yak/react (styled API)4,339 B(1.6 / 0.1 / 2.5 kB)
@yak/react (styled API) foldStatic: false4,438 B(1.7 / 0.1 / 2.5 kB)
vanilla Solid (hand-written ceiling)5,340 B(0.0 / 0.3 / 5.0 kB)
Plumeria on Solid5,999 B(0.5 / 0.2 / 5.2 kB)
Bamboo6,042 B(2.8 / 0.2 / 2.9 kB)
StyleX without CSS layers (:not() specificity hack)6,566 B(3.5 / 0.2 / 2.7 kB)
StyleX6,570 B(3.5 / 0.2 / 2.7 kB)
Goober6,730 B(3.9 / 0.1 / 2.6 kB)
Panda (css fn)8,251 B(4.8 / 0.2 / 3.1 kB)
StyleX on Solid11,584 B(5.9 / 0.2 / 5.2 kB)
@yak/solid (styled API, Solid 2) foldStatic: false11,855 B(6.5 / 0.1 / 4.9 kB)
@yak/solid (styled API, Solid 2)12,631 B(7.1 / 0.1 / 5.1 kB)
Panda (style props)12,778 B(9.2 / 0.2 / 3.1 kB)
tailwind-merge14,201 B(10.4 / 0.6 / 2.9 kB)
Emotion15,877 B(12.9 / 0.2 / 2.4 kB)
styled-components16,248 B(13.1 / 0.2 / 2.6 kB)
cn (shadcn-ui)16,739 B(12.9 / 0.6 / 2.9 kB)
cn (shadcn-ui) on Solid18,831 B(12.4 / 0.6 / 5.4 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.03.36.59.8131005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: falsePlumeria (classStyle prop)Plumeria on Solid
Composed components (3 levels)n = 1,000low cardinality

A Button wrapped by two more components, each adding styles and threading className down. @yak/react flattens the chain at build time (depth ≈ free); the Tailwind lanes pay one merge per level and styled-components/Emotion run a wrapper component at each.

Source · generated HTML · generated CSS · rendered preview

rendered preview

This case is a wrapper chain: each of three levels adds its own style and hands the accumulated styles down to the next component. Plumeria lets a style value cross one component boundary, but the component that receives it has to put it on an element itself; relaying a received classStyle to another component is a build error, because the compiler resolves composition at the call site where the styles are written.

Joining independently resolved class strings at runtime would get the chain through, but it would bypass Plumeria's conflict resolution and make the result depend on class order. So the lane sits this case out rather than measure a workaround. Source: the lane author's note on the pull request.

This case is a wrapper chain: each of three levels adds its own style and hands the accumulated styles down to the next component. Plumeria lets a style value cross one component boundary, but the component that receives it has to put it on an element itself; relaying a received classStyle to another component is a build error, because the compiler resolves composition at the call site where the styles are written.

Joining independently resolved class strings at runtime would get the chain through, but it would bypass Plumeria's conflict resolution and make the result depend on class order. So the lane sits this case out rather than measure a workaround. Source: the lane author's note on the pull request.

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)5,336,720 r/s ±12%(0.19 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false3,694,454 r/s ±7%(0.27 ms / 1k elems)
@yak/react (styled API)2,008,968 r/s ±3%(0.50 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,367,954 r/s ±2%(0.73 ms / 1k elems)
Bamboo1,145,052 r/s ±2%(0.87 ms / 1k elems)
vanilla Solid (hand-written ceiling)1,138,900 r/s ±6%(0.88 ms / 1k elems)
vanilla (hand-written ceiling)1,115,067 r/s ±2%(0.90 ms / 1k elems)
cn (shadcn-ui) on Solid1,107,336 r/s ±6%(0.90 ms / 1k elems)
cn (shadcn-ui)1,079,911 r/s ±3%(0.93 ms / 1k elems)
StyleX841,172 r/s ±2%(1.19 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)832,033 r/s ±2%(1.20 ms / 1k elems)
StyleX on Solid797,273 r/s ±4%(1.25 ms / 1k elems)
tailwind-merge688,344 r/s ±3%(1.45 ms / 1k elems)
@yak/react (css prop) foldStatic: false656,362 r/s ±2%(1.52 ms / 1k elems)
@yak/react (css prop)651,658 r/s ±3%(1.53 ms / 1k elems)
styled-components544,742 r/s ±2%(1.84 ms / 1k elems)
Panda (style props)540,661 r/s ±1%(1.85 ms / 1k elems)
Panda (css fn)534,862 r/s ±2%(1.87 ms / 1k elems)
Goober398,134 r/s ±1%(2.51 ms / 1k elems)
Emotion286,292 r/s ±1%(3.49 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)3,456 req/s ±1%
@yak/solid (styled API, Solid 2) foldStatic: false2,600 req/s ±1%
@yak/react (styled API)1,750 req/s ±0%
@yak/react (styled API) foldStatic: false1,460 req/s ±0%
vanilla (hand-written ceiling)1,081 req/s ±1%
vanilla Solid (hand-written ceiling)1,002 req/s ±1%
Bamboo895 req/s ±0%
cn (shadcn-ui)850 req/s ±0%
StyleX833 req/s ±1%
StyleX without CSS layers (:not() specificity hack)806 req/s ±1%
cn (shadcn-ui) on Solid759 req/s ±2%
@yak/react (css prop)713 req/s ±3%
@yak/react (css prop) foldStatic: false708 req/s ±3%
StyleX on Solid698 req/s ±1%
styled-components574 req/s ±1%
tailwind-merge573 req/s ±1%
Panda (style props)527 req/s ±0%
Panda (css fn)460 req/s ±1%
Goober417 req/s ±1%
Emotion354 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
@yak/solid (styled API, Solid 2) foldStatic: false0.51 ms
@yak/react (styled API)0.63 ms
@yak/solid (styled API, Solid 2)0.72 ms
vanilla Solid (hand-written ceiling)1.04 ms
cn (shadcn-ui) on Solid1.06 ms
Bamboo1.13 ms
StyleX1.26 ms
cn (shadcn-ui)1.28 ms
StyleX without CSS layers (:not() specificity hack)1.35 ms
vanilla (hand-written ceiling)1.41 ms
tailwind-merge1.52 ms
@yak/react (styled API) foldStatic: false1.56 ms
StyleX on Solid1.62 ms
@yak/react (css prop) foldStatic: false1.67 ms
@yak/react (css prop)1.68 ms
Panda (css fn)2.08 ms
Panda (style props)2.12 ms
styled-components2.41 ms
Goober2.86 ms
Emotion3.28 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/react (styled API)47 ms ±2%
@yak/solid (styled API, Solid 2)54 ms ±2%
@yak/react (styled API) foldStatic: false54 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false56 ms ±3%
vanilla (hand-written ceiling)58 ms ±4%
Bamboo60 ms ±4%
StyleX without CSS layers (:not() specificity hack)63 ms ±2%
StyleX63 ms ±3%
@yak/react (css prop)63 ms ±2%
@yak/react (css prop) foldStatic: false64 ms ±3%
styled-components68 ms ±4%
cn (shadcn-ui)68 ms ±3%
vanilla Solid (hand-written ceiling)69 ms ±5%
cn (shadcn-ui) on Solid76 ms ±3%
Panda (css fn)76 ms ±6%
Goober78 ms ±3%
Panda (style props)78 ms ±3%
tailwind-merge79 ms ±2%
StyleX on Solid81 ms ±4%
Emotion83 ms ±2%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)6.63 ms active(20.88 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false6.64 ms active(31.08 ms span)
vanilla Solid (hand-written ceiling)7.62 ms active(24.01 ms span)
StyleX on Solid9.29 ms active(25.09 ms span)
@yak/react (styled API)10.85 ms active(26.00 ms span)
@yak/react (css prop)11.05 ms active(28.53 ms span)
@yak/react (styled API) foldStatic: false11.05 ms active(35.52 ms span)
Bamboo11.24 ms active(34.40 ms span)
@yak/react (css prop) foldStatic: false11.33 ms active(35.07 ms span)
StyleX11.47 ms active(26.14 ms span)
vanilla (hand-written ceiling)11.61 ms active(39.80 ms span)
cn (shadcn-ui) on Solid11.64 ms active(38.03 ms span)
styled-components11.92 ms active(39.22 ms span)
StyleX without CSS layers (:not() specificity hack)12.40 ms active(36.21 ms span)
Goober12.97 ms active(35.05 ms span)
Panda (style props)13.98 ms active(25.41 ms span)
Emotion14.31 ms active(29.09 ms span)
Panda (css fn)15.13 ms active(30.92 ms span)
cn (shadcn-ui)16.23 ms active(35.85 ms span)
tailwind-merge20.79 ms active(31.61 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

@yak/solid (styled API, Solid 2) foldStatic: false58 ms ±4%
@yak/react (styled API)58 ms ±4%
vanilla Solid (hand-written ceiling)58 ms ±6%
cn (shadcn-ui) on Solid59 ms ±6%
@yak/solid (styled API, Solid 2)60 ms ±4%
@yak/react (styled API) foldStatic: false61 ms ±3%
StyleX on Solid61 ms ±2%
vanilla (hand-written ceiling)61 ms ±5%
cn (shadcn-ui)62 ms ±3%
@yak/react (css prop)63 ms ±4%
Bamboo63 ms ±4%
styled-components63 ms ±3%
StyleX without CSS layers (:not() specificity hack)64 ms ±8%
StyleX65 ms ±4%
Panda (style props)65 ms ±4%
tailwind-merge65 ms ±4%
@yak/react (css prop) foldStatic: false67 ms ±5%
Panda (css fn)68 ms ±5%
Goober73 ms ±5%
Emotion74 ms ±4%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2) foldStatic: false1.52 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
cn (shadcn-ui) on Solid1.61 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.62 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
Emotion1.65 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
StyleX on Solid1.89 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
@yak/react (css prop)1.90 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
@yak/react (styled API)1.95 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
StyleX1.98 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.98 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
Bamboo2.04 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
styled-components2.19 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false2.20 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)2.28 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.41 ms active(33.37 ms span · 33.37 ms profiled median (n=5))
tailwind-merge2.46 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
Panda (css fn)2.52 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
vanilla (hand-written ceiling)2.64 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
Panda (style props)2.65 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Goober2.72 ms active(33.29 ms span · 33.29 ms profiled median (n=5))
cn (shadcn-ui)2.79 ms active(33.30 ms span · 33.30 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2)32 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false38 ms ±6%
vanilla Solid (hand-written ceiling)48 ms ±5%
@yak/react (styled API)49 ms ±5%
cn (shadcn-ui) on Solid56 ms ±4%
@yak/react (styled API) foldStatic: false57 ms ±2%
StyleX on Solid61 ms ±4%
vanilla (hand-written ceiling)62 ms ±3%
Bamboo64 ms ±2%
StyleX without CSS layers (:not() specificity hack)66 ms ±3%
@yak/react (css prop)67 ms ±4%
StyleX67 ms ±3%
@yak/react (css prop) foldStatic: false68 ms ±5%
cn (shadcn-ui)68 ms ±5%
styled-components77 ms ±4%
Panda (css fn)79 ms ±3%
Goober83 ms ±3%
tailwind-merge83 ms ±4%
Panda (style props)87 ms ±4%
Emotion89 ms ±7%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2) foldStatic: false10.71 ms active(21.58 ms span)
vanilla Solid (hand-written ceiling)11.06 ms active(17.57 ms span)
@yak/solid (styled API, Solid 2)11.30 ms active(25.98 ms span)
cn (shadcn-ui) on Solid13.83 ms active(13.85 ms span)
StyleX on Solid14.56 ms active(30.83 ms span)
StyleX without CSS layers (:not() specificity hack)16.50 ms active(30.76 ms span)
Bamboo16.60 ms active(29.07 ms span)
@yak/react (css prop)17.03 ms active(31.89 ms span)
@yak/react (styled API)17.53 ms active(43.70 ms span)
@yak/react (css prop) foldStatic: false17.59 ms active(30.56 ms span)
vanilla (hand-written ceiling)17.60 ms active(44.38 ms span)
StyleX17.77 ms active(43.50 ms span)
Panda (css fn)18.22 ms active(45.27 ms span)
Goober18.38 ms active(44.00 ms span)
@yak/react (styled API) foldStatic: false19.62 ms active(38.96 ms span)
styled-components19.85 ms active(31.30 ms span)
cn (shadcn-ui)21.00 ms active(33.69 ms span)
Emotion21.16 ms active(42.92 ms span)
Panda (style props)23.66 ms active(36.23 ms span)
tailwind-merge26.80 ms active(51.65 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
cn (shadcn-ui)Chrome5.0 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome4.9 ms1 recalc
Firefox2.0 ms
EmotionChrome4.8 ms1 recalc
Firefox1.0 ms
GooberChrome4.5 ms1 recalc
Firefox2.0 ms
@yak/react (styled API)Chrome4.8 ms1 recalc
Firefox1.0 ms
@yak/react (css prop)Chrome4.5 ms1 recalc
Firefox1.0 ms
@yak/react (css prop) foldStatic: falseChrome4.6 ms1 recalc
Firefox1.0 ms
@yak/react (styled API) foldStatic: falseChrome4.9 ms1 recalc
Firefox1.0 ms
Panda (style props)Chrome5.1 ms1 recalc
Firefox1.0 ms
StyleXChrome4.8 ms1 recalc
Firefox1.0 ms
tailwind-mergeChrome4.9 ms1 recalc
Firefox2.0 ms
vanilla (hand-written ceiling)Chrome4.7 ms1 recalc
Firefox2.0 ms
vanilla Solid (hand-written ceiling)Chrome4.4 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome4.8 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.8 ms1 recalc
Firefox1.0 ms
BambooChrome4.5 ms1 recalc
Firefox2.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome4.3 ms1 recalc
Firefox2.0 ms
StyleX on SolidChrome4.9 ms1 recalc
Firefox2.0 ms
Panda (css fn)Chrome4.6 ms1 recalc
Firefox2.0 ms
styled-componentsChrome4.8 ms1 recalc
Firefox3.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)3,046 B(0.0 / 0.4 / 2.6 kB)
@yak/react (css prop) foldStatic: false3,299 B(0.5 / 0.2 / 2.6 kB)
@yak/react (css prop)3,315 B(0.5 / 0.2 / 2.6 kB)
@yak/react (styled API)4,457 B(1.6 / 0.2 / 2.6 kB)
@yak/react (styled API) foldStatic: false4,555 B(1.7 / 0.2 / 2.6 kB)
vanilla Solid (hand-written ceiling)5,193 B(0.0 / 0.4 / 4.7 kB)
Bamboo6,259 B(2.8 / 0.3 / 3.1 kB)
StyleX6,792 B(3.5 / 0.3 / 2.9 kB)
StyleX without CSS layers (:not() specificity hack)6,794 B(3.5 / 0.3 / 2.9 kB)
Goober6,810 B(3.9 / 0.2 / 2.6 kB)
Panda (css fn)8,417 B(4.8 / 0.2 / 3.2 kB)
StyleX on Solid11,911 B(5.9 / 0.3 / 5.5 kB)
@yak/solid (styled API, Solid 2) foldStatic: false12,112 B(6.5 / 0.2 / 5.1 kB)
@yak/solid (styled API, Solid 2)12,724 B(7.1 / 0.2 / 5.1 kB)
Panda (style props)12,944 B(9.2 / 0.2 / 3.2 kB)
tailwind-merge14,486 B(10.4 / 0.7 / 3.1 kB)
Emotion15,929 B(12.9 / 0.2 / 2.4 kB)
styled-components16,507 B(13.1 / 0.3 / 2.7 kB)
cn (shadcn-ui)17,024 B(12.9 / 0.7 / 3.1 kB)
cn (shadcn-ui) on Solid19,310 B(12.4 / 0.7 / 5.8 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.03.67.211141005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: false
Composition6 levelsn = 1,000low cardinality

The compose-3 button family at depth 6: the same base button wrapped five times, each level adding one small border-left/padding-left declaration. Brackets compose-3 from above (compose-1 brackets it from below) to chart how per-element cost grows with composition depth — the boundary that defeats @yak/react's JSX folding.

Source · generated HTML · generated CSS · rendered preview

rendered preview

Same limit as compose-3, six levels deep. Each level adds a style and passes the accumulated styles to the next component, and Plumeria stops a received classStyle from travelling further than one component boundary: the receiver has to apply it to an element, not forward it, because composition is resolved where the styles are written.

Concatenating class strings at runtime would bypass Plumeria's conflict resolution and make the result order-dependent, so there is no cell. Source: the lane author's note on the pull request.

Same limit as compose-3, six levels deep. Each level adds a style and passes the accumulated styles to the next component, and Plumeria stops a received classStyle from travelling further than one component boundary: the receiver has to apply it to an element, not forward it, because composition is resolved where the styles are written.

Concatenating class strings at runtime would bypass Plumeria's conflict resolution and make the result order-dependent, so there is no cell. Source: the lane author's note on the pull request.

SSR render throughput — renders / sec · higher is betteriUses a microbenchmark to measure how fast Node turns components into an HTML string after warmup. Measures rendering only, excluding build time, HTTP handling, response transfer and browser work. Results count component instances per second: a workload of 400 product tiles counts as 400 renders. Higher is better.

@yak/solid (styled API, Solid 2)5,948,698 r/s ±8%(0.17 ms / 1k elems)
@yak/solid (styled API, Solid 2) foldStatic: false3,874,497 r/s ±5%(0.26 ms / 1k elems)
@yak/react (styled API)2,035,586 r/s ±3%(0.49 ms / 1k elems)
@yak/react (styled API) foldStatic: false1,472,687 r/s ±1%(0.68 ms / 1k elems)
Bamboo786,039 r/s ±2%(1.27 ms / 1k elems)
vanilla (hand-written ceiling)765,977 r/s ±3%(1.31 ms / 1k elems)
cn (shadcn-ui)698,137 r/s ±1%(1.43 ms / 1k elems)
vanilla Solid (hand-written ceiling)671,416 r/s ±8%(1.49 ms / 1k elems)
cn (shadcn-ui) on Solid616,837 r/s ±6%(1.62 ms / 1k elems)
StyleX without CSS layers (:not() specificity hack)599,216 r/s ±3%(1.67 ms / 1k elems)
StyleX584,299 r/s ±2%(1.71 ms / 1k elems)
styled-components515,811 r/s ±1%(1.94 ms / 1k elems)
StyleX on Solid493,258 r/s ±4%(2.03 ms / 1k elems)
@yak/react (css prop) foldStatic: false416,751 r/s ±2%(2.40 ms / 1k elems)
@yak/react (css prop)406,862 r/s ±4%(2.46 ms / 1k elems)
Panda (style props)404,799 r/s ±1%(2.47 ms / 1k elems)
tailwind-merge383,792 r/s ±2%(2.61 ms / 1k elems)
Panda (css fn)290,062 r/s ±2%(3.45 ms / 1k elems)
Emotion236,701 r/s ±1%(4.22 ms / 1k elems)
Goober220,221 r/s ±1%(4.54 ms / 1k elems)

SSR throughput under load — requests / sec · higher is betteriUses autocannon to measure end-to-end HTTP throughput on this machine: sending a request, rendering the whole workload into an HTML fragment, and transferring and receiving the response. Clients keep concurrent connections open. Each request renders the full workload, so a workload of 400 product tiles counts as one request. Excludes build time, browser rendering and external network latency. Higher is better.

@yak/solid (styled API, Solid 2)3,348 req/s ±0%
@yak/solid (styled API, Solid 2) foldStatic: false2,537 req/s ±0%
@yak/react (styled API)1,683 req/s ±1%
@yak/react (styled API) foldStatic: false1,409 req/s ±1%
vanilla (hand-written ceiling)739 req/s ±1%
Bamboo680 req/s ±2%
cn (shadcn-ui)640 req/s ±0%
vanilla Solid (hand-written ceiling)603 req/s ±1%
StyleX without CSS layers (:not() specificity hack)595 req/s ±2%
StyleX588 req/s ±0%
styled-components542 req/s ±1%
cn (shadcn-ui) on Solid484 req/s ±0%
@yak/react (css prop)465 req/s ±1%
@yak/react (css prop) foldStatic: false463 req/s ±2%
StyleX on Solid452 req/s ±2%
Panda (style props)409 req/s ±1%
tailwind-merge348 req/s ±0%
Emotion309 req/s ±0%
Panda (css fn)273 req/s ±0%
Goober240 req/s ±0%

Server and load generator run in separate processes on this host. Bars show the median of round request rates. Responses contain rendered HTML fragments. Raw results retain each round's latency and error data; latency percentiles are not pooled across rounds.

Where the SSR render time goes — Node CPU profile · median ms / renderiOne server render, split into UI framework work (React or Solid), styling library runtime, and your components. Framework work can differ when a lane removes component calls.other is garbage collection and native work. Taken from a sampled CPU profile mapped back to source (web-performance-debugger 1.5.0).

react-dom / solid (the framework floor)styling library runtimeyour componentnode / gc / unattributed
@yak/solid (styled API, Solid 2)0.47 ms
@yak/solid (styled API, Solid 2) foldStatic: false0.69 ms
@yak/react (styled API)1.09 ms
Bamboo1.28 ms
@yak/react (styled API) foldStatic: false1.34 ms
vanilla Solid (hand-written ceiling)1.61 ms
vanilla (hand-written ceiling)1.67 ms
StyleX without CSS layers (:not() specificity hack)1.81 ms
cn (shadcn-ui)1.87 ms
StyleX1.90 ms
cn (shadcn-ui) on Solid2.28 ms
Panda (style props)2.43 ms
@yak/react (css prop)2.46 ms
@yak/react (css prop) foldStatic: false2.53 ms
styled-components2.57 ms
StyleX on Solid2.60 ms
tailwind-merge3.12 ms
Emotion3.69 ms
Panda (css fn)3.77 ms
Goober4.63 ms

Client hydration — repeated timing + Chrome-profiled span anatomyiThe browser gets finished HTML, then the framework takes it over — attaching event handlers and wiring up state without rebuilding the markup. That is hydration. Repeated timing starts on a ready page and ends at DOM commit: React useLayoutEffect or Solid flush, before paint. The second chart profiles a span through the next frame and shows JavaScript, style, layout and paint (web-performance-debugger 1.5.0). Lower is better.

@yak/react (styled API)48 ms ±3%
@yak/react (styled API) foldStatic: false53 ms ±3%
@yak/solid (styled API, Solid 2)54 ms ±3%
@yak/solid (styled API, Solid 2) foldStatic: false57 ms ±3%
vanilla (hand-written ceiling)61 ms ±2%
Bamboo66 ms ±3%
styled-components66 ms ±3%
StyleX68 ms ±2%
StyleX without CSS layers (:not() specificity hack)68 ms ±3%
cn (shadcn-ui)71 ms ±2%
@yak/react (css prop) foldStatic: false74 ms ±3%
@yak/react (css prop)75 ms ±3%
vanilla Solid (hand-written ceiling)83 ms ±3%
Panda (style props)85 ms ±5%
tailwind-merge88 ms ±3%
cn (shadcn-ui) on Solid89 ms ±4%
Emotion89 ms ±4%
StyleX on Solid93 ms ±4%
Panda (css fn)94 ms ±4%
Goober99 ms ±2%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2) foldStatic: false6.73 ms active(31.80 ms span)
@yak/solid (styled API, Solid 2)7.24 ms active(19.48 ms span)
vanilla Solid (hand-written ceiling)8.33 ms active(18.27 ms span)
@yak/react (styled API) foldStatic: false10.32 ms active(27.75 ms span)
cn (shadcn-ui) on Solid10.89 ms active(26.34 ms span)
StyleX on Solid10.91 ms active(21.95 ms span)
styled-components11.35 ms active(32.27 ms span)
@yak/react (styled API)11.41 ms active(27.35 ms span)
Bamboo11.92 ms active(30.20 ms span)
@yak/react (css prop)12.12 ms active(30.99 ms span)
@yak/react (css prop) foldStatic: false12.14 ms active(28.66 ms span)
StyleX without CSS layers (:not() specificity hack)12.53 ms active(33.26 ms span)
vanilla (hand-written ceiling)12.74 ms active(32.79 ms span)
StyleX12.98 ms active(33.69 ms span)
Goober13.42 ms active(30.63 ms span)
cn (shadcn-ui)13.74 ms active(35.80 ms span)
Emotion13.85 ms active(30.08 ms span)
Panda (css fn)15.06 ms active(32.39 ms span)
Panda (style props)15.25 ms active(24.44 ms span)
tailwind-merge19.27 ms active(31.87 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Interaction update — repeated timing + Chrome-profiled span anatomyiEach instance's value changes from i to i + 1, so every element really updates. React sets state, Solid sets a signal; both are warmed first, and the reset sits outside the timer. This is not Google's INP — the timing stops at the first animation frame, and the profiled span adds one frame to catch rendering work. Cross-framework ratios describe the whole workload, including the framework. Use vanilla lanes as references; compilers and styled runtimes can also remove component work. Lower is better.

@yak/react (styled API)55 ms ±5%
@yak/solid (styled API, Solid 2)56 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false56 ms ±2%
cn (shadcn-ui) on Solid57 ms ±3%
@yak/react (styled API) foldStatic: false58 ms ±3%
StyleX on Solid61 ms ±5%
vanilla Solid (hand-written ceiling)61 ms ±8%
tailwind-merge64 ms ±4%
cn (shadcn-ui)64 ms ±3%
vanilla (hand-written ceiling)65 ms ±4%
Bamboo66 ms ±6%
StyleX67 ms ±2%
styled-components68 ms ±7%
@yak/react (css prop)68 ms ±8%
StyleX without CSS layers (:not() specificity hack)69 ms ±3%
@yak/react (css prop) foldStatic: false71 ms ±3%
Panda (style props)73 ms ±5%
Emotion75 ms ±4%
Panda (css fn)77 ms ±5%
Goober89 ms ±2%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2) foldStatic: false1.36 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
vanilla (hand-written ceiling)1.52 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/react (styled API)1.54 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
cn (shadcn-ui)1.57 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
tailwind-merge1.61 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
cn (shadcn-ui) on Solid1.61 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
@yak/solid (styled API, Solid 2)1.62 ms active(33.26 ms span · 33.26 ms profiled median (n=5))
Panda (style props)1.67 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
@yak/react (styled API) foldStatic: false1.75 ms active(33.34 ms span · 33.34 ms profiled median (n=5))
Panda (css fn)1.83 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop)1.95 ms active(33.31 ms span · 33.31 ms profiled median (n=5))
StyleX on Solid1.97 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
vanilla Solid (hand-written ceiling)2.04 ms active(33.36 ms span · 33.36 ms profiled median (n=5))
Bamboo2.09 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
Goober2.18 ms active(33.28 ms span · 33.28 ms profiled median (n=5))
StyleX2.24 ms active(33.30 ms span · 33.30 ms profiled median (n=5))
StyleX without CSS layers (:not() specificity hack)2.38 ms active(33.35 ms span · 33.35 ms profiled median (n=5))
styled-components2.44 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
Emotion2.56 ms active(33.32 ms span · 33.32 ms profiled median (n=5))
@yak/react (css prop) foldStatic: false2.76 ms active(33.32 ms span · 33.32 ms profiled median (n=5))

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Cold mount — repeated timing + Chrome-profiled span anatomyiThe workload renders into an empty root on a ready page. Repeated timing stops at DOM commit, before paint; it excludes page load and network work. A runtime library may insert CSS during that work. The separate profiled span includes the next frame's rendering work. Lower is better.

@yak/solid (styled API, Solid 2)32 ms ±4%
@yak/solid (styled API, Solid 2) foldStatic: false38 ms ±6%
@yak/react (styled API)50 ms ±2%
@yak/react (styled API) foldStatic: false56 ms ±3%
vanilla Solid (hand-written ceiling)58 ms ±4%
vanilla (hand-written ceiling)66 ms ±4%
cn (shadcn-ui) on Solid67 ms ±4%
Bamboo68 ms ±1%
StyleX72 ms ±3%
StyleX on Solid72 ms ±3%
StyleX without CSS layers (:not() specificity hack)72 ms ±4%
cn (shadcn-ui)74 ms ±4%
styled-components77 ms ±2%
@yak/react (css prop) foldStatic: false77 ms ±3%
@yak/react (css prop)78 ms ±3%
Panda (style props)90 ms ±5%
tailwind-merge95 ms ±4%
Emotion96 ms ±5%
Panda (css fn)99 ms ±5%
Goober107 ms ±5%
JavaScriptstylelayoutpaintGCbrowser / otheridle / frame wait
@yak/solid (styled API, Solid 2)9.82 ms active(24.49 ms span)
@yak/solid (styled API, Solid 2) foldStatic: false9.89 ms active(23.43 ms span)
vanilla Solid (hand-written ceiling)11.64 ms active(29.48 ms span)
StyleX on Solid13.83 ms active(16.85 ms span)
cn (shadcn-ui) on Solid14.45 ms active(16.68 ms span)
@yak/react (styled API) foldStatic: false17.20 ms active(37.91 ms span)
Bamboo17.64 ms active(33.59 ms span)
vanilla (hand-written ceiling)17.71 ms active(31.22 ms span)
@yak/react (css prop) foldStatic: false18.15 ms active(30.64 ms span)
@yak/react (css prop)18.44 ms active(39.61 ms span)
@yak/react (styled API)18.67 ms active(31.78 ms span)
StyleX without CSS layers (:not() specificity hack)18.98 ms active(43.84 ms span)
StyleX19.04 ms active(31.36 ms span)
Goober19.90 ms active(32.46 ms span)
styled-components20.28 ms active(40.46 ms span)
cn (shadcn-ui)20.58 ms active(39.42 ms span)
Panda (style props)20.90 ms active(38.40 ms span)
Emotion22.43 ms active(44.59 ms span)
Panda (css fn)23.46 ms active(41.47 ms span)
tailwind-merge28.56 ms active(48.47 ms span)

Chrome profile (web-performance-debugger 1.5.0); segments sum to the span wall time. Rank uses active time (wall minus idle). Each bar describes one named action, including its frame waits. Repeated actions use the occurrence with the lower-median profile duration. The timing median uses all recorded action durations and includes profiler overhead. The main timing charts use separate measurements.

Browser render-work on a cold mount — style-recalc / layout / paint · Chrome + FirefoxiThe browser's own work rather than JavaScript: recalculating styles, laying out and painting. This is where a library that writes CSS at runtime pays a tax the build-time ones avoid — it adds a style rule per instance, so the engine recalculates styles once per instance instead of once for the page.Chrome's honest signal is that recalc count, on the badge. Firefox reports sampled milliseconds instead, where a zero can mean "not sampled" rather than "no work". Compare within one engine. Lower is better.

style recalclayoutpaint (Chrome)
BambooChrome4.5 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui)Chrome4.9 ms1 recalc
Firefox1.0 ms
cn (shadcn-ui) on SolidChrome4.6 ms1 recalc
Firefox1.0 ms
EmotionChrome4.5 ms1 recalc
Firefox1.0 ms
GooberChrome4.5 ms1 recalc
Firefox2.0 ms
@yak/react (styled API)Chrome4.6 ms1 recalc
Firefox1.0 ms
@yak/react (css prop)Chrome4.8 ms1 recalc
Firefox1.0 ms
@yak/react (styled API) foldStatic: falseChrome4.5 ms1 recalc
Firefox1.0 ms
styled-componentsChrome5.0 ms1 recalc
Firefox1.0 ms
StyleX without CSS layers (:not() specificity hack)Chrome4.7 ms1 recalc
Firefox1.0 ms
StyleX on SolidChrome4.5 ms1 recalc
Firefox1.0 ms
tailwind-mergeChrome4.5 ms1 recalc
Firefox1.0 ms
vanilla (hand-written ceiling)Chrome4.5 ms1 recalc
Firefox1.0 ms
vanilla Solid (hand-written ceiling)Chrome4.6 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2)Chrome4.2 ms1 recalc
Firefox1.0 ms
@yak/solid (styled API, Solid 2) foldStatic: falseChrome4.2 ms1 recalc
Firefox1.0 ms
Panda (css fn)Chrome4.6 ms1 recalc
Firefox2.0 ms
Panda (style props)Chrome4.7 ms1 recalc
Firefox2.0 ms
@yak/react (css prop) foldStatic: falseChrome4.5 ms1 recalc
Firefox2.0 ms
StyleXChrome4.6 ms1 recalc
Firefox2.0 ms

Cold mount of 50 instances. Chrome's trustworthy signal is the style-recalc count (badge); Firefox reports sampled Gecko style/layout ms but no main-thread paint. A zero sampled slice is not proof that no work occurred; Chrome's exact count badges are the reliable presence/absence signal.

Page bytes shipped — JS + CSS + HTML, gzipped · lower is betteriGzipped bytes the browser downloads: the JavaScript this lane adds on top of a bare framework page, its CSS, and the server HTML. Lower is better. Solid marks every element with a hydration key and React needs none, so read the HTML column across frameworks with that in mind.

JSCSSHTML
vanilla (hand-written ceiling)3,078 B(0.0 / 0.4 / 2.6 kB)
@yak/react (css prop) foldStatic: false3,452 B(0.5 / 0.2 / 2.7 kB)
@yak/react (css prop)3,474 B(0.5 / 0.2 / 2.7 kB)
@yak/react (styled API)4,615 B(1.6 / 0.2 / 2.7 kB)
@yak/react (styled API) foldStatic: false4,712 B(1.7 / 0.2 / 2.7 kB)
vanilla Solid (hand-written ceiling)5,673 B(0.0 / 0.4 / 5.1 kB)
Bamboo6,260 B(2.8 / 0.3 / 3.1 kB)
StyleX6,816 B(3.5 / 0.3 / 2.9 kB)
StyleX without CSS layers (:not() specificity hack)6,817 B(3.5 / 0.3 / 2.9 kB)
Goober7,123 B(3.9 / 0.2 / 2.8 kB)
Panda (css fn)8,417 B(4.8 / 0.2 / 3.2 kB)
StyleX on Solid11,954 B(5.9 / 0.3 / 5.5 kB)
@yak/solid (styled API, Solid 2) foldStatic: false12,241 B(6.5 / 0.2 / 5.2 kB)
@yak/solid (styled API, Solid 2)12,850 B(7.1 / 0.2 / 5.2 kB)
Panda (style props)12,944 B(9.2 / 0.2 / 3.2 kB)
tailwind-merge14,486 B(10.4 / 0.7 / 3.1 kB)
Emotion15,949 B(12.9 / 0.2 / 2.4 kB)
styled-components16,784 B(13.1 / 0.3 / 2.9 kB)
cn (shadcn-ui)17,024 B(12.9 / 0.7 / 3.1 kB)
cn (shadcn-ui) on Solid19,310 B(12.4 / 0.7 / 5.8 kB)

Scaling — SSR render time (ms) vs instance countiRender time as the workload grows from a handful of instances to thousands. A flatter line means the cost per element stays put as the page gets bigger.

0.04.89.715191005001,0002,0004,000
Bamboocn (shadcn-ui)cn (shadcn-ui) on SolidEmotionGoober@yak/react (styled API)@yak/react (css prop)@yak/react (css prop) foldStatic: false@yak/react (styled API) foldStatic: falsePanda (css fn)Panda (style props)styled-componentsStyleX without CSS layers (:not() specificity hack)StyleXStyleX on Solidtailwind-mergevanilla (hand-written ceiling)vanilla Solid (hand-written ceiling)@yak/solid (styled API, Solid 2)@yak/solid (styled API, Solid 2) foldStatic: false

Build time — full client build · lower is betteriHow long the production build takes — the same bundle measured for page bytes. cold clears the lane's caches and generated code first, so it pays for regenerating them; warm runs it again with nothing cleared. Median of 3. This is developer experience and it depends on the machine — it says nothing about what users get.

vanilla Solid (hand-written ceiling)100 msnone · warm 89 ms
Plumeria on Solid117 msatomic · warm 134 ms
vanilla (hand-written ceiling)120 msnone · warm 123 ms
cn (shadcn-ui) on Solid123 msutility · warm 111 ms
Goober126 msruntime · warm 123 ms
Emotion132 msruntime · warm 128 ms
styled-components132 msruntime · warm 127 ms
Plumeria (classStyle prop)146 msatomic · warm 147 ms
@yak/solid (styled API, Solid 2) foldStatic: false150 msextracted · warm 158 ms
@yak/solid (styled API, Solid 2)155 msextracted · warm 159 ms
tailwind-merge156 msutility · warm 150 ms
cn (shadcn-ui)157 msutility · warm 147 ms
@yak/react (styled API) foldStatic: false165 msextracted · warm 163 ms
@yak/react (styled API)167 msextracted · warm 161 ms
@yak/react (css prop) foldStatic: false174 msextracted · warm 180 ms
@yak/react (css prop)179 msextracted · warm 167 ms
Bamboo243 msatomic · warm 238 ms
Panda (recipe)385 msatomic · warm 385 ms
Panda (style props)409 msatomic · warm 412 ms
Panda (css fn)412 msatomic · warm 412 ms
StyleX on Solid560 msatomic · warm 570 ms
StyleX567 msatomic · warm 568 ms
StyleX without CSS layers (:not() specificity hack)579 msatomic · warm 582 ms

How this was measured

Source, raw data and methodology: github.com/jantimon/css-in-js-bench. Run it locally: clone the repo, pnpm install, then pnpm report renders this report from the committed samples — pnpm gen re-measures everything on your own machine.