logoalt Hacker News

nicoburns • today at 2:17 PM • 1 reply • view on HN

Some actual numbers (vibe coded benchmark ported from the JS framework benchmark):

  Median update+build time per frame (ms), lower is better
  Machine: macOS 26 VM, Apple M4 (virtual)

  benchmark (ms)      Dioxus    Iced    egui   Slint    GPUI
  create 1k            12.91   17.57   10.66   26.99   22.32
  replace 1k           14.46   14.48    7.48   17.07   17.41
  update every 10th     2.12    1.94    4.17    5.55   10.65
  select row            1.16    0.37    3.50    6.62   10.68
  swap rows             1.45    0.42    3.53    4.10   10.26
  remove row            1.32    0.39    3.27    4.46   11.95
  create 10k          124.97  152.52   58.97  136.07  164.58
  append 1k to 10k     28.12  157.67   33.01   69.93  117.70
  clear 1k              3.00    0.86    0.07    4.60    0.04
  scroll frame          0.28    0.10    0.55    4.23    3.79
Dioxus above is Dioxus Native.

These are CPU-only times for the state management / style / layout / etc, but don't include rasterization (additional work in the benchmark harness required to measure GPU time sensibly), probably aren't fully apples-to-apples, and could probably do with testing some more complex layouts.


Replies

nu11ptr • today at 3:51 PM

Did you test gpui_fast? I'm curious how it compares.

➕ show 1 reply