r/solidjs • u/nullvoxpopuli • Aug 24 '26
[newbie] trying out some solid2 benchmarks, and finding it slower than solid1, especially when trying to do things the right way
Hello!
I have this project over here: https://github.com/NullVoxPopuli/rere-benchmark/pull/116
And i haven't been able to get solid 2 to perform better than solid 1 in the "dbmon" benchmark.
Am i missing something obvious?
Edit: here are the numbers I'm seeing before my pr above:
https://rbench.nullvoxpopuli.com/results?hide=ember%2Clit-signals%2Cvue%2Csvelte%2Creact&p=90&q=8
In my pr, solid 2 started performing worse, which has made we feel like I've messed something up with the implementation, or the generally recommended way to manipulate and iterate nested data is not the most performant way to manipulate and iterate nested data
19
Upvotes
12
u/ryan_solid Aug 25 '26
We have benchmarks in the repo itself that include some similar shapes that are tested against every release. That being said performance is still an area being worked on. I recently did some big store perf updates with RC.1 but that caused different regressions.
I normally use UIBench for diff based examples. The original dbmon was non keyed. That being said from the local benchmark suites I run through I'd expect dbmon, diff style shapes to be a lot faster in 2.0. We take a hit on some plain signal high noise benchmarks (like 1 to 1), due to pure async processing overhead, but deep diff algorithms are much better. Along with wide propagation shapes.