Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to use non-literal string as attribute names (#2593)
* Use AttrValue instead of &'static str in Attributes::IndexMap * avoid monomorphization to reduce binary size * fmt & `#[inline(always)]`s * more attempts to reduce the code size * make clippy happy
- Loading branch information
Showing
3 changed files
with
55 additions
and
27 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
e9b64e0
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
168.974
225.8875
0.75
yew-struct-keyed 02_replace1k
196.1035
224.433
0.87
yew-struct-keyed 03_update10th1k_x16
395.089
358.3595
1.10
yew-struct-keyed 04_select1k
56.093500000000006
72.30799999999999
0.78
yew-struct-keyed 05_swap1k
80.769
99.957
0.81
yew-struct-keyed 06_remove-one-1k
27.409
32.537
0.84
yew-struct-keyed 07_create10k
3070.388
3262.2275
0.94
yew-struct-keyed 08_create1k-after1k_x2
424.5605
457.603
0.93
yew-struct-keyed 09_clear1k_x8
216.015
194.5915
1.11
yew-struct-keyed 21_ready-memory
1.457233428955078
1.457233428955078
1
yew-struct-keyed 22_run-memory
1.6923751831054688
1.6921844482421875
1.00
yew-struct-keyed 23_update5-memory
1.6990699768066406
1.6954841613769531
1.00
yew-struct-keyed 24_run5-memory
1.709758758544922
1.944538116455078
0.88
yew-struct-keyed 25_run-clear-memory
1.326934814453125
1.3269538879394531
1.00
yew-struct-keyed 31_startup-ci
1734.076
1741.4520000000002
1.00
yew-struct-keyed 32_startup-bt
34.26
42.236
0.81
yew-struct-keyed 33_startup-mainthreadcost
205.404
314.76400000000007
0.65
yew-struct-keyed 34_startup-totalbytes
328.744140625
328.744140625
1
This comment was automatically generated by workflow using github-action-benchmark.