Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

perf(parse/tailwind): use compact trie for lexing base names instead of linear search

#7977Merged
Comparing
dyc3/perf-tw-basename-lexing
(
b05b967
) with
main
(
ac3fc64
)
CodSpeed Performance Gauge
N/A
New
10
Skipped
145

Benchmarks

155 total
uncached[extreme_stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A1.2 ms
cached[arbitrary_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A259.3 µs
cached[simple_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A139.9 µs
cached[extreme_stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A945.1 µs
cached[stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A2.2 ms
cached[variant_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A219.5 µs
uncached[stress.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A2.8 ms
uncached[simple_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A193.6 µs
uncached[variant_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A271.9 µs
uncached[arbitrary_classes.txt]
crates/biome_tailwind_parser/benches/tailwind_parser.rs::tailwind_parser::bench_tailwind::tailwind_parser
CodSpeed Performance Gauge
N/A
N/A331.5 µ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
No baseline data is yet availableOnce your main branch has generated a first performance report, you will see the list of commits and their performance impact here.
© 2026 CodSpeed Technology
Home Terms Privacy Docs