This commit is contained in:
tux
2026-11-03 22:13:16 +01:00
parent 158e115242
commit 8012e912ec
19 changed files with 975 additions and 208 deletions
+14
View File
@@ -58,6 +58,20 @@ cdrustanoia -r -- "-3" out.raw
Use `cdrustanoia --help` for the full option and span documentation. The man
page is the original cdparanoia man page.
## Benchmarks
The core crate contains a small synthetic benchmark for the paranoia read path
and the sample index:
```sh
cargo run --release -p cdrustanoia_core --example bench_paranoia -- 5000
```
It reports index setup/query times, a comparison with the old `HashMap`
index, and overall synthetic read throughput. The image backend is
memory-backed, so the absolute numbers are useful for regression tracking
rather than as a prediction of physical drive speed.
## C API
The two C libraries export the traditional symbols and use the original