Skip to content

Conversation

@Madoshakalaka
Copy link
Member

Implement ImplicitClone for UseStateHandle, UseStateSetter, UseReducerHandle, and UseReducerDispatcher

Checklist

  • I have reviewed my own code
  • I have added tests

@github-actions
Copy link

github-actions bot commented Jul 17, 2025

Visit the preview URL for this PR (updated for commit 1da50af):

https://yew-rs-api--pr3878-more-implicit-clone-4338v7pg.web.app

(expires Thu, 24 Jul 2025 23:34:42 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

UseStateHandle, UseStateSetter, UseReducerHandle, UseReducerDispatcher
@github-actions
Copy link

github-actions bot commented Jul 17, 2025

Benchmark - core

Yew Master

vnode           fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ vnode_clone  2.435 ns      │ 2.684 ns      │ 2.441 ns      │ 2.457 ns      │ 100     │ 1000000000

Pull Request

vnode           fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ vnode_clone  2.463 ns      │ 2.731 ns      │ 2.466 ns      │ 2.473 ns      │ 100     │ 1000000000

@github-actions
Copy link

github-actions bot commented Jul 17, 2025

Benchmark - SSR

Yew Master

Details
Benchmark Round Min (ms) Max (ms) Mean (ms) Standard Deviation
Baseline 10 310.428 313.201 310.928 0.809
Hello World 10 471.068 500.292 478.289 9.437
Function Router 10 1618.350 1632.844 1625.594 4.132
Concurrent Task 10 1005.620 1007.300 1006.661 0.538
Many Providers 10 1052.275 1098.596 1073.420 17.712

Pull Request

Details
Benchmark Round Min (ms) Max (ms) Mean (ms) Standard Deviation
Baseline 10 310.697 310.928 310.803 0.077
Hello World 10 465.032 468.572 466.316 1.211
Function Router 10 1622.835 1642.672 1631.743 5.976
Concurrent Task 10 1005.824 1007.630 1006.618 0.550
Many Providers 10 1062.500 1089.748 1074.542 8.811

@Madoshakalaka Madoshakalaka marked this pull request as ready for review July 20, 2025 14:23
@Madoshakalaka Madoshakalaka merged commit 607a6cc into master Jul 24, 2025
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants