···65656666The `xtask` `validate` subcommand group is self-documented in CLI help and can be explored as needed.
67676868+## Benchmarking
6969+7070+To benchmark RNG backends with hyperfine:
7171+7272+```bash
7373+# Install hyperfine first
7474+cargo install hyperfine
7575+7676+# Run benchmarks
7777+cargo run -p xtask -- benchmark
7878+```
7979+8080+This builds three binaries with different RNG backends and compares their performance:
8181+- `rng-dummy`: ~0.3 ns (constant, no actual randomness)
8282+- `rng-dev-urandom`: ~1.2 μs (file I/O)
8383+- `rng-getrandom`: ~0.24 μs (syscall, 5x faster)
8484+8585+Manual benchmark:
8686+```bash
8787+cargo run --release --bin bench-rng --no-default-features --features rng-getrandom -- 10000
8888+```
8989+6890## Binary size comparison
69917092Release builds are tuned for binary size in `Cargo.toml`: