-
-
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/codegen): Fix codegen of type-only imports (#8070)
- Loading branch information
Showing
4 changed files
with
64 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
2 changes: 1 addition & 1 deletion
2
crates/swc_ecma_transforms_base/tests/ts-resolver/deno/lint/705/output.ts
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
2 changes: 1 addition & 1 deletion
2
crates/swc_ecma_transforms_base/tests/ts-resolver/issues/6533/output.ts
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
6f45b46
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
282514
ns/iter (± 4225
)281896
ns/iter (± 2888
)1.00
es/full/minify/libraries/antd
1386728873
ns/iter (± 9995049
)1368860194
ns/iter (± 21046093
)1.01
es/full/minify/libraries/d3
288088867
ns/iter (± 5470010
)282043663
ns/iter (± 5237456
)1.02
es/full/minify/libraries/echarts
1113698097
ns/iter (± 16152112
)1097919520
ns/iter (± 17252749
)1.01
es/full/minify/libraries/jquery
85741932
ns/iter (± 664922
)85427553
ns/iter (± 430722
)1.00
es/full/minify/libraries/lodash
99824424
ns/iter (± 888801
)98965167
ns/iter (± 791079
)1.01
es/full/minify/libraries/moment
50985872
ns/iter (± 281460
)50550306
ns/iter (± 295107
)1.01
es/full/minify/libraries/react
18345503
ns/iter (± 76658
)18095713
ns/iter (± 79070
)1.01
es/full/minify/libraries/terser
226760805
ns/iter (± 2469792
)222335122
ns/iter (± 1490630
)1.02
es/full/minify/libraries/three
404891294
ns/iter (± 4553182
)400503741
ns/iter (± 4215029
)1.01
es/full/minify/libraries/typescript
2733751010
ns/iter (± 15200497
)2719929251
ns/iter (± 25491532
)1.01
es/full/minify/libraries/victory
595722007
ns/iter (± 5934064
)598221240
ns/iter (± 10405941
)1.00
es/full/minify/libraries/vue
123224184
ns/iter (± 1123913
)122203614
ns/iter (± 881329
)1.01
es/full/codegen/es3
34550
ns/iter (± 1360
)33996
ns/iter (± 154
)1.02
es/full/codegen/es5
34544
ns/iter (± 97
)33975
ns/iter (± 122
)1.02
es/full/codegen/es2015
34398
ns/iter (± 115
)33995
ns/iter (± 78
)1.01
es/full/codegen/es2016
34497
ns/iter (± 79
)33985
ns/iter (± 73
)1.02
es/full/codegen/es2017
34382
ns/iter (± 50
)33912
ns/iter (± 145
)1.01
es/full/codegen/es2018
34433
ns/iter (± 67
)33939
ns/iter (± 104
)1.01
es/full/codegen/es2019
34392
ns/iter (± 101
)34023
ns/iter (± 87
)1.01
es/full/codegen/es2020
34488
ns/iter (± 193
)34276
ns/iter (± 68
)1.01
es/full/all/es3
169514498
ns/iter (± 1055526
)167396673
ns/iter (± 1242521
)1.01
es/full/all/es5
161745271
ns/iter (± 1593483
)159965663
ns/iter (± 1700058
)1.01
es/full/all/es2015
120043806
ns/iter (± 622415
)120167091
ns/iter (± 680968
)1.00
es/full/all/es2016
119616869
ns/iter (± 1536784
)119501468
ns/iter (± 1288317
)1.00
es/full/all/es2017
119092626
ns/iter (± 1127729
)118605730
ns/iter (± 685668
)1.00
es/full/all/es2018
115811417
ns/iter (± 897926
)116533170
ns/iter (± 1201080
)0.99
es/full/all/es2019
116079690
ns/iter (± 634166
)115530801
ns/iter (± 758867
)1.00
es/full/all/es2020
112017681
ns/iter (± 642547
)111308252
ns/iter (± 1906724
)1.01
es/full/parser
512793
ns/iter (± 5126
)508101
ns/iter (± 5180
)1.01
es/full/base/fixer
17767
ns/iter (± 144
)18669
ns/iter (± 164
)0.95
es/full/base/resolver_and_hygiene
80966
ns/iter (± 204
)81531
ns/iter (± 493
)0.99
This comment was automatically generated by workflow using github-action-benchmark.