Hmm... sorry for opening this issue here. It's not about Dominator, just bring up by Dominator.
I saw Dominator's benchmark on Rust+Wasm news.
wasm-bindgen slower in some benchmarks
There are some benchmarks where Dominator v0.5 slower than v0.4.4:
| ... |
v0.5 |
v0.4.4 |
v0.5 slowdown |
| partial update |
544 |
418 |
>20% |
| select row |
82.4 |
76.9 |
>5% |
| swap |
108 |
90.6 |
~20% |
| remove row |
56.9 |
51.8 |
~10% |
What do you think about these? Are there problems with wasm-bindgen?
Creating 10,000 vs 1,000 rows:
| ... |
vanillajs |
inferno |
wasm bindgen |
preact |
dominator |
react |
stdweb |
yew |
| 1,000 rows (1) |
110 |
130 |
200 |
155 |
201 |
171 |
228 |
314 |
| 10,000 rows (2) |
1177 |
1373 |
2024 |
1864 |
2630 |
1981 |
2378 |
3237 |
| ratio = (2)/(1) |
~10.5 |
~10.5 |
~10 |
~12 |
~13 |
~11 |
~10.5 |
~10.3 |
The ratio of Dominator is not good, but the ratio of Yew is perfectly normal?
Hmm... sorry for opening this issue here. It's not about Dominator, just bring up by Dominator.
I saw Dominator's benchmark on Rust+Wasm news.
wasm-bindgen slower in some benchmarks
There are some benchmarks where Dominator v0.5 slower than v0.4.4:
What do you think about these? Are there problems with wasm-bindgen?
Creating 10,000 vs 1,000 rows:
The ratio of Dominator is not good, but the ratio of Yew is perfectly normal?