Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

perf(parse/tw): avoid going into basename store trie when not needed

#8528Merged
Comparing
dyc3/tw-parser-shortcircuit-trie
(
a020914
) with
main
(
b8d3bcb
)
CodSpeed Performance Gauge
0%
Untouched
10
Skipped
145

Benchmarks

155 total
cached[variant_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
224 µs221.5 µs
uncached[variant_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
273.9 µs271.3 µs
cached[simple_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
143.4 µs142.5 µs
uncached[extreme_stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
uncached[simple_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
192.7 µs191.7 µs
cached[stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
+1%
2.2 ms2.2 ms
uncached[stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
cached[extreme_stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
0%
872 µs869.6 µs
uncached[arbitrary_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
-1%
309.2 µs311.3 µs
cached[arbitrary_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
-1%
244 µs246.1 µs
index_1033418810622582172.html[uncached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
Skipped
118.2 µs*
index_1033418810622582172.html[cached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
Skipped
102 µs*
html_formatter[index_1033418810622582172.html]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter
Skipped
476.2 µs*
graphql_formatter[schema_5810376208714739011.graphql]
crates/biome_graphql_formatter/benches/graphql_formatter.rs::graphql_formatter::bench_formatter
Skipped
1.4 ms*
graphql_formatter[schema_8546403410957788002.graphql]
crates/biome_graphql_formatter/benches/graphql_formatter.rs::graphql_formatter::bench_formatter
Skipped
2.6 ms*
graphql_formatter[schema_17790310256719731354.graphql]
crates/biome_graphql_formatter/benches/graphql_formatter.rs::graphql_formatter::bench_formatter
Skipped
26.6 ms*
schema_8546403410957788002.graphql[cached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
911 µs*
schema_8546403410957788002.graphql[uncached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
1.1 ms*
schema_17790310256719731354.graphql[uncached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
11.2 ms*
schema_17790310256719731354.graphql[cached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
10.2 ms*
schema_5810376208714739011.graphql[cached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
566.2 µs*
schema_5810376208714739011.graphql[uncached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
Skipped
595.2 µs*
versions[2.3.533]
crates/biome_package/benches/semver.rs
Skipped
2.6 µs*
tsconfig_json
crates/biome_package/benches/tsconfig_json.rs
Skipped
609.1 µs*
versions[1.0.0-beta.11]
crates/biome_package/benches/semver.rs
Skipped
3.5 µs*

Commits

Click on a commit to change the comparison range
Base
main
b8d3bcb
+0.35%
perf(parse/tw): avoid going into basename store trie when not needed
a020914
2 months ago
by dyc3
© 2026 CodSpeed Technology
Home Terms Privacy Docs