-
-
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.
fix(es/codegen): Align sourcemap with terser (#5657)
- Loading branch information
Showing
53 changed files
with
955 additions
and
149 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 |
---|---|---|
|
@@ -36,4 +36,5 @@ jobs: | |
- name: Check dependencies | ||
run: | | ||
./scripts/crev/verify.sh | ||
# ./scripts/crev/verify.sh | ||
echo 'Disabled' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/fixture/deno/deno-10014/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
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
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/fixture/issues-1xxx/1581/case2/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"mappings": "AAAAA,CAAC,EAAE,CAAC,2BAA2B,GAA5B,CAA+B", | ||
"mappings": "AAAAA,IAAI,2BAA2B", | ||
"names": [ | ||
"a" | ||
], | ||
|
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 @@ | ||
{ | ||
"mappings": "AAAAA,CAAC,EAAE,CAAC,2BAA2B,GAA5B,CAA+B", | ||
"mappings": "AAAAA,IAAI,2BAA2B", | ||
"names": [ | ||
"a" | ||
], | ||
|
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
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/sourcemap/011/output/CommentControlller.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
Oops, something went wrong.
2ba8815
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
1928268634
ns/iter (± 73925710
)1930405752
ns/iter (± 61043108
)1.00
es/full/minify/libraries/d3
369813513
ns/iter (± 6892292
)395079456
ns/iter (± 16791767
)0.94
es/full/minify/libraries/echarts
1524016284
ns/iter (± 1647534358
)1473287006
ns/iter (± 34519160
)1.03
es/full/minify/libraries/jquery
96850769
ns/iter (± 5677819
)98079974
ns/iter (± 5275998
)0.99
es/full/minify/libraries/lodash
115862496
ns/iter (± 4284041
)128961677
ns/iter (± 10476038
)0.90
es/full/minify/libraries/moment
51214382
ns/iter (± 3408751
)58729694
ns/iter (± 3103938
)0.87
es/full/minify/libraries/react
19115802
ns/iter (± 625086
)21573239
ns/iter (± 792788
)0.89
es/full/minify/libraries/terser
267195860
ns/iter (± 15768045
)296242881
ns/iter (± 7032613
)0.90
es/full/minify/libraries/three
510428897
ns/iter (± 32942933
)503387521
ns/iter (± 19173124
)1.01
es/full/minify/libraries/typescript
3524544865
ns/iter (± 1068062369
)3270897454
ns/iter (± 57809989
)1.08
es/full/minify/libraries/victory
791699623
ns/iter (± 112478955
)754598674
ns/iter (± 13383760
)1.05
es/full/minify/libraries/vue
155726407
ns/iter (± 12302179
)147231733
ns/iter (± 7614003
)1.06
es/full/codegen/es3
34250
ns/iter (± 5095
)34941
ns/iter (± 1793
)0.98
es/full/codegen/es5
33787
ns/iter (± 5496
)34924
ns/iter (± 1882
)0.97
es/full/codegen/es2015
34611
ns/iter (± 3467
)34724
ns/iter (± 847
)1.00
es/full/codegen/es2016
35386
ns/iter (± 4560
)34689
ns/iter (± 629
)1.02
es/full/codegen/es2017
34936
ns/iter (± 5103
)34916
ns/iter (± 1594
)1.00
es/full/codegen/es2018
37350
ns/iter (± 6428
)35008
ns/iter (± 1617
)1.07
es/full/codegen/es2019
35134
ns/iter (± 2287
)34826
ns/iter (± 2635
)1.01
es/full/codegen/es2020
35232
ns/iter (± 2924
)34808
ns/iter (± 1284
)1.01
es/full/all/es3
197185473
ns/iter (± 16690064
)232873259
ns/iter (± 17655106
)0.85
es/full/all/es5
190024039
ns/iter (± 19727227
)189226199
ns/iter (± 12019963
)1.00
es/full/all/es2015
151411051
ns/iter (± 11165673
)156800623
ns/iter (± 10731780
)0.97
es/full/all/es2016
168278070
ns/iter (± 26278501
)161569303
ns/iter (± 13147804
)1.04
es/full/all/es2017
156502833
ns/iter (± 15875372
)162701382
ns/iter (± 15814631
)0.96
es/full/all/es2018
156063031
ns/iter (± 33927697
)162420965
ns/iter (± 14386147
)0.96
es/full/all/es2019
149591050
ns/iter (± 30034787
)148361049
ns/iter (± 5538969
)1.01
es/full/all/es2020
139179445
ns/iter (± 5298113
)148651047
ns/iter (± 7624715
)0.94
es/full/parser
724142
ns/iter (± 23574
)745631
ns/iter (± 29372
)0.97
es/full/base/fixer
26098
ns/iter (± 770
)26306
ns/iter (± 336
)0.99
es/full/base/resolver_and_hygiene
93373
ns/iter (± 3821
)92841
ns/iter (± 1441
)1.01
serialization of ast node
223
ns/iter (± 1
)213
ns/iter (± 3
)1.05
serialization of serde
220
ns/iter (± 1
)223
ns/iter (± 6
)0.99
This comment was automatically generated by workflow using github-action-benchmark.