Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.14 KB

File metadata and controls

21 lines (16 loc) · 1.14 KB

TODOS — rain-bench Phase 1

Generated by /plan-eng-review on 2026-03-30. Design doc: ~/.gstack/projects/topherchris420-james_library/root-claude-add-gstack-documentation-JfuDW-design-20260329-204538.md

Phase 1: Criterion benchmark crate

  • Register crates/rain-bench in root Cargo.toml workspace members
  • Create crates/rain-bench/Cargo.toml with rain-labs = { path = "../../" }, criterion, tokio, tempfile
  • Implement benches/store_concurrent.rs — 50 concurrent Tokio tasks, one Arc<SqliteMemory>, p50/p95/p99 throughput
  • Implement benches/recall_integrity.rs — stored count == recalled count per task (FTS5 consistency check)
  • Commit criterion baselines to crates/rain-bench/benches/baselines/main/
  • Write 10 tests — all 10 pass
  • Add CI job for cargo bench --package rain-bench -- --baseline main with regression gate

Phase 2 (deferred — separate design doc required)

  • rain-bench CLI binary + GitHub Releases CI
  • Benchmark report landing page (GitHub Pages, modern API)
  • Email capture gate (Formspree)
  • Python comparison harness (cached venv, --fresh-venv flag)