Benchmarks

BUI's published numbers with their full context: start time and battery cost for every API, frame times, Rust against gpui, and JavaScript startup and animation.

  • Windows 11
  • Linux

First frame

Rust, 3000 animated cells: from launch to the first frame on screen

Lower is better

40×sooner on screen than gpui-fast

  • BUI
  • Others
  • blenderuiGPU renderer~5 ms
  • blenderuiCPU renderer~5 ms
  • gpui-fast~200 ms40× more
  • gpui~220 ms44× more
Open bench
Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Start time, same gpui code

One gpui-syntax file compiled against each library; median of 10 launches

Lower is better

5.7×faster start than gpui-fast

  • BUI
  • Others
  • blenderuiCPU renderer40 ms
  • blenderuiGPU renderer43 ms
  • gpui-fastGPU226 ms5.7× more
  • gpuiZed's, GPU231 ms5.8× more
Open bench
Start time, the same gpui-syntax file (bindings/rust/bench/common/settings.rs) compiled against each library: median of 10 launches, process start to first frame
Same gpui codeRendererStart timeCPU used to startMemory (idle)Idle CPU per minute
blenderuiCPU40 ms27 ms15 MB0 ms
blenderuiGPU43 ms60 ms31 MB2.1 ms
gpuiGPU231 ms226 ms29 MB743 ms
gpui-fastGPU226 ms217 ms31 MB2.5 ms

gpui has no form widgets, so there the controls are styled divs. Memory doesn't count GPU memory.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

CPU per frame

Rust, 3000 animated cells; gpui's numbers don't include its GPU time

Lower is better

2.8×less CPU per frame than gpui-fast

  • BUI
  • Others
  • blenderuiGPU renderer11.6 ms
  • blenderuiCPU renderer22.0 ms
  • gpui-fast31.9 ms + GPU2.8× more
  • gpui50.5 ms + GPU4.4× more
Open bench
Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

RAM

Rust, 3000 animated cells

Lower is better

2.6×less RAM than gpui (CPU renderer)

  • BUI
  • Others
  • blenderuiGPU renderer40 MB
  • blenderuiCPU renderer30 MB
  • gpui-fast65 MB2.2× more
  • gpui77 MB2.6× more
Open bench
Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Ryzen 7 5800U laptop, Windows 11, on AC power. Measured before the latest features (ImGui, the Linux GPU renderer, the Blender search and expression code) landed. Your numbers will differ; the tools ship with the repo. gpui figures don't include their GPU time.

Method and raw data

BUI is fast where it matters to people: it opens quickly, it sits at zero CPU while you’re not touching it, and it stays smooth when thousands of things move. Here are the numbers, with everything you need to judge them.

Start time and battery

What was measured: the same small settings window (a label, a text field, a checkbox, a slider and a button), written each of the five ways, from bench/apps. Each ran on BUI’s CPU renderer (the default) and on its GPU renderer (BUI_GPU=1).

The last rows are one gpui-syntax source file, settings.rs, compiled unchanged against blenderui, Zed’s gpui and gpui-fast. gpui has no form widgets, so there the controls are styled divs.

How: the median of 10 launches, from process start until the first frame is on screen, with Python 3.14 and Node 22.

Start time, every way in

The same small settings window written five ways; median of 10 launches

Lower is better

  • CPU renderer
  • GPU renderer
  • RustHTML + CSS
    • CPU renderer: 38 ms
    • GPU renderer: 42 ms
  • JavaScriptReact, Node.js
    • CPU renderer: 94 ms
    • GPU renderer: 99 ms
  • Blender componentsPython
    • CPU renderer: 112 ms
    • GPU renderer: 116 ms
  • tkinter syntaxPython
    • CPU renderer: 139 ms
    • GPU renderer: 159 ms
  • Qt syntaxPython
    • CPU renderer: 156 ms
    • GPU renderer: 161 ms
Open bench
Start time and battery: the same small settings window, median of 10 launches, process start to first frame
AppRendererStart timeCPU used to startMemory (idle)Idle CPU per minute
Rust (HTML + CSS)CPU38 ms27 ms13 MB0 ms
GPU42 ms61 ms31 MB1.8 ms
JavaScript (React, Node.js)CPU94 ms100 ms48 MB68 ms
GPU99 ms131 ms60 MB71 ms
Blender components (Python)CPU112 ms86 ms23 MB0 ms
GPU116 ms125 ms32 MB1.7 ms
tkinter syntax (Python)CPU139 ms112 ms25 MB0.2 ms
GPU159 ms157 ms43 MB2.4 ms
Qt syntax (Python)CPU156 ms123 ms27 MB0 ms
GPU161 ms160 ms36 MB1.2 ms
Same gpui code: blenderuiCPU40 ms27 ms15 MB0 ms
blenderuiGPU43 ms60 ms31 MB2.1 ms
gpuiGPU231 ms226 ms29 MB743 ms
gpui-fastGPU226 ms217 ms31 MB2.5 ms

Python 3.14 and Node 22. The last rows are one gpui-syntax source file (bindings/rust/bench/common/settings.rs) compiled unchanged against blenderui, gpui and gpui-fast; gpui has no form widgets, so there the controls are styled divs. Battery cost is the CPU time an app causes; memory doesn't count GPU memory.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Start time and battery: the same small settings window, median of 10 launches, process start to first frame
AppRendererStart timeCPU used to startMemory (idle)Idle CPU per minute
Rust (HTML + CSS)CPU38 ms27 ms13 MB0 ms
GPU42 ms61 ms31 MB1.8 ms
JavaScript (React, Node.js)CPU94 ms100 ms48 MB68 ms
GPU99 ms131 ms60 MB71 ms
Blender components (Python)CPU112 ms86 ms23 MB0 ms
GPU116 ms125 ms32 MB1.7 ms
tkinter syntax (Python)CPU139 ms112 ms25 MB0.2 ms
GPU159 ms157 ms43 MB2.4 ms
Qt syntax (Python)CPU156 ms123 ms27 MB0 ms
GPU161 ms160 ms36 MB1.2 ms
Same gpui code: blenderuiCPU40 ms27 ms15 MB0 ms
blenderuiGPU43 ms60 ms31 MB2.1 ms
gpuiGPU231 ms226 ms29 MB743 ms
gpui-fastGPU226 ms217 ms31 MB2.5 ms

Python 3.14 and Node 22. The last rows are one gpui-syntax source file (bindings/rust/bench/common/settings.rs) compiled unchanged against blenderui, gpui and gpui-fast; gpui has no form widgets, so there the controls are styled divs. Battery cost is the CPU time an app causes; memory doesn't count GPU memory.

What it means:

  • On the same code, blenderui shows its first frame about 5× sooner than gpui and gpui-fast, spends about 8× less CPU getting there, and on the CPU renderer uses half the memory.
  • Idle, gpui keeps about 1.2% of a core busy. blenderui uses none.
  • The GPU renderer starts a little slower and uses more memory (the GPU device). It pays off on large, animated scenes, below.

Start time, same gpui code

One gpui-syntax file compiled against each library; median of 10 launches

Lower is better

5.7×faster start than gpui-fast

  • BUI
  • Others
  • blenderuiCPU renderer40 ms
  • blenderuiGPU renderer43 ms
  • gpui-fastGPU226 ms5.7× more
  • gpuiZed's, GPU231 ms5.8× more
Open bench
Start time, the same gpui-syntax file (bindings/rust/bench/common/settings.rs) compiled against each library: median of 10 launches, process start to first frame
Same gpui codeRendererStart timeCPU used to startMemory (idle)Idle CPU per minute
blenderuiCPU40 ms27 ms15 MB0 ms
blenderuiGPU43 ms60 ms31 MB2.1 ms
gpuiGPU231 ms226 ms29 MB743 ms
gpui-fastGPU226 ms217 ms31 MB2.5 ms

gpui has no form widgets, so there the controls are styled divs. Memory doesn't count GPU memory.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Idle CPU, same gpui code

CPU time per minute while the window sits idle

Lower is better

0 msidle CPU on the CPU renderer: it sleeps

  • BUI
  • Others
  • blenderuiCPU renderer0 ms
  • blenderuiGPU renderer2.1 ms
  • gpui-fastGPU2.5 ms1.2× more
  • gpuiZed's, GPU743 ms354× more
Open bench
Start time, the same gpui-syntax file (bindings/rust/bench/common/settings.rs) compiled against each library: median of 10 launches, process start to first frame
Same gpui codeRendererStart timeCPU used to startMemory (idle)Idle CPU per minute
blenderuiCPU40 ms27 ms15 MB0 ms
blenderuiGPU43 ms60 ms31 MB2.1 ms
gpuiGPU231 ms226 ms29 MB743 ms
gpui-fastGPU226 ms217 ms31 MB2.5 ms

gpui has no form widgets, so there the controls are styled divs. Memory doesn't count GPU memory.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

How battery cost is measured: laptops can’t report energy per app, so the benchmark uses CPU time as a proxy. It counts the CPU an app spends starting up, and the CPU it uses over 20 seconds while the window sits idle: that’s what drains a battery while an app is open. BUI redraws only when something changes and otherwise sleeps, so idle use is near zero on either renderer.

Fine print: Node’s event loop accounts for the JavaScript idle figure. Python’s times include starting the interpreter. Memory doesn’t count GPU memory.

Frame times

What was measured: the full Blender components demo (520×900), from Python and C.

Frame cost

Python and C, the full component demo (520×900)

Lower is better

0.05 msfor a hover or scrub frame

  • Complete frameeverything redrawn~0.7 ms
  • Input to screennative window~0.06 ms
  • Hover or scrubdamage only~0.05 ms
Open bench
Python and C, the full component demo (520×900)
FrameTime
Complete frame (everything redrawn)~0.7 ms
Hover or number-scrub frame (damage only)~0.05 ms
Native window: input event → on screen~0.06 ms

Dear ImGui's demo window with every section open (27k triangles, 1280×800) is a full software redraw of about 5–8 ms.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Rust against gpui and gpui-fast

What was measured: a 1000×800 window filled with N rounded, numbered cells, built with the same element tree in every framework. In this table, every cell changes every frame (the worst case), with 3,000 cells. All apps ran in the same session.

Frames per second

Rust, 3000 animated cells, same session

Higher is better

3×the frame rate of gpui

  • BUI
  • Others
  • blenderuiGPU renderer59.9 fps
  • blenderuiCPU renderer57.6 fps
  • gpui-fast31.5 fps1.9× fewer
  • gpui19.9 fps3× fewer
Open bench
Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

CPU per frame

Rust, 3000 animated cells; gpui's numbers don't include its GPU time

Lower is better

2.8×less CPU per frame than gpui-fast

  • BUI
  • Others
  • blenderuiGPU renderer11.6 ms
  • blenderuiCPU renderer22.0 ms
  • gpui-fast31.9 ms + GPU2.8× more
  • gpui50.5 ms + GPU4.4× more
Open bench
Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Rust, 3000 animated cells, all apps in the same session
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS59.957.631.519.9
CPU per frame11.6 ms22.0 ms31.9 ms + GPU50.5 ms + GPU
RAM40 MB30 MB65 MB77 MB
First frame~5 ms~5 ms~200 ms~220 ms
Idle CPU0 %0–0.9 %0–0.4 %0.9–1.4 %

gpui-fast's heavy-scene frame rate varies between sessions on this laptop (30–60 fps), so compare within one session.

More results, at 100 and 1,000 cells:

Uncapped frame rate

Frames per second with vsync off, as the scene grows

Higher is better

  • blenderui GPU
  • blenderui CPU
05001,0001,5002,0001001,0003,000animated cells · fps1,4913099464920276
Open bench
Rust, full results: 100, 1000 and 3000 animated cells
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS, 1000 animated cells606049.236.4
CPU per frame, 1000 / 100 cells4.7 / 1.2 ms10.2 / 4.6 ms20.5 / 2.7 ms + GPU27.7 / 4.7 ms + GPU
Uncapped FPS, 100 / 1000 / 3000 cells1491 / 309 / 94649 / 202 / 76--
RAM, 1000 / 100 cells35 / 28 MB24 / 21 MB45 / 47 MB47 / 40 MB
GPU memory19–22 MBnone19–24 MB16–21 MB

