Yes, proxies are invisible wrappers, but in this case the user doesn't need to care or know they are dealing with proxies because the wiring up is pretty much automated.
I checked the emitted benchmark bundles. Svelte compiles to direct DOM code too, but it still routes updates through a generic runtime: state signals, effect scheduling, and keyed-each reconciliation. Gea’s compiled output is narrower: it generates direct observers for data and selected in the benchmark and its proxy store emits exact operations for append/splice/swap/property-change that feed straight into specialized DOM patchers.
In this benchmark that matters a lot, because Svelte’s implementation often clones/reassigns arrays, while Gea mutates the same proxied array in place and patches only what changed. That’s why Gea comes out faster here.
So they go like:
Svelte: state change -> runtime signal/effect/list reconciliation -> DOM update
Gea: state change -> proxied mutation -> exact change op -> precompiled patch -> DOM update
View all comments
Show parent comment
2
u/nullvoxpopuli sand was never meant to think Mar 23 '26
Proxies aren't inherently better tho, they're an invisible wrapper/trapper abstraction that can wire up something reactive.
Can you expand on how User- > proxy -> reactivity Is better or faster than User -> reactivity?