isoloop
0.1.1GitHub

Benchmarks

The plant dashboard, built natively and with Isoloop, measured on one machine in interleaved rounds. Isoloop takes the widgets off the main thread, and it costs CPU, memory and start-up time. The figures below show both. Plain JavaScript work, such as sorts and Maps, is measured on its own further down.

Measured on plant-bench at @isoloop/*@0.1.0, 24 November 2026, on 4 cores fixed at 2.0 GHz.

On this page

What we found

Chromium at 5 kHz, the heavier load. Each difference is the Isoloop build against the native build shaped like it, round by round.

Isoloop matched against native + workers, the default placement

  • Better: main thread busy, 54 points lower; recovery after a 3 s block, 248 ms lower.
  • Worse: CPU across all threads, 19 points higher; first data, 207 ms higher; memory after GC, 46 MB higher.
  • Within the spread: typing (the rounds ranged from −40 ms to +1 ms); all 72 widgets with data (the rounds ranged from −813 ms to +157 ms).

Isoloop one against native

  • Better: main thread busy, 58 points lower; typing, 32 ms lower.
  • Worse: CPU across all threads, 15 points higher; first data, 276 ms higher; all 72 widgets with data, 1.2 s higher; recovery after a 3 s block, 250 ms higher; memory after GC, 39 MB higher.

The figures

Lower is better for every figure. Each chart shows the median of the rounds for the native build in grey and for Isoloop in colour, and the difference in words.

Chromium

Isoloop matched against native + workers

Main thread busy
  1. 1 kHz

    Native + workers65%
    Isoloop matched25%

    41 points lower, better

  2. 5 kHz

    Native + workers78%
    Isoloop matched24%

    54 points lower, better

CPU, all threads
  1. 1 kHz

    Native + workers80%
    Isoloop matched93%

    13 points higher, worse

  2. 5 kHz

    Native + workers97%
    Isoloop matched112%

    19 points higher, worse

Typing, median
  1. 1 kHz

    Native + workers33 ms
    Isoloop matched26 ms

    11 ms lower, within the spread

  2. 5 kHz

    Native + workers58 ms
    Isoloop matched41 ms

    18 ms lower, within the spread

First data
  1. 1 kHz

    Native + workers434 ms
    Isoloop matched603 ms

    210 ms higher, worse

  2. 5 kHz

    Native + workers366 ms
    Isoloop matched557 ms

    207 ms higher, worse

All 72 widgets with data
  1. 1 kHz

    Native + workers2.3 s
    Isoloop matched1.6 s

    678 ms lower, better

  2. 5 kHz

    Native + workers2.3 s
    Isoloop matched1.5 s

    787 ms lower, within the spread

Recovery after a 3 s block
  1. 1 kHz

    Native + workers3.2 s
    Isoloop matched2.9 s

    286 ms lower, better

  2. 5 kHz

    Native + workers3.2 s
    Isoloop matched2.9 s

    248 ms lower, better

Memory after GC
  1. 1 kHz

    Native + workers199 MB
    Isoloop matched238 MB

    39 MB higher, worse

  2. 5 kHz

    Native + workers227 MB
    Isoloop matched272 MB

    46 MB higher, worse

  • Native + workers
  • Isoloop matched, better
  • Isoloop matched, worse
  • Isoloop matched, within the spread

Isoloop one against native

Main thread busy
  1. 1 kHz

    Native66%
    Isoloop one23%

    43 points lower, better

  2. 5 kHz

    Native80%
    Isoloop one22%

    58 points lower, better

CPU, all threads
  1. 1 kHz

    Native75%
    Isoloop one92%

    11 points higher, worse

  2. 5 kHz

    Native91%
    Isoloop one106%

    15 points higher, worse

Typing, median
  1. 1 kHz

    Native34 ms
    Isoloop one24 ms

    10 ms lower, within the spread

  2. 5 kHz

    Native65 ms
    Isoloop one38 ms

    32 ms lower, better

First data
  1. 1 kHz

    Native287 ms
    Isoloop one484 ms

    225 ms higher, worse

  2. 5 kHz

    Native222 ms
    Isoloop one504 ms

    276 ms higher, worse

All 72 widgets with data
  1. 1 kHz

    Native1.4 s
    Isoloop one2.4 s

    1.0 s higher, worse

  2. 5 kHz

    Native1.2 s
    Isoloop one2.4 s

    1.2 s higher, worse

Recovery after a 3 s block
  1. 1 kHz

    Native3.2 s
    Isoloop one3.5 s

    288 ms higher, worse

  2. 5 kHz

    Native3.2 s
    Isoloop one3.4 s

    250 ms higher, worse

Memory after GC
  1. 1 kHz

    Native158 MB
    Isoloop one193 MB

    36 MB higher, worse

  2. 5 kHz

    Native168 MB
    Isoloop one207 MB

    39 MB higher, worse

  • Native
  • Isoloop one, better
  • Isoloop one, worse
  • Isoloop one, within the spread
The table, with each difference’s spread Chromium
Isoloop matched (B) against native + workers (A). Lower is better.
FigureLoadNative + workersIsoloop matchedΔ (B − A)Lowest to highest round
Main thread busy1 kHz65%25%−41 points−48 points to −38 points
Main thread busy5 kHz78%24%−54 points−61 points to −51 points
CPU, all threads1 kHz80%93%+13 points+11 points to +16 points
CPU, all threads5 kHz97%112%+19 points+8 points to +22 points
Typing, median1 kHz33 ms26 ms−11 ms−12 ms to +11 ms
Typing, median5 kHz58 ms41 ms−18 ms−40 ms to +1 ms
First data1 kHz434 ms603 ms+210 ms+126 ms to +353 ms
First data5 kHz366 ms557 ms+207 ms+84 ms to +308 ms
All 72 widgets with data1 kHz2.3 s1.6 s−678 ms−696 ms to −473 ms
All 72 widgets with data5 kHz2.3 s1.5 s−787 ms−813 ms to +157 ms
Recovery after a 3 s block1 kHz3.2 s2.9 s−286 ms−487 ms to −203 ms
Recovery after a 3 s block5 kHz3.2 s2.9 s−248 ms−296 ms to −86 ms
Memory after GC1 kHz199 MB238 MB+39 MB+35 MB to +43 MB
Memory after GC5 kHz227 MB272 MB+46 MB+42 MB to +49 MB
Isoloop one (B) against native (A). Lower is better.
FigureLoadNativeIsoloop oneΔ (B − A)Lowest to highest round
Main thread busy1 kHz66%23%−43 points−50 points to −40 points
Main thread busy5 kHz80%22%−58 points−60 points to −56 points
CPU, all threads1 kHz75%92%+11 points+5 points to +22 points
CPU, all threads5 kHz91%106%+15 points+14 points to +26 points
Typing, median1 kHz34 ms24 ms−10 ms−32 ms to +12 ms
Typing, median5 kHz65 ms38 ms−32 ms−49 ms to −16 ms
First data1 kHz287 ms484 ms+225 ms+147 ms to +291 ms
First data5 kHz222 ms504 ms+276 ms+221 ms to +284 ms
All 72 widgets with data1 kHz1.4 s2.4 s+1.0 s+288 ms to +1.1 s
All 72 widgets with data5 kHz1.2 s2.4 s+1.2 s+1.1 s to +1.3 s
Recovery after a 3 s block1 kHz3.2 s3.5 s+288 ms+279 ms to +398 ms
Recovery after a 3 s block5 kHz3.2 s3.4 s+250 ms+175 ms to +321 ms
Memory after GC1 kHz158 MB193 MB+36 MB+34 MB to +39 MB
Memory after GC5 kHz168 MB207 MB+39 MB+33 MB to +42 MB

Firefox

Isoloop matched against native + workers

Typing, median
  1. 1 kHz

    Native + workers114 ms
    Isoloop matched80 ms

    34 ms lower, better

  2. 5 kHz

    Native + workers134 ms
    Isoloop matched82 ms

    52 ms lower, better

First data
  1. 1 kHz

    Native + workers475 ms
    Isoloop matched1.1 s

    599 ms higher, worse

  2. 5 kHz

    Native + workers418 ms
    Isoloop matched1.0 s

    558 ms higher, worse

All 72 widgets with data
  1. 1 kHz

    Native + workers2.4 s
    Isoloop matched2.0 s

    320 ms lower, within the spread

  2. 5 kHz

    Native + workers1.5 s
    Isoloop matched1.9 s

    377 ms higher, within the spread

Recovery after a 3 s block
  1. 1 kHz

    Native + workers3.4 s
    Isoloop matched3.7 s

    343 ms higher, worse

  2. 5 kHz

    Native + workers3.4 s
    Isoloop matched3.7 s

    320 ms higher, worse

  • Native + workers
  • Isoloop matched, better
  • Isoloop matched, worse
  • Isoloop matched, within the spread

Isoloop one against native

Typing, median
  1. 1 kHz

    Native118 ms
    Isoloop one76 ms

    31 ms lower, better

  2. 5 kHz

    Native129 ms
    Isoloop one109 ms

    14 ms lower, within the spread

First data
  1. 1 kHz

    Native333 ms
    Isoloop one761 ms

    417 ms higher, worse

  2. 5 kHz

    Native350 ms
    Isoloop one834 ms

    482 ms higher, worse

All 72 widgets with data
  1. 1 kHz

    Native1.3 s
    Isoloop one2.5 s

    1.1 s higher, worse

  2. 5 kHz

    Native1.2 s
    Isoloop one2.7 s

    1.4 s higher, worse

Recovery after a 3 s block
  1. 1 kHz

    Native3.4 s
    Isoloop one3.6 s

    287 ms higher, worse

  2. 5 kHz

    Native3.4 s
    Isoloop one3.7 s

    307 ms higher, worse

  • Native
  • Isoloop one, better
  • Isoloop one, worse
  • Isoloop one, within the spread

Firefox reports the timings only: typing, first data, all widgets and recovery.

The table, with each difference’s spread Firefox
Isoloop matched (B) against native + workers (A). Lower is better.
FigureLoadNative + workersIsoloop matchedΔ (B − A)Lowest to highest round
Typing, median1 kHz114 ms80 ms−34 ms−43 ms to −14 ms
Typing, median5 kHz134 ms82 ms−52 ms−63 ms to −9 ms
First data1 kHz475 ms1.1 s+599 ms+489 ms to +721 ms
First data5 kHz418 ms1.0 s+558 ms+541 ms to +672 ms
All 72 widgets with data1 kHz2.4 s2.0 s−320 ms−409 ms to +409 ms
All 72 widgets with data5 kHz1.5 s1.9 s+377 ms−606 ms to +1.3 s
Recovery after a 3 s block1 kHz3.4 s3.7 s+343 ms+77 ms to +374 ms
Recovery after a 3 s block5 kHz3.4 s3.7 s+320 ms+313 ms to +401 ms
Isoloop one (B) against native (A). Lower is better.
FigureLoadNativeIsoloop oneΔ (B − A)Lowest to highest round
Typing, median1 kHz118 ms76 ms−31 ms−49 ms to −30 ms
Typing, median5 kHz129 ms109 ms−14 ms−28 ms to +2 ms
First data1 kHz333 ms761 ms+417 ms+162 ms to +501 ms
First data5 kHz350 ms834 ms+482 ms+353 ms to +546 ms
All 72 widgets with data1 kHz1.3 s2.5 s+1.1 s+351 ms to +1.2 s
All 72 widgets with data5 kHz1.2 s2.7 s+1.4 s+1.4 s to +1.5 s
Recovery after a 3 s block1 kHz3.4 s3.6 s+287 ms+210 ms to +402 ms
Recovery after a 3 s block5 kHz3.4 s3.7 s+307 ms+222 ms to +415 ms

How it’s measured

Machine
An x64 CPU, 4 cores fixed at 2.0 GHz (CPUs 2, 4, 6, 8), 31 GB, Ubuntu 24.04.5 LTS, Node 26.13.0, in mcr.microsoft.com/playwright:v1.65.0-noble, Node 26.13.0, pnpm 12.16.1. The machine does nothing else during a run.
Versions
@isoloop/*@0.1.0, React 19.3.1, Playwright 1.65.0. Browsers: Chromium 158.0.8127.18, Firefox 159.0.
Rounds
5 interleaved rounds. Each round runs every build once, one page at a time, so drift on the machine falls on both sides of a pair.
The difference
Δ is the Isoloop build minus its native build within each round, and its median over the rounds, so it can differ from the difference of the two medians. Its spread is the lowest and the highest round. When the rounds disagree on its sign, the chart says “within the spread” and colours it neither better nor worse.
Each page
  1. Load the page and warm up for 6 s.
  2. A 10 s window with no input: main thread busy and all-thread CPU, each as a share of one core.
  3. 5 keystrokes into a widget’s filter: typing.
  4. A forced garbage collection in the page and every worker, then its memory (Chromium on Linux).
  5. A 3 s block of one machine’s gauges. Recovery is the time until every affected widget shows data from after the block.
When
Each minor and major release is measured on plant-bench, a copy of the plant dashboard whose code changes only at a new generation (1.0, 2.0), so the dashboard is the same from one version to the next.

Feature benchmarks

Single features and the other examples, each measured on its own run. Their findings are with each example on the examples page.

  • Plant dashboard: The interactive page, measured at plant-v0.2.0 (results)
  • Plant dashboard: Phones, measured at plant-v0.1.0-rc.5 (results)
  • Plant dashboard: The inspection feed, measured at plant-v0.3.0 (results)
  • Markets dashboard: Normal and Heavy, measured at markets-v0.3.0 (results)
  • Markets dashboard: Two teams, measured at markets-v0.5.0 (results)
  • Processor: No faults, measured at processor-v0.3.0 (results)
  • Processor: With faults, measured at processor-v0.3.0 (results)
  • Processor: Faults, then calm, measured at processor-v0.3.0 (results)

Plain JavaScript work

Measured on js-bench at @isoloop/*@0.1.0, 24 November 2026, Chromium 158, on bench machine 1, 4 cores fixed at 2.0 GHz.

Plain JavaScript work, such as sorts, Maps, Sets, JSON and structuredClone, with no components and no DOM. Each workload runs on the main thread, in plain Workers and in three Isoloop placements, and the figure is how many operations it completes per second. Higher is better.

This run is Chromium only.

What we found

  1. One copy runs at about the same speed wherever it runs. On 15 of 17 workloads, the main thread, a plain Worker and Isoloop are within 5% of each other. The others (main thread, plain Worker, Isoloop):
    • Small filter/map/reduce: 651,849 / 633,213 / 618,392
    • structuredClone of 5 MB: 7.3 / 7.3 / 6.4
  2. Four copies, a worker each: Isoloop does what plain Workers do. Within 2% on 16 of 17 workloads. That’s 3.1 to 3.9 times the main thread, which runs the copies one at a time. The others (Isoloop against plain Workers):
    • structuredClone of 5 MB: 20.5 against 25.1 (19% fewer)
  3. All four copies in one Isoloop worker do about what the main thread does. Both have one core: within 5% on 14 of 17 workloads. The others (one shared worker against the main thread):
    • Filter/map/reduce on 10k objects: 4,654 against 2,806 (66% more)
    • Dedupe and group 10k: 1,029 against 1,237 (17% fewer)
    • structuredClone of 5 MB: 6.7 against 7.7 (13% fewer)
  4. The balancer gets 94% to 101% of plain Workers on 14 of 17 workloads. It measures every copy first and moves it, and a typical run makes 2 moves inside the window. The others (the balancer against plain Workers):
    • Filter/map/reduce on 10k objects: 16,533 against 10,541 (57% more)
    • Dedupe and group 10k: 3,685 against 4,593 (20% fewer)
    • structuredClone of 5 MB: 20.5 against 25.1 (19% fewer)
  5. The page stays responsive while the work is off the main thread. The page’s 100 ms timer fires late by 3.0 ms or less (p95) in plain Workers and in every Isoloop placement. With the work on the main thread, it’s about 11 ms late with one copy, 203 ms with four, and up to 4.0 s with heavy work.

One open cost: structuredClone of a 5 MB object is slower in an Isoloop worker. With one copy, Isoloop does 6.4 operations per second against 7.3 in a plain Worker; with four, 20.5 against 25.1. The cause isn’t measured yet. The issue tracks it.

Not measured here: start-up time, memory per worker and the cost of the bus. These figures are throughput only.

Four copies at once

Four copies of each workload at once, each in its own worker. Each chart shows plain Workers in grey and Isoloop, a worker each, in colour: the median of the rounds, in operations per second. Higher is better. A difference inside both sides’ lowest-to-highest range reads “within the spread”.

Cheap work, 0.8 µs to 4.5 µs an operation

Array push/pop/indexOf
  1. Plain Workers4,952,607 ops/s
    Isoloop, a worker each4,967,186 ops/s

    the same

Map get/set
  1. Plain Workers2,430,537 ops/s
    Isoloop, a worker each2,429,644 ops/s

    the same

Object read/write
  1. Plain Workers1,831,859 ops/s
    Isoloop, a worker each1,811,044 ops/s

    1% lower, worse

Set add/has/delete
  1. Plain Workers776,657 ops/s
    Isoloop, a worker each776,560 ops/s

    the same

Small filter/map/reduce
  1. Plain Workers2,521,966 ops/s
    Isoloop, a worker each2,553,358 ops/s

    1% higher, within the spread

Regular work, 267 µs to 4.0 ms an operation

Filter/map/reduce on 10k objects
  1. Plain Workers10,541 ops/s
    Isoloop, a worker each10,529 ops/s

    the same

JSON round trip, 50 KB
  1. Plain Workers12,675 ops/s
    Isoloop, a worker each12,474 ops/s

    2% lower, worse

Building and reading a 10k Map
  1. Plain Workers4,069 ops/s
    Isoloop, a worker each4,051 ops/s

    the same

Dedupe and group 10k
  1. Plain Workers4,593 ops/s
    Isoloop, a worker each4,569 ops/s

    1% lower, worse

Sorting 10k numbers
  1. Plain Workers914 ops/s
    Isoloop, a worker each910 ops/s

    the same

Sorting 2k objects
  1. Plain Workers4,974 ops/s
    Isoloop, a worker each5,010 ops/s

    1% higher, better

Heavy work, 44 ms to 796 ms an operation

1M Map inserts
  1. Plain Workers27.3 ops/s
    Isoloop, a worker each27.0 ops/s

    1% lower, worse

300×300 matrix multiply
  1. Plain Workers87.5 ops/s
    Isoloop, a worker each87.7 ops/s

    the same

Sorting 1M numbers
  1. Plain Workers4.7 ops/s
    Isoloop, a worker each4.7 ops/s

    the same

Sorting 200k objects
  1. Plain Workers24.3 ops/s
    Isoloop, a worker each24.3 ops/s

    the same

Sorting a 1M Float64Array
  1. Plain Workers18.5 ops/s
    Isoloop, a worker each18.5 ops/s

    the same

structuredClone of 5 MB
  1. Plain Workers25.1 ops/s
    Isoloop, a worker each20.5 ops/s

    19% lower, worse

  • Plain Workers
  • Isoloop, a worker each, better
  • Isoloop, a worker each, worse
  • Isoloop, a worker each, within the spread
All five placements, four copies at once
Operations per second, four copies at once, the median of the rounds. The balancer’s moves are per round.
WorkloadMain threadPlain WorkersIsoloop, a worker eachIsoloop, one shared workerIsoloop balancerBalancer moves
Array push/pop/indexOf1,625,4854,952,6074,967,1861,614,7124,846,2102, 5, 2
Map get/set619,0932,430,5372,429,644615,4022,349,9323, 2, 2
Object read/write491,9391,831,8591,811,044492,5991,785,6322, 2, 2
Set add/has/delete204,237776,657776,560205,320757,5502, 0, 2
Small filter/map/reduce712,5312,521,9662,553,358682,5492,552,5282, 2, 2
Filter/map/reduce on 10k objects2,80610,54110,5294,65416,5332, 11, 2
JSON round trip, 50 KB3,49212,67512,4743,45112,4442, 2, 2
Building and reading a 10k Map1,1194,0694,0511,1143,9792, 2, 2
Dedupe and group 10k1,2374,5934,5691,0293,6854, 4, 5
Sorting 10k numbers24791491024685812, 13, 13
Sorting 2k objects1,3464,9745,0101,3444,9132, 2, 2
1M Map inserts8.827.327.08.626.39, 7, 4
300×300 matrix multiply22.887.587.722.886.62, 0, 4
Sorting 1M numbers1.34.74.71.24.70, 0, 0
Sorting 200k objects7.324.324.37.123.90, 2, 0
Sorting a 1M Float64Array4.718.518.54.718.50, 0, 0
structuredClone of 5 MB7.725.120.56.720.50, 0, 0

One copy

One copy of each workload: the main thread, a plain Worker and Isoloop. With one copy, Isoloop’s placements are the same, and the balancer has nothing to place.

Operations per second, one copy, the median of the rounds.
WorkloadMain threadPlain WorkerIsoloop, a worker each
Array push/pop/indexOf1,263,6611,268,9521,267,696
Map get/set602,720604,721606,349
Object read/write463,053464,202457,348
Set add/has/delete194,253193,757194,390
Small filter/map/reduce651,849633,213618,392
Filter/map/reduce on 10k objects2,6002,6062,608
JSON round trip, 50 KB3,2363,1393,108
Building and reading a 10k Map1,0341,0341,034
Dedupe and group 10k1,1371,1381,139
Sorting 10k numbers228227227
Sorting 2k objects1,2451,2491,246
1M Map inserts9.29.29.2
300×300 matrix multiply21.821.821.8
Sorting 1M numbers1.31.31.3
Sorting 200k objects7.06.96.9
Sorting a 1M Float64Array4.74.74.7
structuredClone of 5 MB7.37.36.4

How late the page’s timer fires

The page runs a 100 ms timer during each measurement and records how late it fires, p95. That’s the cost to the page, which the operation count alone doesn’t show.

The p95 lateness of the page’s 100 ms timer, the median of the rounds, across the workloads.
PlacementOne copy, typicalOne copy, highestFour copies, typicalFour copies, highest
Main thread11 ms707 ms203 ms4.0 s
Plain Workers0.2 ms0.3 ms2.2 ms2.8 ms
Isoloop, a worker each0.2 ms0.3 ms2.3 ms2.8 ms
Isoloop, one shared worker––0.1 ms0.5 ms
Isoloop balancer––2.0 ms2.4 ms

The balancer scenario Experimental

Two heavy copies and six cheap ones at once. Summed over the copies, a worker each does 1,892,209 operations per second on 8 workers, and the balancer does 1,836,139 on 5 workers, 3% fewer.

The scenario, copy by copy
Operations per second per copy, the median of the rounds, then the workers in use and the page timer’s p95 lateness.
CopyIsoloop, a worker eachIsoloop, one shared workerIsoloop balancer
Sorting a 1M Float64Array2.51.53.8
structuredClone of 5 MB3.21.54.3
Map get/set305,90549,609283,253
Set add/has/delete99,50715,54761,478
Array push/pop/indexOf634,514133,614778,930
Object read/write224,45835,680132,535
Small filter/map/reduce321,04050,369289,601
Map get/set306,78149,100290,333
All copies, summed1,892,209333,9211,836,139
Workers815
Timer lateness, p950.1 ms0.1 ms1.6 ms

How it’s measured

Each measurement
The copies start together and share one clock window: a 10 s warm-up (30 s for the balancer, so it can place the copies), then 60 s counted. The scenario warms up for 30 s and counts 120 s.
Operations
Each operation is deterministic from a seed and returns a number the engine can’t drop. Operations run in batches of about 1 ms, in slices of about 50 ms, and every event loop keeps turning between slices. Every placement uses the same batch sizes.
Placements
The main thread runs the copies interleaved, slice by slice. Plain Workers are one module Worker per copy, with no Isoloop. Isoloop runs one isolate per copy: each in its own worker (the default), all in one worker, or placed by the balancer with up to 4 workers.
Rounds
3 interleaved rounds, each running every workload’s placements in an order rotated per round. A figure is the median of the rounds.
When
js-bench runs before every minor and major release, never for a patch, as the release’s comparison with the one before. This page shows the latest of those, the same version as plant-bench’s figures.

Raw results

Each run’s summary, its raw figures per page, and the machine and versions it ran on.