The GPU renderer is off by default: Application::new().gpu(true), tk.Tk(gpu=True), bui.set_gpu(True) or BUI_GPU=1. Its shaders evaluate the software raster's formulas: 10 of 172,800 pixels differ by more than 3/255.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Rust, full results: 100, 1000 and 3000 animated cells
blenderui (GPU)blenderui (CPU)gpui-fastgpui
FPS, 1000 animated cells606049.236.4
CPU per frame, 1000 / 100 cells4.7 / 1.2 ms10.2 / 4.6 ms20.5 / 2.7 ms + GPU27.7 / 4.7 ms + GPU
Uncapped FPS, 100 / 1000 / 3000 cells1491 / 309 / 94649 / 202 / 76--
RAM, 1000 / 100 cells35 / 28 MB24 / 21 MB45 / 47 MB47 / 40 MB
GPU memory19–22 MBnone19–24 MB16–21 MB

The GPU renderer is off by default: Application::new().gpu(true), tk.Tk(gpu=True), bui.set_gpu(True) or BUI_GPU=1. Its shaders evaluate the software raster's formulas: 10 of 172,800 pixels differ by more than 3/255.

What it means:

  • The GPU renderer beats gpui-fast on every measurement. It uses 2.2× less CPU per frame at 100 cells, 4.4× less at 1,000 and 2.8× less at 3,000, where it also runs at nearly twice the frame rate. It uses less RAM and the same GPU memory.
  • The GPU renderer halves blenderui’s own CPU cost (22.0 to 11.6 ms at 3,000 cells). What stays on the CPU is the Rust side: cascade, layout and the paint list.
  • The CPU raster stays the lightest on memory and remains the default.

How: each app measures its own CPU cycles across all threads (Windows’ QueryProcessCycleTime), its frames and its memory, over a 10-second window after a 3-second warm-up. The runner adds GPU utilisation and GPU memory from Windows’ performance counters, because GPU work isn’t process CPU time. “+ GPU” means gpui’s numbers exclude its GPU work, so read them with the GPU columns in the full results.

Fine print: one laptop, one 60 Hz display (which caps every app), an integrated GPU.

JavaScript and React

Startup

What was measured: a small React app (a counter) that quits as soon as its first frame is on screen. Each figure is the median of 12 launches after a warm-up launch (node bench/startup.js).

JavaScript: first frame

A small React app, median of 12 launches

Lower is better

7.3 MBsingle executable with QuickJS

  • QuickJS executablebui build68 ms
  • Bun executablebui build --bun79 ms
  • Bunbun app.js80 ms
  • Node.jsnode app.js108 ms
Open bench
JavaScript startup: a small React app that quits after its first frame, median of 12 launches after a warm-up
First frameLaunch to exitRAM at first frameWhat you ship
QuickJS executable (bui build)68 ms104 ms19 MB7.3 MB
Bun executable (bui build --bun)79 ms147 ms35 MB114 MB
Bun (bun app.js)80 ms152 ms35 MBBun + your app
Node.js (node app.js)108 ms187 ms45 MBNode + your app
Rust (for reference: the benchmark app)5 ms~92 ms3.5 MB

First frame is measured from the runtime's start. Launch to exit is wall time measured from outside, including process creation and teardown. The QuickJS executable's size was re-measured on 2026-11-06, with the image decoders and the dist build profile (fat LTO, section GC): 7,273,719 bytes; the times are from the earlier run.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

JavaScript startup: a small React app that quits after its first frame, median of 12 launches after a warm-up
First frameLaunch to exitRAM at first frameWhat you ship
QuickJS executable (bui build)68 ms104 ms19 MB7.3 MB
Bun executable (bui build --bun)79 ms147 ms35 MB114 MB
Bun (bun app.js)80 ms152 ms35 MBBun + your app
Node.js (node app.js)108 ms187 ms45 MBNode + your app
Rust (for reference: the benchmark app)5 ms~92 ms3.5 MB

First frame is measured from the runtime's start. Launch to exit is wall time measured from outside, including process creation and teardown. The QuickJS executable's size was re-measured on 2026-11-06, with the image decoders and the dist build profile (fat LTO, section GC): 7,273,719 bytes; the times are from the earlier run.

Animation

