Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(es/modules): Improve compatibility with cjs lexer (#5080)
- Loading branch information
1 parent
8aaf25f
commit 9e162dc
Showing
477 changed files
with
952 additions
and
952 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
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/fixture/codegen/escape/case-2/output/index.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/fixture/issues-1xxx/1309/case1/output/index.map
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
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
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
Oops, something went wrong.
9e162dc
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
1652092369
ns/iter (± 14337181
)1708790069
ns/iter (± 27418162
)0.97
es/full/minify/libraries/d3
415379336
ns/iter (± 10467904
)435219756
ns/iter (± 13233451
)0.95
es/full/minify/libraries/echarts
1647984761
ns/iter (± 26605259
)1674322346
ns/iter (± 45570743
)0.98
es/full/minify/libraries/jquery
93846127
ns/iter (± 11031820
)101892765
ns/iter (± 4386798
)0.92
es/full/minify/libraries/lodash
120933113
ns/iter (± 2684159
)121425625
ns/iter (± 3702519
)1.00
es/full/minify/libraries/moment
54366238
ns/iter (± 1993855
)53281567
ns/iter (± 950262
)1.02
es/full/minify/libraries/react
17848486
ns/iter (± 425960
)18009632
ns/iter (± 1489144
)0.99
es/full/minify/libraries/terser
606792372
ns/iter (± 8678062
)609486881
ns/iter (± 21719225
)1.00
es/full/minify/libraries/three
540594051
ns/iter (± 11695241
)540734827
ns/iter (± 10822122
)1.00
es/full/minify/libraries/typescript
3464173689
ns/iter (± 88243979
)3466710781
ns/iter (± 73446741
)1.00
es/full/minify/libraries/victory
746265943
ns/iter (± 8091425
)726400293
ns/iter (± 11084581
)1.03
es/full/minify/libraries/vue
156146181
ns/iter (± 8414149
)137136099
ns/iter (± 4073556
)1.14
es/full/codegen/es3
33205
ns/iter (± 611
)32884
ns/iter (± 581
)1.01
es/full/codegen/es5
33215
ns/iter (± 909
)33061
ns/iter (± 532
)1.00
es/full/codegen/es2015
33259
ns/iter (± 1100
)32708
ns/iter (± 677
)1.02
es/full/codegen/es2016
33242
ns/iter (± 738
)33139
ns/iter (± 1031
)1.00
es/full/codegen/es2017
33170
ns/iter (± 1045
)32842
ns/iter (± 878
)1.01
es/full/codegen/es2018
33155
ns/iter (± 378
)32726
ns/iter (± 1345
)1.01
es/full/codegen/es2019
33011
ns/iter (± 2146
)32685
ns/iter (± 378
)1.01
es/full/codegen/es2020
33320
ns/iter (± 1354
)31977
ns/iter (± 534
)1.04
es/full/all/es3
188580106
ns/iter (± 7161106
)180770726
ns/iter (± 5489659
)1.04
es/full/all/es5
173096220
ns/iter (± 7219992
)167851942
ns/iter (± 4810659
)1.03
es/full/all/es2015
141188859
ns/iter (± 4320421
)136622568
ns/iter (± 3422141
)1.03
es/full/all/es2016
139916350
ns/iter (± 6120522
)135107879
ns/iter (± 3699922
)1.04
es/full/all/es2017
139306422
ns/iter (± 4590568
)134780456
ns/iter (± 4311193
)1.03
es/full/all/es2018
139027924
ns/iter (± 7416859
)133132947
ns/iter (± 3498957
)1.04
es/full/all/es2019
139663822
ns/iter (± 4105802
)135971252
ns/iter (± 3868829
)1.03
es/full/all/es2020
131759207
ns/iter (± 9048146
)130871500
ns/iter (± 3172889
)1.01
es/full/parser
714920
ns/iter (± 45123
)700229
ns/iter (± 14545
)1.02
es/full/base/fixer
30469
ns/iter (± 920
)29433
ns/iter (± 444
)1.04
es/full/base/resolver_and_hygiene
89757
ns/iter (± 2228
)87814
ns/iter (± 2575
)1.02
serialization of ast node
217
ns/iter (± 5
)216
ns/iter (± 5
)1.00
serialization of serde
238
ns/iter (± 9
)242
ns/iter (± 2
)0.98
This comment was automatically generated by workflow using github-action-benchmark.