Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(xml/parser): Fix parsing of pi (#6450)
- Loading branch information
1 parent
df74981
commit 6388920
Showing
71 changed files
with
2,595 additions
and
29 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
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
| <root> | ||
| " | ||
" | ||
<?xslt ma> | ||
| " | ||
" | ||
<?xslt | ||
m> | ||
| " | ||
" | ||
<?xslt > | ||
| " | ||
" | ||
<?xslt > | ||
| " | ||
" | ||
<?xml-stylesheet > | ||
| " | ||
" | ||
<?foo version="1.0"> | ||
| " | ||
" | ||
<?foo version='1.0'> | ||
| " | ||
" | ||
<?foo version='1.0' encoding="UTF-8"> | ||
| " | ||
" | ||
<?foo version='1.0' encoding='UTF-8'> | ||
| " | ||
" | ||
<?foo version='1.0' encoding='utf-8'> | ||
| " | ||
" | ||
<?foo version='1.0' encoding='EUC-JP'> | ||
| " | ||
" | ||
<?foo version='1.0' encoding='UTF-8' standalone='yes'> | ||
| " | ||
" | ||
<?foo version='1.0' encoding='UTF-8' standalone='no'> | ||
| " | ||
" | ||
<?foo version='1.0' standalone='no'> | ||
| " | ||
" | ||
<?foo version='1.0' standalone='no' > | ||
| " | ||
" | ||
<?foo > | ||
| " | ||
" | ||
<?f ?oo> | ||
| " | ||
" | ||
<?f ?oo?> | ||
| " | ||
" | ||
<?f ?????> | ||
| " | ||
" | ||
<?test aaa > | ||
| " | ||
" | ||
<?test ? > | ||
| " | ||
" | ||
<?test a a 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<root> | ||
<?xslt ma?> | ||
<?xslt | ||
m?> | ||
<?xslt?> | ||
<?xslt ?> | ||
<?xml-stylesheet?> | ||
<?foo version="1.0"?> | ||
<?foo version='1.0'?> | ||
<?foo version='1.0' encoding="UTF-8"?> | ||
<?foo version='1.0' encoding='UTF-8'?> | ||
<?foo version='1.0' encoding='utf-8'?> | ||
<?foo version='1.0' encoding='EUC-JP'?> | ||
<?foo version='1.0' encoding='UTF-8' standalone='yes'?> | ||
<?foo version='1.0' encoding='UTF-8' standalone='no'?> | ||
<?foo version='1.0' standalone='no'?> | ||
<?foo version='1.0' standalone='no' ?> | ||
<?foo?> | ||
<?f ?oo?> | ||
<?f ?oo??> | ||
<?f ??????> | ||
<?test aaa ?> | ||
<?test ? ?> | ||
<?test a a a ?> | ||
</root> |
Oops, something went wrong.
6388920
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
344232
ns/iter (± 20153
)357899
ns/iter (± 29349
)0.96
es/full/minify/libraries/antd
1870017561
ns/iter (± 53797770
)1995326402
ns/iter (± 79291138
)0.94
es/full/minify/libraries/d3
419934434
ns/iter (± 14523502
)456519937
ns/iter (± 44126815
)0.92
es/full/minify/libraries/echarts
1588121067
ns/iter (± 93895552
)1939151547
ns/iter (± 124765219
)0.82
es/full/minify/libraries/jquery
110251465
ns/iter (± 7453291
)129731158
ns/iter (± 10642916
)0.85
es/full/minify/libraries/lodash
126503063
ns/iter (± 12762936
)155720302
ns/iter (± 20475401
)0.81
es/full/minify/libraries/moment
60735024
ns/iter (± 1532977
)75765692
ns/iter (± 5778983
)0.80
es/full/minify/libraries/react
20708172
ns/iter (± 322676
)24480300
ns/iter (± 2005651
)0.85
es/full/minify/libraries/terser
321355080
ns/iter (± 16845243
)388452515
ns/iter (± 23837383
)0.83
es/full/minify/libraries/three
564867714
ns/iter (± 17924549
)627710057
ns/iter (± 29120172
)0.90
es/full/minify/libraries/typescript
3584339278
ns/iter (± 118889990
)4048571408
ns/iter (± 1382412454
)0.89
es/full/minify/libraries/victory
872678416
ns/iter (± 47295398
)976403133
ns/iter (± 35867447
)0.89
es/full/minify/libraries/vue
178966369
ns/iter (± 16255938
)195630668
ns/iter (± 21116209
)0.91
es/full/codegen/es3
34200
ns/iter (± 2200
)39693
ns/iter (± 6405
)0.86
es/full/codegen/es5
34074
ns/iter (± 840
)38896
ns/iter (± 5542
)0.88
es/full/codegen/es2015
34126
ns/iter (± 1534
)37283
ns/iter (± 5955
)0.92
es/full/codegen/es2016
34873
ns/iter (± 1778
)40515
ns/iter (± 10345
)0.86
es/full/codegen/es2017
34514
ns/iter (± 2488
)36930
ns/iter (± 7646
)0.93
es/full/codegen/es2018
34407
ns/iter (± 2145
)37856
ns/iter (± 6874
)0.91
es/full/codegen/es2019
34657
ns/iter (± 1562
)45958
ns/iter (± 23401
)0.75
es/full/codegen/es2020
34543
ns/iter (± 3634
)38990
ns/iter (± 6135
)0.89
es/full/all/es3
207515867
ns/iter (± 21111045
)238580830
ns/iter (± 28722168
)0.87
es/full/all/es5
199288045
ns/iter (± 20306594
)224927333
ns/iter (± 26666477
)0.89
es/full/all/es2015
155166491
ns/iter (± 13875040
)177884956
ns/iter (± 23786388
)0.87
es/full/all/es2016
155754607
ns/iter (± 13486061
)179526493
ns/iter (± 24409673
)0.87
es/full/all/es2017
158548077
ns/iter (± 14597397
)176323122
ns/iter (± 22744149
)0.90
es/full/all/es2018
159638772
ns/iter (± 16745968
)174981188
ns/iter (± 25129657
)0.91
es/full/all/es2019
154337469
ns/iter (± 18614991
)174284662
ns/iter (± 20953279
)0.89
es/full/all/es2020
148226789
ns/iter (± 18017006
)163635784
ns/iter (± 13875128
)0.91
es/full/parser
744271
ns/iter (± 64880
)830683
ns/iter (± 123839
)0.90
es/full/base/fixer
27685
ns/iter (± 3536
)31749
ns/iter (± 6214
)0.87
es/full/base/resolver_and_hygiene
96451
ns/iter (± 11987
)101760
ns/iter (± 18473
)0.95
serialization of ast node
217
ns/iter (± 24
)261
ns/iter (± 44
)0.83
serialization of serde
232
ns/iter (± 15
)275
ns/iter (± 58
)0.84
This comment was automatically generated by workflow using github-action-benchmark.