-
-
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(css): Supports more color notations (#4009)
- Loading branch information
1 parent
afa97f6
commit a4bc092
Showing
12 changed files
with
7,513 additions
and
62 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
2 changes: 1 addition & 1 deletion
2
crates/swc_css_codegen/tests/fixture/declaration/custom-properties/output.min.css
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
Oops, something went wrong.
a4bc092
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
base_tr_fixer
20887
ns/iter (± 586
)33283
ns/iter (± 11848
)0.63
base_tr_resolver_and_hygiene
93684
ns/iter (± 20946
)143732
ns/iter (± 51122
)0.65
codegen_es2015
27400
ns/iter (± 134
)37616
ns/iter (± 10584
)0.73
codegen_es2016
27446
ns/iter (± 130
)36517
ns/iter (± 5479
)0.75
codegen_es2017
27482
ns/iter (± 527
)37353
ns/iter (± 13919
)0.74
codegen_es2018
27436
ns/iter (± 237
)37020
ns/iter (± 15620
)0.74
codegen_es2019
27390
ns/iter (± 150
)37371
ns/iter (± 13676
)0.73
codegen_es2020
27454
ns/iter (± 169
)37461
ns/iter (± 16052
)0.73
codegen_es3
27479
ns/iter (± 108
)36881
ns/iter (± 8315
)0.75
codegen_es5
27531
ns/iter (± 205
)37102
ns/iter (± 17954
)0.74
full_es2015
124930291
ns/iter (± 3411458
)181723159
ns/iter (± 19341728
)0.69
full_es2016
125393290
ns/iter (± 5776532
)177811118
ns/iter (± 16595819
)0.71
full_es2017
124628670
ns/iter (± 3933413
)178253461
ns/iter (± 15144480
)0.70
full_es2018
123237905
ns/iter (± 3420693
)178534660
ns/iter (± 19993234
)0.69
full_es2019
122380853
ns/iter (± 3610348
)175229531
ns/iter (± 15650747
)0.70
full_es2020
117165520
ns/iter (± 4451327
)166167677
ns/iter (± 15124600
)0.71
full_es3
176884224
ns/iter (± 5949839
)239593322
ns/iter (± 13130503
)0.74
full_es5
165662790
ns/iter (± 5435053
)224889871
ns/iter (± 19540549
)0.74
parser
534422
ns/iter (± 8091
)768611
ns/iter (± 245845
)0.70
ser_ast_node
149
ns/iter (± 2
)192
ns/iter (± 40
)0.78
ser_serde
144
ns/iter (± 1
)198
ns/iter (± 37
)0.73
emit_colors
10461255
ns/iter (± 6841776
)5838985
ns/iter (± 4017194
)1.79
emit_large
98727067
ns/iter (± 145499463
)68228754
ns/iter (± 96320993
)1.45
base_clone
2292896
ns/iter (± 44969
)2922367
ns/iter (± 867665
)0.78
fold_span
4045895
ns/iter (± 161259
)5536717
ns/iter (± 1785317
)0.73
fold_span_panic
4215132
ns/iter (± 207543
)5546736
ns/iter (± 1958430
)0.76
visit_mut_span
2757156
ns/iter (± 52940
)3688542
ns/iter (± 1930742
)0.75
visit_mut_span_panic
2803120
ns/iter (± 60028
)3649537
ns/iter (± 910879
)0.77
usage_builtin_type
15397240
ns/iter (± 9885729
)19971443
ns/iter (± 11897631
)0.77
usage_property
361404
ns/iter (± 3104
)474928
ns/iter (± 66955
)0.76
boxing_boxed
151
ns/iter (± 1
)178
ns/iter (± 64
)0.85
boxing_boxed_clone
74
ns/iter (± 1
)94
ns/iter (± 30
)0.79
boxing_unboxed
118
ns/iter (± 2
)149
ns/iter (± 31
)0.79
boxing_unboxed_clone
62
ns/iter (± 1
)83
ns/iter (± 19
)0.75
time_10
286
ns/iter (± 1
)386
ns/iter (± 74
)0.74
time_15
589
ns/iter (± 1
)849
ns/iter (± 327
)0.69
time_20
1191
ns/iter (± 29
)1494
ns/iter (± 432
)0.80
time_40
5403
ns/iter (± 17
)5615
ns/iter (± 1063
)0.96
time_5
111
ns/iter (± 0
)125
ns/iter (± 36
)0.89
time_60
11890
ns/iter (± 70
)11726
ns/iter (± 3364
)1.01
total
0
ns/iter (± 0
)0
ns/iter (± 0
)NaN
This comment was automatically generated by workflow using github-action-benchmark.