We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
swc-project
Learn more about funding links in repositories.
Report abuse
babelify
1 parent 735a82d commit 73c7769Copy full SHA for 73c7769
node-swc/src/babel.ts
es/full/bugs-1
284707
± 4457
288060
± 2568
0.99
es/full/minify/libraries/antd
1292419827
± 8397751
1336917074
± 29244238
0.97
es/full/minify/libraries/d3
274510045
± 2849860
274911557
± 1540601
1.00
es/full/minify/libraries/echarts
1038052979
± 10147049
1075147365
± 11815526
es/full/minify/libraries/jquery
83981707
± 77023
85015116
± 531805
es/full/minify/libraries/lodash
97444808
± 149222
99079028
± 371529
0.98
es/full/minify/libraries/moment
49412412
± 292727
50331245
± 385022
es/full/minify/libraries/react
17882151
± 38385
18096986
± 104189
es/full/minify/libraries/terser
216626454
± 563420
220023253
± 1425654
es/full/minify/libraries/three
378063281
± 1989119
386428323
± 3406713
es/full/minify/libraries/typescript
2632258384
± 7161476
2687588380
± 27754807
es/full/minify/libraries/victory
549191598
± 1403559
572330342
± 7339700
0.96
es/full/minify/libraries/vue
119372371
± 263475
121422540
± 706914
es/full/codegen/es3
34953
± 289
35302
± 67
es/full/codegen/es5
34903
± 126
35320
± 133
es/full/codegen/es2015
34865
± 65
35325
± 109
es/full/codegen/es2016
34827
± 96
35245
± 94
es/full/codegen/es2017
34784
± 101
35304
es/full/codegen/es2018
34750
± 72
35371
± 134
es/full/codegen/es2019
34772
± 114
35219
± 113
es/full/codegen/es2020
34775
± 51
35177
± 66
es/full/all/es3
173153029
± 735588
172647625
± 891710
es/full/all/es5
165264456
± 985032
164054263
± 951365
1.01
es/full/all/es2015
123585199
± 897603
123166801
± 940004
es/full/all/es2016
122210780
± 736921
122918744
± 582297
es/full/all/es2017
121976629
± 933285
122370990
± 450672
es/full/all/es2018
119477215
± 933297
120489484
± 732342
es/full/all/es2019
119559385
± 1019338
119458709
± 810567
es/full/all/es2020
115120933
± 797575
115014224
± 871816
es/full/parser
527625
± 6221
537058
± 5578
es/full/base/fixer
17928
± 55
20747
± 151
0.86
es/full/base/resolver_and_hygiene
83299
± 244
81202
± 143
1.03
serialization of serde
309
± 1
298
± 0
1.04
css/minify/libraries/bootstrap
28585664
± 44523
28740052
± 85742
css/visitor/compare/clone
1657950
± 2164
1654736
± 3894
css/visitor/compare/visit_mut_span
1784793
± 2732
1772962
± 3267
css/visitor/compare/visit_mut_span_panic
1857215
± 5852
1853451
± 3173
css/visitor/compare/fold_span
2621487
± 12959
2573164
± 14880
1.02
css/visitor/compare/fold_span_panic
2771141
± 16074
2757252
± 9256
css/lexer/bootstrap_5_1_3
4458837
± 3832
4437938
± 14226
css/lexer/foundation_6_7_4
3758953
± 3602
3855554
± 1997
css/lexer/tailwind_3_1_1
717410
± 726
732107
± 386
css/parser/bootstrap_5_1_3
19380377
± 48775
19526037
± 49963
css/parser/foundation_6_7_4
15528792
± 32096
15749911
± 59436
css/parser/tailwind_3_1_1
2972417
± 4649
3006835
± 4616
es/codegen/colors
735237
± 401939
736081
± 402390
es/codegen/large
3140066
± 1673051
3138912
± 1668996
es/codegen/with-parser/colors
44973
± 454
44140
± 565
es/codegen/with-parser/large
482584
± 911
483605
± 1114
es/minify/libraries/antd
1119380799
± 5842027
1150553491
± 13166899
es/minify/libraries/d3
239380979
± 658556
239248913
± 1598051
es/minify/libraries/echarts
900321799
± 6403541
918791581
± 17983005
es/minify/libraries/jquery
73455559
± 346250
73941162
± 347155
es/minify/libraries/lodash
88093294
± 116223
88278870
± 276786
es/minify/libraries/moment
43543679
± 67208
43606173
± 254751
es/minify/libraries/react
16082417
± 377240
16015782
± 37989
es/minify/libraries/terser
186542490
± 2072810
189412899
± 2119926
es/minify/libraries/three
318170316
± 698752
324629909
± 3815507
es/minify/libraries/typescript
2256574105
± 9661666
2286513109
± 19412235
es/minify/libraries/victory
469445683
± 1247718
481456812
± 9877592
es/minify/libraries/vue
107278571
± 174967
106808327
± 927413
es/visitor/compare/clone
1952787
± 7470
1944628
± 9924
es/visitor/compare/visit_mut_span
2285750
± 4872
2256542
± 2740
es/visitor/compare/visit_mut_span_panic
2312422
± 5879
2297704
± 2585
es/visitor/compare/fold_span
3342231
± 4107
3327623
± 7679
es/visitor/compare/fold_span_panic
3480468
± 5032
3485565
± 20116
es/lexer/colors
12603
± 37
12581
± 31
es/lexer/angular
5999114
± 4655
6072144
± 22640
es/lexer/backbone
775997
± 2455
786225
± 4958
es/lexer/jquery
4387956
± 3344
4432688
± 12217
es/lexer/jquery mobile
6765671
± 10818
6747806
± 29760
es/lexer/mootools
3495895
± 1987
3542140
± 20872
es/lexer/underscore
643566
± 1025
649548
± 1723
es/lexer/three
20797171
± 17184
20899573
± 57731
es/lexer/yui
3790128
± 4049
3714905
± 13562
es/parser/colors
26354
28319
0.93
es/parser/angular
13499319
± 60513
13972227
± 84799
es/parser/backbone
1986163
± 7307
2073793
± 9964
es/parser/jquery
10844575
± 50654
11270029
± 36966
es/parser/jquery mobile
16594432
± 43599
17355220
± 158909
es/parser/mootools
8365985
± 26520
8701063
± 21465
es/parser/underscore
1711675
± 9167
1780172
± 9972
es/parser/three
46321658
± 106607
48448766
± 468922
es/parser/yui
8252741
± 21616
8569019
± 22310
es/preset-env/usage/builtin_type
138943
± 33215
138389
± 33500
es/preset-env/usage/property
16750
± 59
17611
± 165
0.95
es/resolver/typescript
88093657
± 1355267
89481167
± 1136275
es/fixer/typescript
63854651
± 654852
63308262
± 926946
es/hygiene/typescript
128501618
± 987561
131681918
± 1045333
es/resolver_with_hygiene/typescript
238355475
± 1080710
241824648
± 2914638
es/visitor/base-perf/module_clone
60268
± 316
59392
± 309
es/visitor/base-perf/fold_empty
64539
± 278
63119
± 507
es/visitor/base-perf/fold_noop_impl_all
64128
± 414
63067
± 370
es/visitor/base-perf/fold_noop_impl_vec
64324
± 515
63380
± 276
es/visitor/base-perf/boxing_boxed_clone
57
1
es/visitor/base-perf/boxing_unboxed_clone
39
es/visitor/base-perf/boxing_boxed
109
108
es/visitor/base-perf/boxing_unboxed
78
es/visitor/base-perf/visit_empty
0
NaN
es/visitor/base-perf/visit_contains_this
2613
± 23
2599
± 21
es/base/parallel/resolver/typescript
4232761698
± 233019280
4646161771
± 248050183
0.91
es/base/parallel/hygiene/typescript
1428077275
± 13707865
1440550308
± 16903500
misc/visitors/time-complexity/time 5
151
± 2
148
misc/visitors/time-complexity/time 10
430
± 19
331
1.30
misc/visitors/time-complexity/time 15
877
795
1.10
misc/visitors/time-complexity/time 20
1288
± 3
1293
± 4
misc/visitors/time-complexity/time 40
4345
± 33
4372
misc/visitors/time-complexity/time 60
9029
± 13
9055
± 28
es/full-target/es2016
238117
± 710
237734
± 623
es/full-target/es2017
226979
± 856
224572
± 689
es/full-target/es2018
215606
± 351
213203
± 505
es2020_nullish_coalescing
70062
± 327
70742
± 546
es2020_optional_chaining
78746
± 291
82233
± 214
es2022_class_properties
120821
± 274
119415
± 486
es2018_object_rest_spread
75890
± 379
75391
± 158
es2019_optional_catch_binding
64034
± 159
65351
± 315
es2017_async_to_generator
64355
± 170
64704
± 116
es2016_exponentiation
68767
± 204
69299
± 247
es2015_arrow
71611
± 254
72351
± 191
es2015_block_scoped_fn
68929
± 272
68947
± 207
es2015_block_scoping
124036
± 782
124880
± 669
This comment was automatically generated by workflow using github-action-benchmark.
1 commit comments
github-actions[bot] commentedon Jul 5, 2023
Benchmark
es/full/bugs-1
284707
ns/iter (± 4457
)288060
ns/iter (± 2568
)0.99
es/full/minify/libraries/antd
1292419827
ns/iter (± 8397751
)1336917074
ns/iter (± 29244238
)0.97
es/full/minify/libraries/d3
274510045
ns/iter (± 2849860
)274911557
ns/iter (± 1540601
)1.00
es/full/minify/libraries/echarts
1038052979
ns/iter (± 10147049
)1075147365
ns/iter (± 11815526
)0.97
es/full/minify/libraries/jquery
83981707
ns/iter (± 77023
)85015116
ns/iter (± 531805
)0.99
es/full/minify/libraries/lodash
97444808
ns/iter (± 149222
)99079028
ns/iter (± 371529
)0.98
es/full/minify/libraries/moment
49412412
ns/iter (± 292727
)50331245
ns/iter (± 385022
)0.98
es/full/minify/libraries/react
17882151
ns/iter (± 38385
)18096986
ns/iter (± 104189
)0.99
es/full/minify/libraries/terser
216626454
ns/iter (± 563420
)220023253
ns/iter (± 1425654
)0.98
es/full/minify/libraries/three
378063281
ns/iter (± 1989119
)386428323
ns/iter (± 3406713
)0.98
es/full/minify/libraries/typescript
2632258384
ns/iter (± 7161476
)2687588380
ns/iter (± 27754807
)0.98
es/full/minify/libraries/victory
549191598
ns/iter (± 1403559
)572330342
ns/iter (± 7339700
)0.96
es/full/minify/libraries/vue
119372371
ns/iter (± 263475
)121422540
ns/iter (± 706914
)0.98
es/full/codegen/es3
34953
ns/iter (± 289
)35302
ns/iter (± 67
)0.99
es/full/codegen/es5
34903
ns/iter (± 126
)35320
ns/iter (± 133
)0.99
es/full/codegen/es2015
34865
ns/iter (± 65
)35325
ns/iter (± 109
)0.99
es/full/codegen/es2016
34827
ns/iter (± 96
)35245
ns/iter (± 94
)0.99
es/full/codegen/es2017
34784
ns/iter (± 101
)35304
ns/iter (± 101
)0.99
es/full/codegen/es2018
34750
ns/iter (± 72
)35371
ns/iter (± 134
)0.98
es/full/codegen/es2019
34772
ns/iter (± 114
)35219
ns/iter (± 113
)0.99
es/full/codegen/es2020
34775
ns/iter (± 51
)35177
ns/iter (± 66
)0.99
es/full/all/es3
173153029
ns/iter (± 735588
)172647625
ns/iter (± 891710
)1.00
es/full/all/es5
165264456
ns/iter (± 985032
)164054263
ns/iter (± 951365
)1.01
es/full/all/es2015
123585199
ns/iter (± 897603
)123166801
ns/iter (± 940004
)1.00
es/full/all/es2016
122210780
ns/iter (± 736921
)122918744
ns/iter (± 582297
)0.99
es/full/all/es2017
121976629
ns/iter (± 933285
)122370990
ns/iter (± 450672
)1.00
es/full/all/es2018
119477215
ns/iter (± 933297
)120489484
ns/iter (± 732342
)0.99
es/full/all/es2019
119559385
ns/iter (± 1019338
)119458709
ns/iter (± 810567
)1.00
es/full/all/es2020
115120933
ns/iter (± 797575
)115014224
ns/iter (± 871816
)1.00
es/full/parser
527625
ns/iter (± 6221
)537058
ns/iter (± 5578
)0.98
es/full/base/fixer
17928
ns/iter (± 55
)20747
ns/iter (± 151
)0.86
es/full/base/resolver_and_hygiene
83299
ns/iter (± 244
)81202
ns/iter (± 143
)1.03
serialization of serde
309
ns/iter (± 1
)298
ns/iter (± 0
)1.04
css/minify/libraries/bootstrap
28585664
ns/iter (± 44523
)28740052
ns/iter (± 85742
)0.99
css/visitor/compare/clone
1657950
ns/iter (± 2164
)1654736
ns/iter (± 3894
)1.00
css/visitor/compare/visit_mut_span
1784793
ns/iter (± 2732
)1772962
ns/iter (± 3267
)1.01
css/visitor/compare/visit_mut_span_panic
1857215
ns/iter (± 5852
)1853451
ns/iter (± 3173
)1.00
css/visitor/compare/fold_span
2621487
ns/iter (± 12959
)2573164
ns/iter (± 14880
)1.02
css/visitor/compare/fold_span_panic
2771141
ns/iter (± 16074
)2757252
ns/iter (± 9256
)1.01
css/lexer/bootstrap_5_1_3
4458837
ns/iter (± 3832
)4437938
ns/iter (± 14226
)1.00
css/lexer/foundation_6_7_4
3758953
ns/iter (± 3602
)3855554
ns/iter (± 1997
)0.97
css/lexer/tailwind_3_1_1
717410
ns/iter (± 726
)732107
ns/iter (± 386
)0.98
css/parser/bootstrap_5_1_3
19380377
ns/iter (± 48775
)19526037
ns/iter (± 49963
)0.99
css/parser/foundation_6_7_4
15528792
ns/iter (± 32096
)15749911
ns/iter (± 59436
)0.99
css/parser/tailwind_3_1_1
2972417
ns/iter (± 4649
)3006835
ns/iter (± 4616
)0.99
es/codegen/colors
735237
ns/iter (± 401939
)736081
ns/iter (± 402390
)1.00
es/codegen/large
3140066
ns/iter (± 1673051
)3138912
ns/iter (± 1668996
)1.00
es/codegen/with-parser/colors
44973
ns/iter (± 454
)44140
ns/iter (± 565
)1.02
es/codegen/with-parser/large
482584
ns/iter (± 911
)483605
ns/iter (± 1114
)1.00
es/minify/libraries/antd
1119380799
ns/iter (± 5842027
)1150553491
ns/iter (± 13166899
)0.97
es/minify/libraries/d3
239380979
ns/iter (± 658556
)239248913
ns/iter (± 1598051
)1.00
es/minify/libraries/echarts
900321799
ns/iter (± 6403541
)918791581
ns/iter (± 17983005
)0.98
es/minify/libraries/jquery
73455559
ns/iter (± 346250
)73941162
ns/iter (± 347155
)0.99
es/minify/libraries/lodash
88093294
ns/iter (± 116223
)88278870
ns/iter (± 276786
)1.00
es/minify/libraries/moment
43543679
ns/iter (± 67208
)43606173
ns/iter (± 254751
)1.00
es/minify/libraries/react
16082417
ns/iter (± 377240
)16015782
ns/iter (± 37989
)1.00
es/minify/libraries/terser
186542490
ns/iter (± 2072810
)189412899
ns/iter (± 2119926
)0.98
es/minify/libraries/three
318170316
ns/iter (± 698752
)324629909
ns/iter (± 3815507
)0.98
es/minify/libraries/typescript
2256574105
ns/iter (± 9661666
)2286513109
ns/iter (± 19412235
)0.99
es/minify/libraries/victory
469445683
ns/iter (± 1247718
)481456812
ns/iter (± 9877592
)0.98
es/minify/libraries/vue
107278571
ns/iter (± 174967
)106808327
ns/iter (± 927413
)1.00
es/visitor/compare/clone
1952787
ns/iter (± 7470
)1944628
ns/iter (± 9924
)1.00
es/visitor/compare/visit_mut_span
2285750
ns/iter (± 4872
)2256542
ns/iter (± 2740
)1.01
es/visitor/compare/visit_mut_span_panic
2312422
ns/iter (± 5879
)2297704
ns/iter (± 2585
)1.01
es/visitor/compare/fold_span
3342231
ns/iter (± 4107
)3327623
ns/iter (± 7679
)1.00
es/visitor/compare/fold_span_panic
3480468
ns/iter (± 5032
)3485565
ns/iter (± 20116
)1.00
es/lexer/colors
12603
ns/iter (± 37
)12581
ns/iter (± 31
)1.00
es/lexer/angular
5999114
ns/iter (± 4655
)6072144
ns/iter (± 22640
)0.99
es/lexer/backbone
775997
ns/iter (± 2455
)786225
ns/iter (± 4958
)0.99
es/lexer/jquery
4387956
ns/iter (± 3344
)4432688
ns/iter (± 12217
)0.99
es/lexer/jquery mobile
6765671
ns/iter (± 10818
)6747806
ns/iter (± 29760
)1.00
es/lexer/mootools
3495895
ns/iter (± 1987
)3542140
ns/iter (± 20872
)0.99
es/lexer/underscore
643566
ns/iter (± 1025
)649548
ns/iter (± 1723
)0.99
es/lexer/three
20797171
ns/iter (± 17184
)20899573
ns/iter (± 57731
)1.00
es/lexer/yui
3790128
ns/iter (± 4049
)3714905
ns/iter (± 13562
)1.02
es/parser/colors
26354
ns/iter (± 65
)28319
ns/iter (± 37
)0.93
es/parser/angular
13499319
ns/iter (± 60513
)13972227
ns/iter (± 84799
)0.97
es/parser/backbone
1986163
ns/iter (± 7307
)2073793
ns/iter (± 9964
)0.96
es/parser/jquery
10844575
ns/iter (± 50654
)11270029
ns/iter (± 36966
)0.96
es/parser/jquery mobile
16594432
ns/iter (± 43599
)17355220
ns/iter (± 158909
)0.96
es/parser/mootools
8365985
ns/iter (± 26520
)8701063
ns/iter (± 21465
)0.96
es/parser/underscore
1711675
ns/iter (± 9167
)1780172
ns/iter (± 9972
)0.96
es/parser/three
46321658
ns/iter (± 106607
)48448766
ns/iter (± 468922
)0.96
es/parser/yui
8252741
ns/iter (± 21616
)8569019
ns/iter (± 22310
)0.96
es/preset-env/usage/builtin_type
138943
ns/iter (± 33215
)138389
ns/iter (± 33500
)1.00
es/preset-env/usage/property
16750
ns/iter (± 59
)17611
ns/iter (± 165
)0.95
es/resolver/typescript
88093657
ns/iter (± 1355267
)89481167
ns/iter (± 1136275
)0.98
es/fixer/typescript
63854651
ns/iter (± 654852
)63308262
ns/iter (± 926946
)1.01
es/hygiene/typescript
128501618
ns/iter (± 987561
)131681918
ns/iter (± 1045333
)0.98
es/resolver_with_hygiene/typescript
238355475
ns/iter (± 1080710
)241824648
ns/iter (± 2914638
)0.99
es/visitor/base-perf/module_clone
60268
ns/iter (± 316
)59392
ns/iter (± 309
)1.01
es/visitor/base-perf/fold_empty
64539
ns/iter (± 278
)63119
ns/iter (± 507
)1.02
es/visitor/base-perf/fold_noop_impl_all
64128
ns/iter (± 414
)63067
ns/iter (± 370
)1.02
es/visitor/base-perf/fold_noop_impl_vec
64324
ns/iter (± 515
)63380
ns/iter (± 276
)1.01
es/visitor/base-perf/boxing_boxed_clone
57
ns/iter (± 0
)57
ns/iter (± 0
)1
es/visitor/base-perf/boxing_unboxed_clone
39
ns/iter (± 0
)39
ns/iter (± 0
)1
es/visitor/base-perf/boxing_boxed
109
ns/iter (± 0
)108
ns/iter (± 0
)1.01
es/visitor/base-perf/boxing_unboxed
78
ns/iter (± 0
)78
ns/iter (± 0
)1
es/visitor/base-perf/visit_empty
0
ns/iter (± 0
)0
ns/iter (± 0
)NaN
es/visitor/base-perf/visit_contains_this
2613
ns/iter (± 23
)2599
ns/iter (± 21
)1.01
es/base/parallel/resolver/typescript
4232761698
ns/iter (± 233019280
)4646161771
ns/iter (± 248050183
)0.91
es/base/parallel/hygiene/typescript
1428077275
ns/iter (± 13707865
)1440550308
ns/iter (± 16903500
)0.99
misc/visitors/time-complexity/time 5
151
ns/iter (± 2
)148
ns/iter (± 0
)1.02
misc/visitors/time-complexity/time 10
430
ns/iter (± 19
)331
ns/iter (± 0
)1.30
misc/visitors/time-complexity/time 15
877
ns/iter (± 1
)795
ns/iter (± 1
)1.10
misc/visitors/time-complexity/time 20
1288
ns/iter (± 3
)1293
ns/iter (± 4
)1.00
misc/visitors/time-complexity/time 40
4345
ns/iter (± 33
)4372
ns/iter (± 4
)0.99
misc/visitors/time-complexity/time 60
9029
ns/iter (± 13
)9055
ns/iter (± 28
)1.00
es/full-target/es2016
238117
ns/iter (± 710
)237734
ns/iter (± 623
)1.00
es/full-target/es2017
226979
ns/iter (± 856
)224572
ns/iter (± 689
)1.01
es/full-target/es2018
215606
ns/iter (± 351
)213203
ns/iter (± 505
)1.01
es2020_nullish_coalescing
70062
ns/iter (± 327
)70742
ns/iter (± 546
)0.99
es2020_optional_chaining
78746
ns/iter (± 291
)82233
ns/iter (± 214
)0.96
es2022_class_properties
120821
ns/iter (± 274
)119415
ns/iter (± 486
)1.01
es2018_object_rest_spread
75890
ns/iter (± 379
)75391
ns/iter (± 158
)1.01
es2019_optional_catch_binding
64034
ns/iter (± 159
)65351
ns/iter (± 315
)0.98
es2017_async_to_generator
64355
ns/iter (± 170
)64704
ns/iter (± 116
)0.99
es2016_exponentiation
68767
ns/iter (± 204
)69299
ns/iter (± 247
)0.99
es2015_arrow
71611
ns/iter (± 254
)72351
ns/iter (± 191
)0.99
es2015_block_scoped_fn
68929
ns/iter (± 272
)68947
ns/iter (± 207
)1.00
es2015_block_scoping
124036
ns/iter (± 782
)124880
ns/iter (± 669
)0.99
This comment was automatically generated by workflow using github-action-benchmark.