lukeed/tidyPublic

test: bench private parsers

bench/parse now also times tidy's CSS, SCSS, Less, HTML, XML and
Handlebars parsers, against raffia, lightningcss, scraper, tl,
roxmltree, quick-xml and the handlebars crate. tidy keeps those parsers
private, so their entry points only build with --cfg tidy_bench, which
bench/parse sets. It isn't a feature, and without it the release tidy
binary is byte for byte the same.

bench/parse.ts runs it and writes bench/results/parse. --rejects lists
the files each tool rejects.
LELuke Edwards authored
8eec50fPatch
Parentca75023
12 files changed+1405-53
StackedSplit
Cargo.toml+2 โˆ’0
bench/parse.ts+67 โˆ’0
bench/parse/.cargo/config.toml+3 โˆ’0
bench/parse/Cargo.lock+1150 โˆ’30
bench/parse/Cargo.toml+7 โˆ’0
bench/parse/src/main.rs+118 โˆ’20
crates/tidy/src/css/mod.rs+16 โˆ’0
crates/tidy/src/handlebars/mod.rs+9 โˆ’0
crates/tidy/src/html/mod.rs+9 โˆ’0
crates/tidy/src/lib.rs+9 โˆ’0
crates/tidy/src/xml/mod.rs+13 โˆ’0
mise.toml+2 โˆ’3