-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement event handling with multiple subtree roots * add listeners to all subtree roots * move host element to Registry * add BSubtree argument * surface level internal API for BSubtree * cache invalidation & document limitations * Update portal documentation * Add test case for hierarchical event bubbling * add shadow dom test case * add button to portals/shadow dom example * change ShadowRootMode in example to open BSubtree controls the element where listeners are registered. we have create_root and create_ssr Async event dispatching is surprisingly complicated. Make sure to see #2510 for details, comments and discussion takes care of catching original events in shadow doms
- Loading branch information
1 parent
bbb7ded
commit ee6a67e
Showing
22 changed files
with
1,195 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ee6a67e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yew master branch benchmarks (Lower is better)
yew-struct-keyed 01_run1k
214.97
283.168
0.76
yew-struct-keyed 02_replace1k
218.0205
287.736
0.76
yew-struct-keyed 03_update10th1k_x16
396.078
392.2815
1.01
yew-struct-keyed 04_select1k
81.9455
83.3
0.98
yew-struct-keyed 05_swap1k
102.1965
111.2725
0.92
yew-struct-keyed 06_remove-one-1k
34.729
36.055499999999995
0.96
yew-struct-keyed 07_create10k
2490.689
3179.486
0.78
yew-struct-keyed 08_create1k-after1k_x2
475.3195
628.8935
0.76
yew-struct-keyed 09_clear1k_x8
176.929
269.11
0.66
yew-struct-keyed 21_ready-memory
0.9634475708007812
0.9634475708007812
1
yew-struct-keyed 22_run-memory
1.5024986267089844
1.45648193359375
1.03
yew-struct-keyed 23_update5-memory
1.4602203369140625
1.4602203369140625
1
yew-struct-keyed 24_run5-memory
1.5095291137695312
1.5095291137695312
1
yew-struct-keyed 25_run-clear-memory
1.1272430419921875
1.1272430419921875
1
yew-struct-keyed 31_startup-ci
1736.664
1884.03
0.92
yew-struct-keyed 32_startup-bt
38.01
41.218
0.92
yew-struct-keyed 34_startup-totalbytes
330.5556640625
330.5556640625
1
This comment was automatically generated by workflow using github-action-benchmark.