-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(es/compat): Implement decorator metadata proposal (#8097)
**Description:** This PR implements the [decorator metadata](https://github.com/tc39/proposal-decorator-metadata) proposal, that is now at Stage 3. As the decorator metadata proposal is a small extension of the decorator proposal and is not possible to compile the metadata without transpiling decorators, I opted to implement it into the existing decorator transformer (and helper) **Related issue:** - Closes #7957
- Loading branch information
Showing
18 changed files
with
226 additions
and
89 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
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.
9c029ef
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.
Benchmark
es/full/bugs-1
283897
ns/iter (± 2608
)287822
ns/iter (± 6426
)0.99
es/full/minify/libraries/antd
1405713046
ns/iter (± 17479456
)1401968362
ns/iter (± 11888127
)1.00
es/full/minify/libraries/d3
292289520
ns/iter (± 3787883
)296948759
ns/iter (± 2444667
)0.98
es/full/minify/libraries/echarts
1111042075
ns/iter (± 8702075
)1129992687
ns/iter (± 6388478
)0.98
es/full/minify/libraries/jquery
89088164
ns/iter (± 94808
)88726595
ns/iter (± 260285
)1.00
es/full/minify/libraries/lodash
104021978
ns/iter (± 1280473
)103737288
ns/iter (± 339625
)1.00
es/full/minify/libraries/moment
52606030
ns/iter (± 70125
)52141486
ns/iter (± 168090
)1.01
es/full/minify/libraries/react
18917498
ns/iter (± 65679
)18764891
ns/iter (± 40483
)1.01
es/full/minify/libraries/terser
230147015
ns/iter (± 1837158
)232302121
ns/iter (± 2877678
)0.99
es/full/minify/libraries/three
409076159
ns/iter (± 1942028
)412834407
ns/iter (± 2715800
)0.99
es/full/minify/libraries/typescript
2793791118
ns/iter (± 11879713
)2809513681
ns/iter (± 13033301
)0.99
es/full/minify/libraries/victory
603574678
ns/iter (± 9316934
)603199352
ns/iter (± 4997236
)1.00
es/full/minify/libraries/vue
126889959
ns/iter (± 3066942
)126433142
ns/iter (± 564432
)1.00
es/full/codegen/es3
33732
ns/iter (± 81
)33545
ns/iter (± 90
)1.01
es/full/codegen/es5
33809
ns/iter (± 91
)33708
ns/iter (± 53
)1.00
es/full/codegen/es2015
33783
ns/iter (± 65
)33744
ns/iter (± 167
)1.00
es/full/codegen/es2016
33832
ns/iter (± 71
)33628
ns/iter (± 89
)1.01
es/full/codegen/es2017
33792
ns/iter (± 75
)33789
ns/iter (± 72
)1.00
es/full/codegen/es2018
33724
ns/iter (± 71
)33809
ns/iter (± 146
)1.00
es/full/codegen/es2019
33856
ns/iter (± 233
)33763
ns/iter (± 65
)1.00
es/full/codegen/es2020
33778
ns/iter (± 68
)33683
ns/iter (± 86
)1.00
es/full/all/es3
176572924
ns/iter (± 1886235
)175859848
ns/iter (± 569821
)1.00
es/full/all/es5
168512109
ns/iter (± 1657167
)169627433
ns/iter (± 1065745
)0.99
es/full/all/es2015
128041057
ns/iter (± 685885
)128372943
ns/iter (± 917145
)1.00
es/full/all/es2016
127199210
ns/iter (± 673867
)128281273
ns/iter (± 772794
)0.99
es/full/all/es2017
126589345
ns/iter (± 1052680
)127147539
ns/iter (± 776226
)1.00
es/full/all/es2018
124429928
ns/iter (± 721411
)125152360
ns/iter (± 1349576
)0.99
es/full/all/es2019
123913798
ns/iter (± 762048
)123736848
ns/iter (± 601171
)1.00
es/full/all/es2020
120298767
ns/iter (± 660412
)120386269
ns/iter (± 1326072
)1.00
es/full/parser
562676
ns/iter (± 2390
)562959
ns/iter (± 4290
)1.00
es/full/base/fixer
18503
ns/iter (± 164
)17712
ns/iter (± 61
)1.04
es/full/base/resolver_and_hygiene
83236
ns/iter (± 174
)83610
ns/iter (± 92
)1.00
This comment was automatically generated by workflow using github-action-benchmark.