-
-
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.
fix(css/parser): Fix input buffer and improve error recovery (#4948)
- Loading branch information
1 parent
3bb75f1
commit bf74d05
Showing
18 changed files
with
136 additions
and
123 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
1 change: 1 addition & 0 deletions
1
crates/swc_css_parser/tests/line-comment/css-in-js/10/input.css
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 @@ | ||
// Only comment // test |
Oops, something went wrong.
bf74d05
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
1800978820
ns/iter (± 31212582
)2134152294
ns/iter (± 14404779
)0.84
es/full/minify/libraries/d3
382405866
ns/iter (± 3696986
)522759033
ns/iter (± 15316032
)0.73
es/full/minify/libraries/echarts
2049264502
ns/iter (± 20048399
)2428538393
ns/iter (± 16131581
)0.84
es/full/minify/libraries/jquery
83283638
ns/iter (± 3403270
)110265964
ns/iter (± 2713996
)0.76
es/full/minify/libraries/lodash
125596993
ns/iter (± 657569
)149703217
ns/iter (± 4594558
)0.84
es/full/minify/libraries/moment
52603055
ns/iter (± 217468
)61932187
ns/iter (± 518760
)0.85
es/full/minify/libraries/react
17084607
ns/iter (± 864351
)20769485
ns/iter (± 165332
)0.82
es/full/minify/libraries/terser
373705026
ns/iter (± 6496608
)739060620
ns/iter (± 12493222
)0.51
es/full/minify/libraries/three
497739722
ns/iter (± 16184291
)682932209
ns/iter (± 18312032
)0.73
es/full/minify/libraries/typescript
3887916109
ns/iter (± 21947667
)4750763891
ns/iter (± 39273284
)0.82
es/full/minify/libraries/victory
651114134
ns/iter (± 14790348
)914040266
ns/iter (± 7712927
)0.71
es/full/minify/libraries/vue
136828233
ns/iter (± 856331
)160320376
ns/iter (± 1973577
)0.85
es/full/codegen/es3
34022
ns/iter (± 135
)37310
ns/iter (± 1639
)0.91
es/full/codegen/es5
29960
ns/iter (± 129
)38942
ns/iter (± 2047
)0.77
es/full/codegen/es2015
29962
ns/iter (± 132
)39153
ns/iter (± 2057
)0.77
es/full/codegen/es2016
29973
ns/iter (± 126
)37828
ns/iter (± 1858
)0.79
es/full/codegen/es2017
29940
ns/iter (± 128
)37996
ns/iter (± 1487
)0.79
es/full/codegen/es2018
29933
ns/iter (± 129
)38044
ns/iter (± 1971
)0.79
es/full/codegen/es2019
29961
ns/iter (± 122
)39454
ns/iter (± 1927
)0.76
es/full/codegen/es2020
29936
ns/iter (± 127
)37365
ns/iter (± 2538
)0.80
es/full/all/es3
170684596
ns/iter (± 2689585
)214642660
ns/iter (± 6521519
)0.80
es/full/all/es5
173241642
ns/iter (± 8281382
)203848548
ns/iter (± 6208748
)0.85
es/full/all/es2015
142937140
ns/iter (± 2608520
)163096855
ns/iter (± 3585537
)0.88
es/full/all/es2016
143474648
ns/iter (± 2610776
)160370698
ns/iter (± 5212629
)0.89
es/full/all/es2017
140190784
ns/iter (± 2540786
)161619281
ns/iter (± 5255918
)0.87
es/full/all/es2018
139420474
ns/iter (± 3121559
)156946218
ns/iter (± 6776063
)0.89
es/full/all/es2019
116853482
ns/iter (± 8910200
)149513523
ns/iter (± 4726936
)0.78
es/full/all/es2020
112265549
ns/iter (± 1065330
)152637747
ns/iter (± 4705684
)0.74
es/full/parser
517472
ns/iter (± 51598
)772020
ns/iter (± 44925
)0.67
es/full/base/fixer
23818
ns/iter (± 141
)34272
ns/iter (± 1093
)0.69
es/full/base/resolver_and_hygiene
122821
ns/iter (± 1775
)182671
ns/iter (± 5938
)0.67
serialization of ast node
180
ns/iter (± 0
)208
ns/iter (± 7
)0.87
serialization of serde
181
ns/iter (± 0
)200
ns/iter (± 6
)0.91
This comment was automatically generated by workflow using github-action-benchmark.