receipt-bench 0.1.0

Replayable benchmark substrate for semantic search, compression, and memory operations
Documentation

receipt-bench

Replayable benchmark substrate for Rust projects. Captures structured receipts timestamped and keyed to commit hash + machine fingerprint, enabling diffs between runs.

Crates

  • BenchmarkSuite — semantic search, compression round-trip, memory lookups
  • BenchmarkReceipt — provenance receipt (timestamp, commit hash, machine fingerprint)
  • ReceiptDiff — comparison utility between benchmark receipts

Usage

use receipt_bench::{BenchmarkSuite, BenchmarkReceipt, MachineFingerprint};

let suite = BenchmarkSuite::new();
let receipt = suite.run()?;
println!("{:?}", receipt);

Design Goals

  • Local-first: no network, no external services
  • Minimal dependencies: serde, thiserror, chrono, sha2
  • MSRV 1.75, Rust 2021 edition
  • No unwrap() in production code