-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): Configure
prettier
(#4523)
- Loading branch information
Showing
2,976 changed files
with
484,297 additions
and
369,026 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Inject jest's assertion (expect) into global scope for the Mocha | ||
// to use same assertion between node-swc & rest. | ||
global.expect = require('expect'); | ||
global.expect = require("expect"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Bundler cache files | ||
.cache/ | ||
|
||
# Generated | ||
CHANGELOG.md | ||
target/ | ||
node_modules/ | ||
|
||
# Space sensitive | ||
crates/jsdoc/tests/ | ||
crates/swc/tests/errors/ | ||
crates/swc/tests/projects/ | ||
crates/swc/tests/serde/ | ||
crates/swc_css_codegen/tests/ | ||
crates/swc_css_lints/tests/ | ||
crates/swc_css_minifier/tests/ | ||
crates/swc_css_parser/tests/ | ||
crates/swc_css_prefixer/tests/ | ||
crates/swc_ecma_codegen/tests/ | ||
crates/swc_ecma_lints/tests/ | ||
crates/swc_ecma_parser/tests/ | ||
crates/swc_estree_compat/tests/ | ||
crates/swc_html_codegen/tests/ | ||
crates/swc_html_minifier/tests/ | ||
crates/swc_html_parser/tests/ | ||
crates/swc_webpack_ast/tests/ | ||
|
||
# Generated by testing system | ||
output/ | ||
output.js | ||
output.full.js | ||
output.mjs | ||
index.g.js | ||
output.json | ||
output.ts | ||
output.css | ||
output.min.css | ||
output.html | ||
output.min.html | ||
|
||
# Generated | ||
crates/swc_ecma_preset_env/data | ||
crates/swc_ecma_preset_env/**/*.json | ||
crates/swc/tests/tsc-references | ||
scripts/npm | ||
|
||
# Downloaded | ||
benches/ | ||
|
||
# TODO: Enable formatting | ||
helpers/ | ||
packages/swc-helpers | ||
node-swc/__tests__ | ||
node-swc/src | ||
node-swc/tests | ||
crates/swc/tests/srcmap/ | ||
crates/swc/tests/stacktrace/ |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"tabWidth": 4, | ||
"useTabs": false | ||
"tabWidth": 4, | ||
"useTabs": false | ||
} |
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 @@ | ||
{} |
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 |
---|---|---|
@@ -1,28 +1,33 @@ | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/*.bk": true, | ||
"**/node_modules": true, | ||
"**/target": true | ||
}, | ||
"[rust]": { | ||
"editor.formatOnSave": true | ||
}, | ||
"[typescript]": { | ||
"editor.formatOnSave": true | ||
}, | ||
"editor.formatOnSave": true, | ||
"git.ignoreLimitWarning": true, | ||
"eslint.enable": false, | ||
"cSpell.allowCompoundWords": true, | ||
"cSpell.caseSensitive": true, | ||
"rust-analyzer.checkOnSave.command": "clippy", | ||
"rust-analyzer.checkOnSave.features": [ | ||
// We use this to make IDE faster | ||
"rust-analyzer" | ||
] | ||
} | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/*.bk": true, | ||
"**/node_modules": true, | ||
"**/target": true | ||
}, | ||
"[rust]": { | ||
"editor.formatOnSave": true | ||
}, | ||
"[typescript]": { | ||
"editor.formatOnSave": true | ||
}, | ||
"editor.formatOnSave": true, | ||
"git.ignoreLimitWarning": true, | ||
"git.autoRepositoryDetection": false, | ||
"git.ignoredRepositories": [ | ||
"crates/swc_ecma_parser/tests/test262-parser", | ||
"crates/swc_html_parser/tests/html5lib-tests" | ||
], | ||
"eslint.enable": false, | ||
"cSpell.allowCompoundWords": true, | ||
"cSpell.caseSensitive": true, | ||
"rust-analyzer.checkOnSave.command": "clippy", | ||
"rust-analyzer.checkOnSave.features": [ | ||
// We use this to make IDE faster | ||
"rust-analyzer" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
const swc = require("../pkg"); | ||
|
||
it("properly reports error", function () { | ||
expect(() => { | ||
swc.transformSync("Foo {}", {}); | ||
}).toThrow("Syntax Error"); | ||
expect(() => { | ||
swc.transformSync("Foo {}", {}); | ||
}).toThrow("Syntax Error"); | ||
|
||
expect(() => { | ||
swc.transformSync("Foo {}", {}); | ||
}).toThrow("Expected ';', '}' or <eof>"); | ||
expect(() => { | ||
swc.transformSync("Foo {}", {}); | ||
}).toThrow("Expected ';', '}' or <eof>"); | ||
}); |
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
const swc = require("../pkg"); | ||
|
||
it("should be loadable", function () { | ||
const output = swc.transformSync("class Foo {}", {}); | ||
const output = swc.transformSync("class Foo {}", {}); | ||
}); | ||
|
||
|
||
it("should support 'paths' and 'baseUrl'", async () => { | ||
const { code } = await swc.transformSync(` | ||
const { code } = await swc.transformSync( | ||
` | ||
import foo from '@src/app'; | ||
console.log(foo) | ||
`, { | ||
filename: 'main.js', | ||
jsc: { | ||
parser: { | ||
syntax: 'typescript', | ||
}, | ||
target: 'es2021', | ||
transform: { | ||
|
||
}, | ||
baseUrl: __dirname, | ||
paths: { | ||
'@src/*': ['bar/*'] | ||
} | ||
}, | ||
module: { | ||
type: 'commonjs' | ||
}, | ||
}); | ||
`, | ||
{ | ||
filename: "main.js", | ||
jsc: { | ||
parser: { | ||
syntax: "typescript", | ||
}, | ||
target: "es2021", | ||
transform: {}, | ||
baseUrl: __dirname, | ||
paths: { | ||
"@src/*": ["bar/*"], | ||
}, | ||
}, | ||
module: { | ||
type: "commonjs", | ||
}, | ||
} | ||
); | ||
|
||
expect(code).toContain(`bar/app`); | ||
}) | ||
expect(code).toContain(`bar/app`); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const path = require('path'); | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
entry: "./index.js", | ||
output: { | ||
path: path.resolve(__dirname, "dist"), | ||
filename: "index.js", | ||
}, | ||
mode: "development" | ||
}; | ||
entry: "./index.js", | ||
output: { | ||
path: path.resolve(__dirname, "dist"), | ||
filename: "index.js", | ||
}, | ||
mode: "development", | ||
}; |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"devDependencies": { | ||
"jest": "^25.1.0" | ||
} | ||
"devDependencies": { | ||
"jest": "^25.1.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
|
||
|
||
const foo = 1 + 1 + 1 + 1 + 1 + 1 + 1; | ||
const foo = 1 + 1 + 1 + 1 + 1 + 1 + 1; |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
class Foo {} | ||
|
||
|
||
class Foo { } | ||
|
||
class Bar extends Foo { } | ||
class Bar extends Foo {} |
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
[ | ||
{ | ||
"test": "\\.ts", | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"tsx": false, | ||
"decorators": false | ||
} | ||
{ | ||
"test": "\\.ts", | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"tsx": false, | ||
"decorators": false | ||
} | ||
} | ||
}, | ||
{ | ||
"test": "\\.js", | ||
"jsc": { | ||
"parser": { | ||
"syntax": "ecmascript", | ||
"jsx": false, | ||
"dynamicImport": false, | ||
"numericSeparator": false, | ||
"classPrivateProperty": false, | ||
"privateMethod": false, | ||
"classProperty": false, | ||
"functionBind": false, | ||
"decorators": false, | ||
"decoratorsBeforeExport": false | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"test": "\\.js", | ||
"jsc": { | ||
"parser": { | ||
"syntax": "ecmascript", | ||
"jsx": false, | ||
"dynamicImport": false, | ||
"numericSeparator": false, | ||
"classPrivateProperty": false, | ||
"privateMethod": false, | ||
"classProperty": false, | ||
"functionBind": false, | ||
"decorators": false, | ||
"decoratorsBeforeExport": false | ||
} | ||
} | ||
} | ||
] |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"dynamicImport": true | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"dynamicImport": true | ||
}, | ||
"externalHelpers": true, | ||
"target": "esnext" | ||
}, | ||
"externalHelpers": true, | ||
"target": "esnext" | ||
}, | ||
"sourceMaps": true | ||
"sourceMaps": true | ||
} |
Oops, something went wrong.
a6d404a
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
1940567885
ns/iter (± 48355484
)2196813407
ns/iter (± 25488927
)0.88
es/full/minify/libraries/d3
515727364
ns/iter (± 7878945
)488434423
ns/iter (± 17893775
)1.06
es/full/minify/libraries/echarts
2336654635
ns/iter (± 10971845
)2725983516
ns/iter (± 20639946
)0.86
es/full/minify/libraries/jquery
112429554
ns/iter (± 1112044
)110512146
ns/iter (± 1670059
)1.02
es/full/minify/libraries/lodash
135946574
ns/iter (± 1085166
)131266302
ns/iter (± 2874902
)1.04
es/full/minify/libraries/moment
65678769
ns/iter (± 668741
)64673702
ns/iter (± 1544045
)1.02
es/full/minify/libraries/react
20531040
ns/iter (± 286234
)20408869
ns/iter (± 294894
)1.01
es/full/minify/libraries/terser
671349456
ns/iter (± 9728056
)811045715
ns/iter (± 11171889
)0.83
es/full/minify/libraries/three
702983771
ns/iter (± 8414414
)645325908
ns/iter (± 27800657
)1.09
es/full/minify/libraries/typescript
4367885843
ns/iter (± 23980978
)4990468620
ns/iter (± 45259434
)0.88
es/full/minify/libraries/victory
891268390
ns/iter (± 15289649
)960343516
ns/iter (± 34847645
)0.93
es/full/minify/libraries/vue
161884150
ns/iter (± 1464113
)156088360
ns/iter (± 2749598
)1.04
es/full/codegen/es3
34018
ns/iter (± 208
)35063
ns/iter (± 1258
)0.97
es/full/codegen/es5
34082
ns/iter (± 271
)35366
ns/iter (± 1911
)0.96
es/full/codegen/es2015
34106
ns/iter (± 215
)35142
ns/iter (± 1584
)0.97
es/full/codegen/es2016
33983
ns/iter (± 223
)34831
ns/iter (± 1658
)0.98
es/full/codegen/es2017
34066
ns/iter (± 237
)36148
ns/iter (± 1744
)0.94
es/full/codegen/es2018
34036
ns/iter (± 257
)35825
ns/iter (± 1674
)0.95
es/full/codegen/es2019
34001
ns/iter (± 203
)35270
ns/iter (± 2343
)0.96
es/full/codegen/es2020
34082
ns/iter (± 166
)36180
ns/iter (± 2313
)0.94
es/full/all/es3
210529374
ns/iter (± 2667534
)208744927
ns/iter (± 4945539
)1.01
es/full/all/es5
200154352
ns/iter (± 3435466
)197486854
ns/iter (± 5040865
)1.01
es/full/all/es2015
159226620
ns/iter (± 7910237
)158324101
ns/iter (± 4508101
)1.01
es/full/all/es2016
157461159
ns/iter (± 5181257
)158509534
ns/iter (± 5307397
)0.99
es/full/all/es2017
157428360
ns/iter (± 15220674
)158996831
ns/iter (± 5536617
)0.99
es/full/all/es2018
154747190
ns/iter (± 3760618
)155589494
ns/iter (± 4627257
)0.99
es/full/all/es2019
153145827
ns/iter (± 5542901
)155681754
ns/iter (± 5975943
)0.98
es/full/all/es2020
148441096
ns/iter (± 6064687
)148669091
ns/iter (± 4654284
)1.00
es/full/parser
669395
ns/iter (± 24301
)715176
ns/iter (± 49632
)0.94
es/full/base/fixer
25884
ns/iter (± 214
)31637
ns/iter (± 2172
)0.82
es/full/base/resolver_and_hygiene
110380
ns/iter (± 2004
)129904
ns/iter (± 6236
)0.85
serialization of ast node
163
ns/iter (± 1
)168
ns/iter (± 8
)0.97
serialization of serde
164
ns/iter (± 0
)162
ns/iter (± 8
)1.01
es/codegen/colors
69065
ns/iter (± 659
)71402
ns/iter (± 7977
)0.97
es/codegen/large
372346
ns/iter (± 3804
)387745
ns/iter (± 35100
)0.96
es/codegen/with-parser/colors
62890
ns/iter (± 1040
)69583
ns/iter (± 3234
)0.90
es/codegen/with-parser/large
663929
ns/iter (± 7606
)716172
ns/iter (± 31509
)0.93
es/minify/libraries/antd
1893847132
ns/iter (± 30186700
)2168823499
ns/iter (± 20871521
)0.87
es/minify/libraries/d3
534425842
ns/iter (± 6512819
)485335870
ns/iter (± 14570875
)1.10
es/minify/libraries/echarts
2319577240
ns/iter (± 14552331
)2716337340
ns/iter (± 33797936
)0.85
es/minify/libraries/jquery
112660830
ns/iter (± 1387366
)107228403
ns/iter (± 1448186
)1.05
es/minify/libraries/lodash
134734385
ns/iter (± 1882991
)127033904
ns/iter (± 2326842
)1.06
es/minify/libraries/moment
64441721
ns/iter (± 494785
)62085108
ns/iter (± 2032622
)1.04
es/minify/libraries/react
19422297
ns/iter (± 173171
)19780184
ns/iter (± 682804
)0.98
es/minify/libraries/terser
667509952
ns/iter (± 6483115
)781722024
ns/iter (± 20560310
)0.85
es/minify/libraries/three
670756433
ns/iter (± 7265348
)594882557
ns/iter (± 28301361
)1.13
es/minify/libraries/typescript
4267434670
ns/iter (± 43473985
)4841281179
ns/iter (± 54719588
)0.88
es/minify/libraries/victory
852654820
ns/iter (± 9978786
)857317768
ns/iter (± 27680897
)0.99
es/minify/libraries/vue
156291818
ns/iter (± 1143907
)153268039
ns/iter (± 3062932
)1.02
es/visitor/compare/clone
2963900
ns/iter (± 114822
)2844083
ns/iter (± 161577
)1.04
es/visitor/compare/visit_mut_span
3686971
ns/iter (± 187358
)3401484
ns/iter (± 149504
)1.08
es/visitor/compare/visit_mut_span_panic
3540261
ns/iter (± 97896
)3461993
ns/iter (± 125621
)1.02
es/visitor/compare/fold_span
4798526
ns/iter (± 121145
)4796958
ns/iter (± 220360
)1.00
es/visitor/compare/fold_span_panic
4995804
ns/iter (± 145473
)4985662
ns/iter (± 275816
)1.00
es/lexer/colors
24849
ns/iter (± 35
)23396
ns/iter (± 1240
)1.06
es/lexer/angular
12148217
ns/iter (± 35732
)11183781
ns/iter (± 411197
)1.09
es/lexer/backbone
1630869
ns/iter (± 4377
)1553355
ns/iter (± 79541
)1.05
es/lexer/jquery
8776495
ns/iter (± 37288
)8043334
ns/iter (± 329735
)1.09
es/lexer/jquery mobile
14207647
ns/iter (± 25717
)13267806
ns/iter (± 623828
)1.07
es/lexer/mootools
6759751
ns/iter (± 6208
)6248632
ns/iter (± 254556
)1.08
es/lexer/underscore
1363600
ns/iter (± 1068
)1300706
ns/iter (± 65902
)1.05
es/lexer/three
40348897
ns/iter (± 43153
)38416010
ns/iter (± 1948940
)1.05
es/lexer/yui
7441455
ns/iter (± 18315
)6870241
ns/iter (± 254185
)1.08
es/parser/colors
41851
ns/iter (± 457
)43300
ns/iter (± 2958
)0.97
es/parser/angular
21669747
ns/iter (± 300053
)21310824
ns/iter (± 922241
)1.02
es/parser/backbone
3012413
ns/iter (± 22712
)3121858
ns/iter (± 182004
)0.96
es/parser/jquery
16941468
ns/iter (± 357365
)16931466
ns/iter (± 1016873
)1.00
es/parser/jquery mobile
27470982
ns/iter (± 470080
)27098784
ns/iter (± 2066246
)1.01
es/parser/mootools
13212458
ns/iter (± 168979
)13089701
ns/iter (± 676529
)1.01
es/parser/underscore
2573684
ns/iter (± 26502
)2674688
ns/iter (± 84913
)0.96
es/parser/three
78761818
ns/iter (± 426996
)81300261
ns/iter (± 4880551
)0.97
es/parser/yui
13122677
ns/iter (± 152598
)13635419
ns/iter (± 594480
)0.96
es/preset-env/usage/builtin_type
151656
ns/iter (± 8042
)166505
ns/iter (± 12852
)0.91
es/preset-env/usage/property
33575
ns/iter (± 606
)37253
ns/iter (± 2085
)0.90
es/transforms/base/resolver
163751
ns/iter (± 2291
)189800
ns/iter (± 21708
)0.86
es/transforms/base/fixer
152236
ns/iter (± 1242
)170265
ns/iter (± 8759
)0.89
es/transforms/base/hygiene
386809
ns/iter (± 1440
)408867
ns/iter (± 17792
)0.95
es/transforms/base/resolver_with_hygiene
455314
ns/iter (± 2708
)481776
ns/iter (± 20282
)0.95
es/visitor/base-perf/module_clone
113348
ns/iter (± 2409
)126643
ns/iter (± 4462
)0.90
es/visitor/base-perf/fold_empty
128857
ns/iter (± 2306
)146974
ns/iter (± 8209
)0.88
es/visitor/base-perf/fold_noop_impl_all
128745
ns/iter (± 3297
)151068
ns/iter (± 7853
)0.85
es/visitor/base-perf/fold_noop_impl_vec
128892
ns/iter (± 2387
)151261
ns/iter (± 9373
)0.85
es/visitor/base-perf/boxing_boxed_clone
82
ns/iter (± 0
)78
ns/iter (± 2
)1.05
es/visitor/base-perf/boxing_unboxed_clone
130
ns/iter (± 0
)132
ns/iter (± 8
)0.98
es/visitor/base-perf/boxing_boxed
160
ns/iter (± 0
)154
ns/iter (± 8
)1.04
es/visitor/base-perf/boxing_unboxed
197
ns/iter (± 0
)209
ns/iter (± 13
)0.94
es/visitor/base-perf/visit_contains_this
4405
ns/iter (± 129
)5122
ns/iter (± 348
)0.86
misc/visitors/time-complexity/time 5
123
ns/iter (± 0
)115
ns/iter (± 4
)1.07
misc/visitors/time-complexity/time 10
397
ns/iter (± 2
)389
ns/iter (± 35
)1.02
misc/visitors/time-complexity/time 15
821
ns/iter (± 10
)799
ns/iter (± 39
)1.03
misc/visitors/time-complexity/time 20
1443
ns/iter (± 3
)1430
ns/iter (± 90
)1.01
misc/visitors/time-complexity/time 40
5220
ns/iter (± 121
)5530
ns/iter (± 419
)0.94
misc/visitors/time-complexity/time 60
10848
ns/iter (± 27
)11754
ns/iter (± 492
)0.92
es/full-target/es2016
302519
ns/iter (± 9321
)312540
ns/iter (± 13479
)0.97
es/full-target/es2017
285658
ns/iter (± 1775
)298933
ns/iter (± 11978
)0.96
es/full-target/es2018
271757
ns/iter (± 1743
)290449
ns/iter (± 30337
)0.94
es2020_nullish_coalescing
139203
ns/iter (± 1443
)160658
ns/iter (± 5705
)0.87
es2020_optional_chaining
173018
ns/iter (± 1248
)199265
ns/iter (± 9567
)0.87
es2022_class_properties
175806
ns/iter (± 1222
)195946
ns/iter (± 9301
)0.90
es2018_object_rest_spread
126538
ns/iter (± 2403
)149184
ns/iter (± 10896
)0.85
es2019_optional_catch_binding
112602
ns/iter (± 2493
)136164
ns/iter (± 7763
)0.83
es2017_async_to_generator
112773
ns/iter (± 2344
)135410
ns/iter (± 7471
)0.83
es2016_exponentiation
137399
ns/iter (± 979
)160837
ns/iter (± 6454
)0.85
es2015_arrow
140706
ns/iter (± 847
)165117
ns/iter (± 7084
)0.85
es2015_block_scoped_fn
139602
ns/iter (± 662
)158688
ns/iter (± 6509
)0.88
es2015_block_scoping
237739
ns/iter (± 1234
)255965
ns/iter (± 9681
)0.93
es2015_classes
198993
ns/iter (± 1771
)225192
ns/iter (± 8912
)0.88
es2015_computed_props
112821
ns/iter (± 2380
)137517
ns/iter (± 5291
)0.82
es2015_destructuring
208561
ns/iter (± 1327
)233270
ns/iter (± 11394
)0.89
es2015_duplicate_keys
116902
ns/iter (± 2504
)141983
ns/iter (± 5558
)0.82
es2015_parameters
147581
ns/iter (± 941
)171843
ns/iter (± 7565
)0.86
es2015_fn_name
116591
ns/iter (± 2504
)142860
ns/iter (± 5916
)0.82
es2015_for_of
136096
ns/iter (± 790
)158002
ns/iter (± 5971
)0.86
es2015_instanceof
126111
ns/iter (± 960
)143683
ns/iter (± 8527
)0.88
es2015_shorthand_property
112647
ns/iter (± 2234
)137131
ns/iter (± 5114
)0.82
es2015_spread
112104
ns/iter (± 2527
)137343
ns/iter (± 5345
)0.82
es2015_sticky_regex
114485
ns/iter (± 2624
)138632
ns/iter (± 6046
)0.83
es2015_typeof_symbol
115073
ns/iter (± 2600
)136536
ns/iter (± 7877
)0.84
es/transform/baseline/base
98942
ns/iter (± 2364
)122139
ns/iter (± 4380
)0.81
es/transform/baseline/common_reserved_word
115269
ns/iter (± 2584
)140450
ns/iter (± 6485
)0.82
es/transform/baseline/common_typescript
246460
ns/iter (± 1459
)262923
ns/iter (± 9624
)0.94
es/target/es3
304449
ns/iter (± 1681
)333470
ns/iter (± 10968
)0.91
es/target/es2015
886303
ns/iter (± 3139
)900027
ns/iter (± 45153
)0.98
es/target/es2016
137443
ns/iter (± 704
)163303
ns/iter (± 11729
)0.84
es/target/es2017
112316
ns/iter (± 2330
)139036
ns/iter (± 5428
)0.81
es/target/es2018
141320
ns/iter (± 2492
)171951
ns/iter (± 10786
)0.82
es/target/es2020
216801
ns/iter (± 1545
)243051
ns/iter (± 18413
)0.89
babelify-only
817775
ns/iter (± 4591
)898401
ns/iter (± 47552
)0.91
parse_and_babelify_angular
84518972
ns/iter (± 3406990
)78570064
ns/iter (± 3183425
)1.08
parse_and_babelify_backbone
8413242
ns/iter (± 333602
)8232198
ns/iter (± 297161
)1.02
parse_and_babelify_jquery
56434781
ns/iter (± 1481816
)58785996
ns/iter (± 2765107
)0.96
parse_and_babelify_jquery_mobile
99204658
ns/iter (± 865396
)104370615
ns/iter (± 2916893
)0.95
parse_and_babelify_mootools
45629386
ns/iter (± 1884506
)45438541
ns/iter (± 1697002
)1.00
parse_and_babelify_underscore
6987071
ns/iter (± 298212
)7206720
ns/iter (± 420970
)0.97
parse_and_babelify_yui
47435385
ns/iter (± 2269578
)43618753
ns/iter (± 2411377
)1.09
This comment was automatically generated by workflow using github-action-benchmark.