What was measured: the same scene as the Rust table, in one mode: one cell changes per frame, like a hover or a ticking value. GPU renderer, medians of 3 runs, React’s production build. CPU is the whole process, counted with the cycle counter as for Rust.

  • Plain JS uses @blender-ui/native.
  • React with signals passes the changing values as signals, so the grid renders once.
  • React with state re-renders the grid every frame.

JavaScript: CPU per frame, 3,000 cells

One cell changes per frame; GPU renderer

Lower is better

  • Plain JS
  • React + signals
  • React + state
  • QuickJS
    • Plain JS: 16.3 ms
    • React + signals: 14.9 ms
    • React + state: 51 ms
  • Bun 1.4
    • Plain JS: 13.1 ms
    • React + signals: 13.3 ms
    • React + state: 20.8 ms
  • Node 22
    • Plain JS: 14.4 ms
    • React + signals: 14 ms
    • React + state: 18.9 ms
Open bench
JavaScript animation, 3,000 cells: one cell changes per frame, GPU renderer, medians of 3 runs
3,000 cellsFPSCPU per frameRAM
Rust59.612.0 ms43 MB
QuickJS: plain JS / React with signals / React with state59.1 / 58.7 / 19.716.3 / 14.9 / 51.0 ms56 / 61 / 67 MB
Bun 1.4: plain JS / React with signals / React with state58.8 / 58.4 / 55.813.1 / 13.3 / 20.8 ms80 / 85 / 118 MB
Node 22: plain JS / React with signals / React with state55.8 / 56.7 / 54.814.4 / 14.0 / 18.9 ms88 / 93 / 121 MB

Plain JS uses @blender-ui/native; React with signals renders the grid once; React with state re-renders it every frame. React's production build throughout.

Source: README.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

JavaScript animation, 3,000 cells: one cell changes per frame, GPU renderer, medians of 3 runs
3,000 cellsFPSCPU per frameRAM
Rust59.612.0 ms43 MB
QuickJS: plain JS / React with signals / React with state59.1 / 58.7 / 19.716.3 / 14.9 / 51.0 ms56 / 61 / 67 MB
Bun 1.4: plain JS / React with signals / React with state58.8 / 58.4 / 55.813.1 / 13.3 / 20.8 ms80 / 85 / 118 MB
Node 22: plain JS / React with signals / React with state55.8 / 56.7 / 54.814.4 / 14.0 / 18.9 ms88 / 93 / 121 MB

Plain JS uses @blender-ui/native; React with signals renders the grid once; React with state re-renders it every frame. React's production build throughout.

JavaScript animation, 1,000 cells
1,000 cellsFPSCPU per frameRAM
Rust604.8 ms32 MB
QuickJS: plain JS / React with signals / React with state60 / 60 / 56.86.0 / 5.6 / 17.8 ms38 / 40 / 43 MB
Bun: plain JS / React with signals / React with state60 / 60 / 605.2 / 5.2 / 7.5 ms58 / 63 / 81 MB
Node: plain JS / React with signals / React with state60 / 60 / 605.6 / 5.6 / 6.9 ms68 / 71 / 97 MB

What it means:

  • JavaScript costs little over Rust: 0.4–2.4 ms per frame, for sending changes to BUI’s UI thread.
  • Signals make React as cheap as the plain API: the component doesn’t re-render.
  • QuickJS starts fastest and uses the least memory, from a 7 MB file. It has no JIT, so re-rendering a 3,000-element list every frame drops it to 20 FPS. Keep big lists on signals, or build with --bun.

React and Svelte, side by side

What was measured: the same scenes from @blender-ui/react and @blender-ui/svelte, in one session, runs interleaved (bench/cells.js --react | --svelte [--signals], bench/startup.js [--svelte]). This session’s machine ran every variant at 26–29 FPS, so compare these rows with each other, not with the tables above. Besides CPU per frame (mostly BUI’s own rendering here), cells.js reports the JavaScript cost of one update alone.

React vs Svelte: JavaScript per update, 3,000 cells

One cell changes; the framework applies it and sends it to the UI thread; median of 3 sessions of 500

