-
-
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.
fix(es/parser): Fix parsing of
await using
(#8101)
**Related issue:** - Closes #8096
- Loading branch information
Showing
5 changed files
with
34 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"tsx": false, | ||
"decorators": true | ||
}, | ||
"target": "es2022", | ||
"loose": false, | ||
"minify": { | ||
"compress": false, | ||
"mangle": false | ||
} | ||
}, | ||
"module": { | ||
"type": "es6" | ||
}, | ||
"minify": false, | ||
"isModule": true | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
await using(true); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
await using(true); |
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
e1043fa
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
288955
ns/iter (± 5526
)290989
ns/iter (± 6364
)0.99
es/full/minify/libraries/antd
1394116231
ns/iter (± 26558988
)1400668650
ns/iter (± 18008284
)1.00
es/full/minify/libraries/d3
292383982
ns/iter (± 2936402
)296455682
ns/iter (± 2476883
)0.99
es/full/minify/libraries/echarts
1141694049
ns/iter (± 13432346
)1111940309
ns/iter (± 13001085
)1.03
es/full/minify/libraries/jquery
88643929
ns/iter (± 372087
)89504899
ns/iter (± 249366
)0.99
es/full/minify/libraries/lodash
103916758
ns/iter (± 402967
)104087178
ns/iter (± 512471
)1.00
es/full/minify/libraries/moment
52416733
ns/iter (± 327568
)52546168
ns/iter (± 158595
)1.00
es/full/minify/libraries/react
18849633
ns/iter (± 51141
)18931698
ns/iter (± 183137
)1.00
es/full/minify/libraries/terser
232314284
ns/iter (± 2596996
)233574287
ns/iter (± 1679175
)0.99
es/full/minify/libraries/three
408384625
ns/iter (± 2630249
)410502521
ns/iter (± 1949728
)0.99
es/full/minify/libraries/typescript
2816402782
ns/iter (± 11054970
)2823716939
ns/iter (± 13765090
)1.00
es/full/minify/libraries/victory
598947446
ns/iter (± 7751231
)615478141
ns/iter (± 6622097
)0.97
es/full/minify/libraries/vue
126476197
ns/iter (± 349776
)127998820
ns/iter (± 394593
)0.99
es/full/codegen/es3
33384
ns/iter (± 172
)34646
ns/iter (± 106
)0.96
es/full/codegen/es5
33471
ns/iter (± 82
)34556
ns/iter (± 72
)0.97
es/full/codegen/es2015
33184
ns/iter (± 117
)34536
ns/iter (± 102
)0.96
es/full/codegen/es2016
33227
ns/iter (± 100
)34552
ns/iter (± 59
)0.96
es/full/codegen/es2017
33241
ns/iter (± 107
)34543
ns/iter (± 109
)0.96
es/full/codegen/es2018
33231
ns/iter (± 101
)34530
ns/iter (± 98
)0.96
es/full/codegen/es2019
33166
ns/iter (± 87
)34679
ns/iter (± 93
)0.96
es/full/codegen/es2020
33315
ns/iter (± 96
)34611
ns/iter (± 121
)0.96
es/full/all/es3
176630922
ns/iter (± 1643550
)178130922
ns/iter (± 1809872
)0.99
es/full/all/es5
170591331
ns/iter (± 923941
)170872027
ns/iter (± 1165954
)1.00
es/full/all/es2015
128685132
ns/iter (± 1425368
)128046220
ns/iter (± 1371919
)1.00
es/full/all/es2016
129382324
ns/iter (± 1329967
)127949876
ns/iter (± 934745
)1.01
es/full/all/es2017
128318171
ns/iter (± 1568732
)126865752
ns/iter (± 937093
)1.01
es/full/all/es2018
125086385
ns/iter (± 1896512
)125524473
ns/iter (± 1625123
)1.00
es/full/all/es2019
124625454
ns/iter (± 1175732
)124743025
ns/iter (± 947084
)1.00
es/full/all/es2020
121543638
ns/iter (± 1001834
)120611511
ns/iter (± 786003
)1.01
es/full/parser
567758
ns/iter (± 2293
)556954
ns/iter (± 3034
)1.02
es/full/base/fixer
21468
ns/iter (± 198
)17594
ns/iter (± 59
)1.22
es/full/base/resolver_and_hygiene
86589
ns/iter (± 256
)83788
ns/iter (± 215
)1.03
This comment was automatically generated by workflow using github-action-benchmark.