Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(css/parser): Add malformed hex color tests (#3762)
- Loading branch information
Showing
3 changed files
with
307 additions
and
11 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 |
---|---|---|
|
@@ -10,4 +10,8 @@ a { | |
color: #0000; | ||
color: #ffff; | ||
color: #FFFF; | ||
color: #1; | ||
color: #FF; | ||
color: #123456789; | ||
color: #xyz; | ||
} |
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
9f90882
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
full_es2015
201500908
ns/iter (± 9810740
)150364826
ns/iter (± 29462706
)1.34
full_es2016
208230803
ns/iter (± 12107043
)174154302
ns/iter (± 5485499
)1.20
full_es2017
208679373
ns/iter (± 14317623
)145885454
ns/iter (± 30952438
)1.43
full_es2018
207429976
ns/iter (± 14903252
)145763201
ns/iter (± 21453669
)1.42
full_es2019
206483403
ns/iter (± 10573973
)169037739
ns/iter (± 8617866
)1.22
full_es2020
181125099
ns/iter (± 8895443
)155039203
ns/iter (± 4894201
)1.17
full_es3
256901121
ns/iter (± 11848952
)215178627
ns/iter (± 4901960
)1.19
full_es5
257525370
ns/iter (± 15740549
)212913247
ns/iter (± 17828888
)1.21
parser
834086
ns/iter (± 86283
)589626
ns/iter (± 26787
)1.41
This comment was automatically generated by workflow using github-action-benchmark.