-
-
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.
- Loading branch information
1 parent
c58f6eb
commit 4f1e046
Showing
10 changed files
with
763 additions
and
10 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
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
30 changes: 30 additions & 0 deletions
30
crates/swc_html_parser/tests/fixture/element/pre-3/dom.rust-debug
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <body> | ||
| " | ||
|
||
" | ||
| <pre> | ||
| " | ||
|
||
|
||
" | ||
| <code> | ||
| " | ||
|
||
|
||
|
||
Text | ||
|
||
|
||
|
||
" | ||
| " | ||
|
||
|
||
" | ||
| " | ||
|
||
|
||
" |
23 changes: 23 additions & 0 deletions
23
crates/swc_html_parser/tests/fixture/element/pre-3/input.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!doctype html> | ||
<html> | ||
<body> | ||
|
||
<pre> | ||
|
||
|
||
|
||
<code> | ||
|
||
|
||
|
||
Text | ||
|
||
|
||
|
||
</code> | ||
|
||
|
||
</pre> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.
4f1e046
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
2233382360
ns/iter (± 53380412
)2493804130
ns/iter (± 36532669
)0.90
es/full/minify/libraries/d3
549080545
ns/iter (± 14918325
)575342686
ns/iter (± 12537320
)0.95
es/full/minify/libraries/echarts
2582677458
ns/iter (± 14901607
)2748400617
ns/iter (± 20164063
)0.94
es/full/minify/libraries/jquery
108833457
ns/iter (± 1242132
)126721793
ns/iter (± 3241692
)0.86
es/full/minify/libraries/lodash
159541800
ns/iter (± 1323965
)178554566
ns/iter (± 2276458
)0.89
es/full/minify/libraries/moment
63738409
ns/iter (± 468360
)74389372
ns/iter (± 843435
)0.86
es/full/minify/libraries/react
20634564
ns/iter (± 105681
)24905094
ns/iter (± 421524
)0.83
es/full/minify/libraries/terser
544548641
ns/iter (± 12071967
)801326409
ns/iter (± 15952977
)0.68
es/full/minify/libraries/three
780971084
ns/iter (± 11720362
)787026715
ns/iter (± 16467079
)0.99
es/full/minify/libraries/typescript
5070068953
ns/iter (± 12975794
)5646260004
ns/iter (± 99068225
)0.90
es/full/minify/libraries/victory
1008490634
ns/iter (± 5786864
)1071395246
ns/iter (± 8308781
)0.94
es/full/minify/libraries/vue
171912304
ns/iter (± 2156552
)190305271
ns/iter (± 3550764
)0.90
es/full/codegen/es3
34324
ns/iter (± 359
)41411
ns/iter (± 2266
)0.83
es/full/codegen/es5
34206
ns/iter (± 153
)41143
ns/iter (± 2121
)0.83
es/full/codegen/es2015
34246
ns/iter (± 140
)41080
ns/iter (± 3316
)0.83
es/full/codegen/es2016
34253
ns/iter (± 134
)40796
ns/iter (± 1644
)0.84
es/full/codegen/es2017
34254
ns/iter (± 162
)40926
ns/iter (± 1887
)0.84
es/full/codegen/es2018
34258
ns/iter (± 145
)40890
ns/iter (± 1746
)0.84
es/full/codegen/es2019
34218
ns/iter (± 159
)41014
ns/iter (± 3468
)0.83
es/full/codegen/es2020
34211
ns/iter (± 147
)41379
ns/iter (± 1467
)0.83
es/full/all/es3
192526616
ns/iter (± 541731
)226631105
ns/iter (± 6726768
)0.85
es/full/all/es5
182362115
ns/iter (± 685792
)217896549
ns/iter (± 6066948
)0.84
es/full/all/es2015
144903030
ns/iter (± 502551
)171272775
ns/iter (± 4745120
)0.85
es/full/all/es2016
144180921
ns/iter (± 936204
)169716274
ns/iter (± 4370032
)0.85
es/full/all/es2017
143264998
ns/iter (± 545609
)169758324
ns/iter (± 5193042
)0.84
es/full/all/es2018
141098273
ns/iter (± 964207
)168257810
ns/iter (± 4693601
)0.84
es/full/all/es2019
140652596
ns/iter (± 543978
)165756890
ns/iter (± 5395821
)0.85
es/full/all/es2020
136178140
ns/iter (± 603649
)158433219
ns/iter (± 4608595
)0.86
es/full/parser
587917
ns/iter (± 55954
)766149
ns/iter (± 48242
)0.77
es/full/base/fixer
26928
ns/iter (± 183
)37023
ns/iter (± 1957
)0.73
es/full/base/resolver_and_hygiene
140449
ns/iter (± 2314
)184427
ns/iter (± 7925
)0.76
serialization of ast node
178
ns/iter (± 1
)205
ns/iter (± 6
)0.87
serialization of serde
180
ns/iter (± 0
)208
ns/iter (± 7
)0.87
This comment was automatically generated by workflow using github-action-benchmark.