Tools

Benchmarks

idlip loads the same small file at every app size, and its script time stays flat. Its pages are larger than the others at small sizes, and some first clicks are slower. This page has the numbers, the method and the losses.

#The run

All tables come from one run on 2026-11-23.

The harness and the apps of the other frameworks come from brumate's benchmarks. The author of idlip also wrote brumate.

#What is measured

idlip pages render renderPreload links by default, so its numbers are with links. The links load the chunks of the first click before load. They are opt-in and add bytes to every page load. The first-click table shows both.

#Startup and first click

JS before load and the first counter click on the todos page, with 3 todos.

Metric idlip brumate 0.8.1 Marko 6 Qwik 1 Qwik 2
JS before load, files 6 6 1 3 3
JS before load, gzip 5.4 kB 15.1 kB 4.4 kB 22.4 kB 36.4 kB
First counter click after idle, 150 ms RTT 61 ms 80 ms 77 ms 60 ms 79 ms
First counter click cold, 150 ms RTT 56 ms 108 ms 54 ms 250 ms 500 ms
SSR renders per second, 3 todos 135,135 113,233 141,196 16,178 9,497
SSR renders per second, 100 todos 11,125 11,971 8,031 2,662 1,808
SSR HTML, 3 todos, gzip 2.1 kB 739 B 693 B 1.3 kB 1.5 kB

Renders per second are the median of 5 rounds, in process, without HTTP.

The first click after idle at 150 ms round trip, 21 runs per side, interleaved on one build. Median (median absolute deviation). A change counts when it is larger than 3 times the larger deviation.

Page, first click Links off Links on Requests, off and on
Todos, counter 236 ms (5.0) 69 ms (5.0) 3 and 0
Dashboard, widget 1 250 ms (5.0) 74 ms (5.0) 4 and 0

Without links the first click costs one round trip. With links it does not, at the price of 5 preloaded files on todos and 21 on the dashboard for every visitor, also those who never click.

#Rows

Main thread from click to paint, in ms. The page has 1,000 rows.

Operation idlip brumate 0.8.1 Marko 6
Create 1,000 27.9 32.7 32.4
Replace 1,000 31.6 28.2 26.4
Update every 10th 11.5 12.3 11.3
Select a row 1.9 1.5 1.1
Swap 2 rows 8.5 6.5 6.5
Remove a row 8.3 7.5 7.3
Append 1,000 to 1,000 42.3 32.2 30.1
Create 10,000 247.3 229.8 222.6

Differences under 20% are noise on this machine. benchmarks/README.md has the rest of the rows table.

#Dashboard

Metric idlip brumate 0.8.1 Marko 6
JS before load, gzip 10.2 kB, 22 files 23.3 kB 10.5 kB
Click to update, widget 1 84 ms 82 ms 77 ms
Click to update, widget 30 (below fold) 62 ms 41 ms 38 ms
Click to update, widget 45 47 ms 18 ms 18 ms
SSR renders per second 4,996 4,706 6,057
SSR HTML, raw / gzip 93.6 / 8.4 kB 33.6 / 6.0 kB 27.5 / 5.4 kB

A widget below the fold fetches 3 chunks on its first click, 999 B gzip in total.

#Scale

The same widgets at 10 to 1,000 components. Gzip, kB. Bytes come from two identical runs, timings from the second.

Metric Widgets idlip brumate 0.8.1 Marko 6 Qwik 2
JS before load 10 4.8 15.9 5.9 37.3
200 4.8 52.6 28.1 37.3
1,000 4.8 201.5 117.8 37.3
HTML 10 3.4 1.8 1.7 4.3
200 25.9 22.3 19.0 63.5
1,000 111.5 103.9 87.9 302.6
All bytes before load 10 8.2 17.8 7.6 42.7
200 30.7 74.9 47.1 119.3
1,000 116.4 305.3 205.8 432.1
Script time to load, 4x CPU, ms 10 2.3 5.2 8.2 2.5
200 2.7 9.0 34.7 3.7
1,000 3.0 17.6 124.1 5.5

Raw HTML at 1,000 widgets is 1,865.7 kB for idlip and 579.5 kB for Marko 6. Total main-thread time to load is within about 30% for all four frameworks at every size, because most of it is parsing and laying out the page.

#Reading the numbers

#Where idlip wins

#Total bytes grow with the app

JS on load is flat, but total bytes are not. idlip writes each widget's state and listeners into the HTML, so the page grows with the app.

The widgets repeat much code, which gzip likes and Marko's single file most. A real app of 1,000 components would compress less.

#Where idlip loses

Rows marked design cost follow from idlip's loading design: no component code runs on load, state is decoded and chunks are imported on the first event, and the page carries state and listeners. Removing them would change the design. Rows marked code cost can be cut by later work.

Metric idlip Behind Kind
Todos, JS before load, with links 5.4 kB gzip Marko 4.4 kB (+23%) Design cost
Todos, first toggle 48 ms brumate 17 ms, Marko 23 ms Design cost
Todos, first add 99 ms brumate 47 ms, Marko 49 ms Design cost
Todos, SSR HTML at 0 and 3 todos 4.8 and 5.3 kB raw Marko 812 B and 1.2 kB Design cost
Todos, SSR HTML at 100 todos 20.6 kB raw Marko 15.7 kB (+31%) Design cost
Rows, first select from the server page 11.3 ms main Marko 5.5 ms Design cost
Dashboard, widgets below the fold 62 and 47 ms 41 and 18 ms Design cost
First click without links one round trip brumate and Marko, none Design cost
Rows, select, swap, append, clear 1.3 to 1.7 times Marko Code cost
Client JS emitted in dist, todos 6.9 kB gzip Marko 4.4 kB (+57%) Code cost
Dashboard, SSR renders per second 4,996 Marko 6,057 (1.21 times) Code cost

benchmarks/README.md has the full table, with the reasons, under "Where idlip loses".

#Caveats

#Repeat it

bash
uptime   # the 1-minute load should be under 3
pnpm install
pnpm -C benchmarks/harness bench --scenario todos
pnpm -C benchmarks/harness bench --scenario rows
pnpm -C benchmarks/harness bench --scenario dashboard
node benchmarks/harness/scale.mjs run

Todos takes about 3 minutes on an Apple M2, rows and dashboard about 15 minutes, and scale builds 16 apps. Results go to benchmarks/harness/results/. The first-click table uses node benchmarks/harness/first-click-ab.mjs --scenario todos --runs 21 with a copy of the build for each side. benchmarks/README.md has the steps and every table.