Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix(css): improve CSS `if()` function parsing recovery

#8321Merged
Comparing
ryan-m-walker:fix/improve-css-if-function-parsing-recovery
(
4cefbbb
) with
main
(
98ca2ae
)
CodSpeed Performance Gauge
0%
Untouched
29
Skipped
126

Benchmarks

155 total
pure_9395922602181450299.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+3%
3.9 ms*3.8 ms
css_formatter[foundation_11602414662825430680.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
80.3 ms*79.9 ms
css_formatter[semantic_4685287698740288120.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
384.8 ms*384 ms
css_formatter[bootstrap_18416142857265205439.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
117.3 ms*117.1 ms
full_5814491140539129161.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
427.5 ms*426.7 ms
css_analyzer[pure_9395922602181450299.css]
crates/biome_css_analyze/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
20.3 ms*20.2 ms
css_analyzer[foundation_11602414662825430680.css]
crates/biome_css_analyze/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
189.2 ms*189 ms
css_analyzer[bulma_5641719244145477318.css]
crates/biome_css_analyze/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
1.2 s*1.2 s
css_analyzer[bootstrap_18416142857265205439.css]
crates/biome_css_analyze/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
512 ms*511.9 ms
css_analyzer[tachyons_11778168428173736564.css]
crates/biome_css_analyze/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
141.2 ms*141.3 ms
full_5814491140539129161.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
447.3 ms*447.6 ms
css_formatter[pure_9395922602181450299.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
9.9 ms*9.9 ms
css_formatter[full_5814491140539129161.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
1.3 s*1.3 s
semantic_4685287698740288120.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
119.7 ms*119.9 ms
bootstrap_18416142857265205439.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
41.3 ms*41.4 ms
semantic_4685287698740288120.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
126.2 ms*126.4 ms
bootstrap_18416142857265205439.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
37.9 ms*38 ms
css_formatter[bulma_5641719244145477318.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
358.3 ms*359.1 ms
foundation_11602414662825430680.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
26.9 ms*27 ms
css_formatter[tachyons_11778168428173736564.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
38.4 ms*38.5 ms
materialize_5526761731747548557.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
27.6 ms*27.7 ms
foundation_11602414662825430680.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
25.2 ms*25.3 ms
bulma_5641719244145477318.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
124.1 ms*124.7 ms
tachyons_11778168428173736564.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
20.9 ms*21 ms
materialize_5526761731747548557.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
29.8 ms*30.1 ms

Commits

Click on a commit to change the comparison range
Base
main
98ca2ae
-0.14%
add bogus if test boolean expr to to_bogus
7c92cba
3 months ago
by ryan-m-walker
+0.11%
update snapshot tests
7df03ef
3 months ago
by ryan-m-walker
+0.01%
disable double parsing of declaration if if() function encountered in speculative parsing
18d737e
2 months ago
by ryan-m-walker
-0.16%
add extra check before setting if function encountered state, use bogus if test node in manual check
4cefbbb
1 month ago
by ryan-m-walker
© 2026 CodSpeed Technology
Home Terms Privacy Docs