Lower is better

  • Plain JS
  • React + signals
  • Svelte + signals
  • Svelte (runes)
  • Node 26
    • Plain JS: 14.1 µs
    • React + signals: 23.3 µs
    • Svelte + signals: 16.8 µs
    • Svelte (runes): 65.3 µs
  • Bun 1.4
    • Plain JS: 12.6 µs
    • React + signals: 17 µs
    • Svelte + signals: 19 µs
    • Svelte (runes): 75.7 µs
  • QuickJS
    • Plain JS: 28.1 µs
    • React + signals: 40.2 µs
    • Svelte + signals: 35.6 µs
    • Svelte (runes): 790 µs
Open bench
React vs Svelte, 3,000 animated cells (bench/cells.js): one cell changes per frame, GPU renderer, medians of 3 interleaved runs, one session (2026-11-06, after this release's Svelte work)
3,000 cellsCPU per frameRAMJS heapJavaScript per update
Node 26: plain JS37.0 ms92 MB7.6 MB14 µs
Node 26: React with signals / with state37.6 / 38.1 ms100 / 166 MB12.4 / 19.4 MB23 µs / 5.2 ms
Node 26: Svelte with signals / runes39.0 / 39.4 ms116 / 117 MB20.6 / 24.8 MB17 / 65 µs
Bun 1.4: plain JS37.4 ms81 MB2.7 MB13 µs
Bun 1.4: React with signals / with state38.4 ms / (see note)87 / 111 MB6.1 / 11.7 MB17 µs / 8.6 ms
Bun 1.4: Svelte with signals / runes36.8 / 35.9 ms97 / 98 MB10.3 / 10.2 MB19 / 76 µs
QuickJS: plain JS38.6 ms59 MB28 µs
QuickJS: React with signals / with state37.8 ms / (see note)60 MB40 µs / 76 ms
QuickJS: Svelte with signals / runes38.5 / 37.0 ms75 / 75 MB36 / 790 µs

Every variant ran at 26–29 FPS in this session (the machine, not the code), so CPU per frame is mostly BUI's own rendering and differs within noise; the last column is the JavaScript cost of one update alone (500 back to back, each applied and sent to the UI thread). Svelte with signals passes BUI signals as values, which bind their nodes: writes skip Svelte, as React's signal props skip React. Svelte with runes pays Svelte's own flush, which walks the component's effects (3,000 here). React with state on Bun and QuickJS: its 500 back-to-back re-renders (8.6 and 76 ms each) overran the warm-up, so its frame numbers from this session aren't valid.

Source: docs/javascript.md#performance · Ryzen 7 5800U laptop, Windows 11, on AC power

Svelte before and after this release's work, same session as above (medians of 3)
3,000 cellsRAM (before / after)JS heap (before / after)JavaScript per update (before / after)
Node 26: Svelte runes123 / 117 MB21.7 / 24.8 MB85 / 65 µs
Node 26: Svelte with signals123 / 116 MB22.2 / 20.6 MB87 / 17 µs
Bun 1.4: Svelte runes102 / 98 MB10.9 / 10.2 MB78 / 76 µs
Bun 1.4: Svelte with signals102 / 97 MB11.4 / 10.3 MB86 / 19 µs
QuickJS: Svelte runes76 / 75 MB790 / 790 µs
QuickJS: Svelte with signals76 / 75 MB793 / 36 µs

Before: signals as stores ($style), Svelte's own update functions through the DOM, Map attributes. JS heap is sampled without a forced GC, so it includes garbage.

React vs Svelte, startup: the same small counter app (bench/first-frame.js, bench/first-frame-svelte.js) quits after its first frame; median of 12 launches after a warm-up, one session (2026-11-06, after this release's Svelte work)
First frameReactSvelteSvelte beforeRAM at first frame (React / Svelte)
QuickJS executable (bui build, 6.9 MB either way)93 ms89 ms81 ms20.4 / 20.4 MB
Bun executable (bui build --bun)106 ms90 ms94 ms37.8 / 38.8 MB
Bun (bun --preload …/register app.js)107 ms121 ms203 ms36.5 / 40.2 MB
Node.js (node --import …/register app.js)125 ms135 ms393 ms52.1 / 55.4 MB

On Node.js and Bun, register now serves Svelte's runtime bundled (once, with Bun, into node_modules/.cache) and compiled components from the cache; before, Svelte's runtime loaded from about 90 source modules. The React and Svelte columns ran one after the other, not interleaved. Bun sometimes crashes when a React app quits (after its first frame; 5 of 12 launches here, 11 of 12 for the Bun executable), a bug that predates this work; those launches count for first frame but not for exit time.

  • Svelte with signals costs what React with signals does: a BUI signal passed as a value binds its node, so an update skips Svelte entirely (17–36 µs, against 17–40 µs for React).
  • Svelte with runes pays Svelte’s flush, which walks the component’s effects: 65–76 µs on Node.js and Bun, 790 µs on QuickJS (no JIT) for 3,000 cells. Per frame, that’s within the noise of BUI’s rendering.
  • Memory: Svelte keeps 10–17 MB more than React with signals at 3,000 cells. A heap snapshot puts it in Svelte’s own effects, closures and each-block items (about 1.9 KB per cell); BUI’s nodes are the same objects for both.
  • Startup: with its runtime bundled, a Svelte app reaches its first frame within 10–15 ms of a React one on Node.js and Bun (it was 0.1–0.3 s later), and as fast as React’s when built with bui build.

Vue, next to React and Svelte

What was measured: @blender-ui/vue in a second session, with React and Svelte run again for comparison (bench/cells.js --vue [--isolate], bench/startup.js --vue). Every variant ran at 49–56 FPS here, so compare these rows with each other, not with the tables above.

Vue next to React and Svelte, 3,000 animated cells (bench/cells.js --vue [--isolate]): one cell changes per frame, GPU renderer, medians of 3 interleaved runs, one session (2026-11-11)
3,000 cellsFPSRAMJS heapJavaScript per update
Node 26: React with state51.0228 MB45 MB3.1 ms
Node 26: Svelte with runes54.9115 MB22 MB50 µs
Node 26: Vue, state in the root component54.7260 MB44 MB5.4 ms
Node 26: Vue, cell 0 a component of its own53.9112 MB21 MB25 µs
Bun 1.4: React with state53.6118 MB8 MB3.9 ms
Bun 1.4: Svelte with runes53.498 MB10 MB48 µs
Bun 1.4: Vue, state in the root component53.4142 MB16 MB6.7 ms
Bun 1.4: Vue, cell 0 a component of its own56.0107 MB11 MB27 µs

This session's machine ran every variant at 49–56 FPS, so compare these rows with each other, not with the 2026-11-06 tables. With the state in the root component Vue re-runs the render function and compares the 3,000 cells, as React does; with the changing cell in a component of its own, only that component re-renders. Vue applies updates in a microtask, so JavaScript per update includes the nextTick hop. CPU per frame is left out: for Vue with state in the root on Bun it varied between runs (80%, 45% and 50% of a core, against a steady ~100% for the others). There is no signals row: a BUI signal binds an attribute or a style in a Vue template, not text.

React vs Vue, startup: the same small counter app (bench/first-frame.js, bench/first-frame-vue.js) quits after its first frame; median of 8 launches after a warm-up, one session (2026-11-11)
First frameReactVueRAM at first frame (React / Vue)
QuickJS executable (bui build, 6.4 / 6.5 MB)43 ms66 ms14.5 / 17.5 MB
Bun executable (bui build --bun)46 ms77 ms29.9 / 40.3 MB
Bun (bun --preload …/register app.js)58 ms101 ms34.7 / 48.7 MB
Node.js (node --import …/register app.js)72 ms125 ms43.7 / 56.3 MB

Vue's SFC compiler is most of its size, so register caches compiled components in node_modules/.cache/@blender-ui/vue, and a cached start never loads its SFC compiler (vue/compiler-sfc): before the cache Node.js took 209 ms and Bun 189 ms. The executables bundle compiled components and don't use the cache. The React and Vue columns ran one after the other, not interleaved.

  • State in the root component re-renders everything, as in React: Vue runs the render function and compares the 3,000 cells, 5.4–6.7 ms per update. With the changing cell in a component of its own, only that component re-renders: 25–27 µs and 107–112 MB, in line with Svelte’s runes.
  • Startup: a cached start never loads Vue’s SFC compiler (vue/compiler-sfc), which took Node.js from 209 to 125 ms and Bun from 189 to 101 ms. The standalone executables bundle compiled components and start in 66 and 77 ms.

Next steps

Edit this page on GitHub

Last updated