-
-
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.
feat(html/codegen): Improve entity compression (#4889)
- Loading branch information
1 parent
44e606a
commit da09c1c
Showing
20 changed files
with
841 additions
and
79 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
crates/swc_html_codegen/tests/document_fragment/element/style/output.min.html
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.
da09c1c
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
1971494540
ns/iter (± 72407620
)2215831937
ns/iter (± 50934466
)0.89
es/full/minify/libraries/d3
492714049
ns/iter (± 19054818
)572786588
ns/iter (± 8678242
)0.86
es/full/minify/libraries/echarts
2409592864
ns/iter (± 9079780
)2580244269
ns/iter (± 14160685
)0.93
es/full/minify/libraries/jquery
107431678
ns/iter (± 1240776
)111478353
ns/iter (± 2175030
)0.96
es/full/minify/libraries/lodash
156651500
ns/iter (± 1267917
)162983212
ns/iter (± 2461315
)0.96
es/full/minify/libraries/moment
62989406
ns/iter (± 368904
)63214409
ns/iter (± 688379
)1.00
es/full/minify/libraries/react
20230288
ns/iter (± 102584
)20414331
ns/iter (± 67146
)0.99
es/full/minify/libraries/terser
527938164
ns/iter (± 6421600
)578942638
ns/iter (± 2815594
)0.91
es/full/minify/libraries/three
652769111
ns/iter (± 14693819
)768532534
ns/iter (± 5801731
)0.85
es/full/minify/libraries/typescript
4594097404
ns/iter (± 25075839
)5032935441
ns/iter (± 15187227
)0.91
es/full/minify/libraries/victory
876134477
ns/iter (± 7580526
)980789304
ns/iter (± 6942482
)0.89
es/full/minify/libraries/vue
161616824
ns/iter (± 1762288
)180588400
ns/iter (± 4739345
)0.89
es/full/codegen/es3
34400
ns/iter (± 170
)34420
ns/iter (± 234
)1.00
es/full/codegen/es5
34347
ns/iter (± 162
)34433
ns/iter (± 135
)1.00
es/full/codegen/es2015
34392
ns/iter (± 166
)34424
ns/iter (± 134
)1.00
es/full/codegen/es2016
34372
ns/iter (± 148
)34408
ns/iter (± 216
)1.00
es/full/codegen/es2017
34320
ns/iter (± 155
)34392
ns/iter (± 187
)1.00
es/full/codegen/es2018
34330
ns/iter (± 134
)34402
ns/iter (± 198
)1.00
es/full/codegen/es2019
34343
ns/iter (± 153
)34387
ns/iter (± 161
)1.00
es/full/codegen/es2020
34339
ns/iter (± 154
)34390
ns/iter (± 150
)1.00
es/full/all/es3
192743328
ns/iter (± 756187
)194375519
ns/iter (± 767631
)0.99
es/full/all/es5
182783437
ns/iter (± 669555
)183775703
ns/iter (± 665458
)0.99
es/full/all/es2015
145214169
ns/iter (± 709279
)146030395
ns/iter (± 699075
)0.99
es/full/all/es2016
144216544
ns/iter (± 796442
)144970398
ns/iter (± 937933
)0.99
es/full/all/es2017
144480003
ns/iter (± 683550
)144121706
ns/iter (± 694986
)1.00
es/full/all/es2018
142220423
ns/iter (± 771651
)142764575
ns/iter (± 840041
)1.00
es/full/all/es2019
141403895
ns/iter (± 725082
)141962979
ns/iter (± 676428
)1.00
es/full/all/es2020
136592703
ns/iter (± 665244
)136872964
ns/iter (± 567059
)1.00
es/full/parser
591439
ns/iter (± 59727
)590136
ns/iter (± 61290
)1.00
es/full/base/fixer
28741
ns/iter (± 202
)28361
ns/iter (± 218
)1.01
es/full/base/resolver_and_hygiene
139171
ns/iter (± 1678
)140578
ns/iter (± 1694
)0.99
serialization of ast node
182
ns/iter (± 15
)182
ns/iter (± 1
)1
serialization of serde
182
ns/iter (± 0
)182
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.