Skip to content

About the benchmark #15

Description

@limira

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions