mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
fc446aba0b
Drive both utilities end-to-end through their real entry points. - benches/updatedb_bench.rs: walks a generated tree (~8.5k paths) and writes a LOCATE02 database, measuring the walk + front-coding + write (full build and a -regex/-prune variant). Empty prune options keep the run deterministic regardless of temp_dir location. - benches/locate_bench.rs: builds the database once via updatedb, then scans it in -c/count mode so database decoding and pattern matching dominate (no-match, substring, -b basename, -i ignore-case, -r regex). Unix-only, matching the locate module's cfg. The existing CodSpeed workflow picks these up via cargo codspeed build/run.