Performance

Sizes and times

The figures of the performance page of the documentation, which this site reads from it at build time, so the two never disagree. Pick what each chart compares.

Every figure on this page comes from one machine: an AMD Ryzen 5 3600 (6 cores, 12 threads, 32 GB RAM) on Windows 11, with Kotlin 2.4.21, esbuild 0.28.2, Svelte 5.59.2, Solid 2.0.4, Compose HTML 1.12.1 and headless Chrome 158. The client sizes, the page load, the table operations and the reactivity were measured on 2026-11-30, the site builds, the dev server, the language server and the JVM on 2026-11-27 and 2026-11-28. Times are medians. They move by 10 to 20% from one session to the next, so only times measured back to back compare.

Client size

The JavaScript of the todo page: Lithe, the same page written with Svelte and with Solid, and a reference build on a runtime made with Compose.

app.mjs of todo, Brotli
  • Lithe 17.4 KB
  • Svelte 22 KB
  • Solid 20.5 KB
  • Compose 119.7 KB

Page load

Hydrate is the time the client runs, Ready goes from the start of the navigation to the hydrated page, and Click from a click that reverses the list to the change of the page.

Hydrate of todo, CPU slowed 1x
  • Lithe 8.7 ms
  • Svelte 9.1 ms
  • Solid 9.1 ms
  • Compose 39.2 ms

Table operations

The operations of js-framework-benchmark on a table pre-rendered with 1,000 rows, against the same page written with Svelte, Solid and Compose. Less is better on every row, time or memory for the heap, and the best value of each row has a dot.

lower is better
Operation Lithe Svelte Solid Compose
Hydrate 1k rows (40 loads) 20.1 ms 11.1 ms 17.9 ms 248.7 ms
Create 1k rows 9.1 ms 6.2 ms 8.6 ms 511.0 ms
Replace 1k rows 12.8 ms 11.4 ms 12.5 ms 778.3 ms
Update every 10th row 0.9 ms 0.8 ms 0.8 ms 12.3 ms
Select a row 0.5 ms 0.7 ms 1.3 ms 4.4 ms
Swap two rows 0.5 ms 0.6 ms 0.4 ms 1,075.3 ms
Move the last row first 0.5 ms 0.5 ms 0.4 ms 14.5 ms
Reverse 1k rows 2.3 ms 30.3 ms 2.0 ms 1,393.3 ms
Remove a row 0.5 ms 0.4 ms 0.4 ms 963.5 ms
Append 1k rows 6.9 ms 5.5 ms 6.9 ms 507.9 ms
Clear 1k rows 5.4 ms 5.3 ms 5.4 ms 22.0 ms
Create 10k rows 69.2 ms 60.1 ms 72.8 ms 19,958.9 ms
Select a row of 10k 2.1 ms 4.2 ms 7.6 ms 27.9 ms
Clear 10k rows 51.8 ms 50.9 ms 48.0 ms 1,099.3 ms
Heap with 10k rows 11.4 MB 12.1 MB 15.4 MB 121.6 MB

Everything else

The reactivity graphs, the builds, the dev server, the language server and the JVM, as the documentation lists them.

Minification
app.mjs markup raw gzip Brotli todo raw gzip Brotli
As linked 52,909 10,869 9,559 177,110 32,646 27,122
esbuild --bundle --minify alone 18,054 6,782 6,062 57,558 19,738 17,503
As the site build writes it 17,291 6,494 5,817 55,522 19,045 16,885
Reactivity lower is better
Graph Lithe Svelte Solid
deep 2.38 ms 4.40 ms 5.15 ms
broad 1.45 ms 2.50 ms 2.77 ms
diamond 0.97 ms 1.82 ms 1.57 ms
triangle 0.53 ms 0.90 ms 0.90 ms
mux 1.80 ms 2.50 ms 2.15 ms
repeated 0.80 ms 1.45 ms 1.15 ms
unstable 1.13 ms 1.88 ms 1.63 ms
avoidable 1.30 ms 2.60 ms 1.83 ms
fanout 5.72 ms 7.25 ms 7.22 ms
wide 0.50 ms 1.00 ms 1.67 ms
Site builds
Build Samples Median Min Max
Nothing changed since the last one 10 4.85 s 4.60 s 4.99 s
After an edit of the markup of a component 10 22.29 s 19.43 s 23.89 s
First one, with an empty build cache 3 31.95 s 31.01 s 39.86 s
Site builds
Phase markup todo
Whole build 3,114 ms 3,637 ms
Compile the components (Lithe) 43 ms 51 ms
Compile the app for the JVM 249 ms 530 ms
Static rendering 21 ms 94 ms
Compile the app for JS 334 ms 627 ms
Release link 2,590 ms 2,792 ms
Minification 67 ms 89 ms
Dev server
Edit Event Median Min Max
todo, a text of the markup, which compiles nothing reload 170 ms 154 ms 203 ms
todo, an expression of the markup reload 2.46 s 2.18 s 2.77 s
todo, code of a mount block, which only the client has reload 2.09 s 1.85 s 2.17 s
todo, the <style> block of a component css 0.54 s 0.49 s 0.72 s
todo, a stylesheet of resources/, which needs no build css 53 ms 52 ms 56 ms
hello, a Kotlin file reload 1.23 s 1.02 s 1.37 s
Dev server
App Median Min Max
todo 32.22 s 31.87 s 33.56 s
hello 28.63 s 27.85 s 30.36 s
Language server
Wait Java 25 Java 17
Start to the first answer 349 ms 376 ms
Errors of the first file 277 ms 322 ms
Errors after a change 42 ms 49 ms
Completion 2.7 ms 2.7 ms
Highlighting 0.6 ms 0.6 ms
Everything, App.lithe of components (46 lines) 47 ms 50 ms
Everything, App.lithe of tasks (472 lines) 60 ms 69 ms
On the JVM
What Median 10th to 90th percentile
Static rendering of a page of 1,000 rows (186,980 characters) 1.28 ms 1.23 to 1.39 ms
Compiling the 55 components of the examples (58,505 characters) 19.1 ms 18.4 to 19.9 ms
Compiling a component of 300 sections (160,690 characters) 67.3 ms 65.4 to 72.6 ms