You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know the signals-polyfill is still a proof-of-concept, but I wanted to create an issue to track relative perf regardless, especially since its relative perf was so poor. I also wanted to double check that the signal-polyfill benchmark adapter by @NullVoxPopuli is correct in terms of comparing with the other libs in a fair, apples-to-apples way.
Lastly, if there are any obvious perf improvements that you notice, please let me know and I'll consider working on them.
Benchmark Notes
Some libs like MobX and Valtio are not included in the average results summary because they fail to run some of the benchmark tests.
None of the benchmark tests use deep reactivity of objects, though many of them do test performance on deep graphs of shallow signals. It would be interesting to compare performance of deeply reactive objects / arrays / Map / Set objects in the future.
These results were last updated September 2024 on an M3 Macbook Pro using Node.js v22.4.1.
The text was updated successfully, but these errors were encountered:
Benchmark Results
Raw results CSV (lower times are better)
These results are from my fork of @milomg's excellent js-reactivity-benchmark, which aggregates signal benchmarks from several libraries together.
I know the
signals-polyfill
is still a proof-of-concept, but I wanted to create an issue to track relative perf regardless, especially since its relative perf was so poor. I also wanted to double check that the signal-polyfill benchmark adapter by @NullVoxPopuli is correct in terms of comparing with the other libs in a fair, apples-to-apples way.Lastly, if there are any obvious perf improvements that you notice, please let me know and I'll consider working on them.
Benchmark Notes
Some libs like MobX and Valtio are not included in the average results summary because they fail to run some of the benchmark tests.
None of the benchmark tests use deep reactivity of objects, though many of them do test performance on deep graphs of shallow signals. It would be interesting to compare performance of deeply reactive objects / arrays /
Map
/Set
objects in the future.These results were last updated September 2024 on an M3 Macbook Pro using Node.js v22.4.1.
The text was updated successfully, but these errors were encountered: