-
-
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/parser): Support
d
in regex flag for es2022 (#5127)
- Loading branch information
1 parent
d1b99a2
commit 2d94797
Showing
6 changed files
with
18 additions
and
2 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
2d94797
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/minify/libraries/antd
1734328696
ns/iter (± 50767317
)1743412474
ns/iter (± 20877766
)0.99
es/full/minify/libraries/d3
442631737
ns/iter (± 6013908
)444119209
ns/iter (± 20625491
)1.00
es/full/minify/libraries/echarts
1726399510
ns/iter (± 48266517
)1791164186
ns/iter (± 77281094
)0.96
es/full/minify/libraries/jquery
117022853
ns/iter (± 3300719
)109863277
ns/iter (± 10843495
)1.07
es/full/minify/libraries/lodash
150657272
ns/iter (± 3638316
)124261010
ns/iter (± 5879677
)1.21
es/full/minify/libraries/moment
62720088
ns/iter (± 1248718
)55770773
ns/iter (± 4525611
)1.12
es/full/minify/libraries/react
19521889
ns/iter (± 824715
)17917533
ns/iter (± 453002
)1.09
es/full/minify/libraries/terser
634884118
ns/iter (± 7958812
)635694716
ns/iter (± 17117828
)1.00
es/full/minify/libraries/three
587582352
ns/iter (± 6765890
)562189911
ns/iter (± 6246185
)1.05
es/full/minify/libraries/typescript
3674839239
ns/iter (± 53036928
)3699082066
ns/iter (± 61119955
)0.99
es/full/minify/libraries/victory
768971754
ns/iter (± 12656775
)822663051
ns/iter (± 43728249
)0.93
es/full/minify/libraries/vue
167028037
ns/iter (± 7025087
)156870002
ns/iter (± 5594086
)1.06
es/full/codegen/es3
31602
ns/iter (± 1321
)33368
ns/iter (± 4317
)0.95
es/full/codegen/es5
31269
ns/iter (± 803
)40129
ns/iter (± 9321
)0.78
es/full/codegen/es2015
30896
ns/iter (± 798
)34375
ns/iter (± 8049
)0.90
es/full/codegen/es2016
31105
ns/iter (± 992
)33592
ns/iter (± 6056
)0.93
es/full/codegen/es2017
31020
ns/iter (± 1058
)32583
ns/iter (± 5205
)0.95
es/full/codegen/es2018
31171
ns/iter (± 1059
)32010
ns/iter (± 5190
)0.97
es/full/codegen/es2019
30874
ns/iter (± 1233
)31901
ns/iter (± 5578
)0.97
es/full/codegen/es2020
31210
ns/iter (± 1486
)31254
ns/iter (± 1658
)1.00
es/full/all/es3
213842862
ns/iter (± 8374225
)202913609
ns/iter (± 10491814
)1.05
es/full/all/es5
195014665
ns/iter (± 7822715
)188687837
ns/iter (± 8648054
)1.03
es/full/all/es2015
163685281
ns/iter (± 8821729
)149494872
ns/iter (± 7751158
)1.09
es/full/all/es2016
152771712
ns/iter (± 8377685
)150926694
ns/iter (± 11192667
)1.01
es/full/all/es2017
154162363
ns/iter (± 6760453
)147700708
ns/iter (± 5077286
)1.04
es/full/all/es2018
151006180
ns/iter (± 6202723
)145777618
ns/iter (± 4530082
)1.04
es/full/all/es2019
150741943
ns/iter (± 8686024
)145487215
ns/iter (± 3237190
)1.04
es/full/all/es2020
145948865
ns/iter (± 7805512
)139878370
ns/iter (± 6136155
)1.04
es/full/parser
711217
ns/iter (± 21180
)738395
ns/iter (± 38236
)0.96
es/full/base/fixer
29458
ns/iter (± 1719
)30083
ns/iter (± 1698
)0.98
es/full/base/resolver_and_hygiene
88219
ns/iter (± 1695
)89866
ns/iter (± 4828
)0.98
serialization of ast node
217
ns/iter (± 3
)228
ns/iter (± 14
)0.95
serialization of serde
226
ns/iter (± 2
)237
ns/iter (± 18
)0.95
This comment was automatically generated by workflow using github-action-benchmark.