Commit graph

1 commit

Author SHA1 Message Date
jedarden
862fe9b395 feat(bf-4b7pm): implement temporary storage for benchmark metrics with JSON serialization
Add comprehensive JSON serialization and validation to RawTimingMetrics:

- Add serde::Serialize/Deserialize derives to RawTimingMetrics
- Implement validate() method checking required metrics (runtime, throughput, file counts)
- Add to_json() and from_json() for import/export
- Implement store_temporary() for JSON file storage (benches/results/raw_metrics_<timestamp>.json)
- Integrate validation and temporary storage into benchmark flow
- Add validation for NaN/infinity values in floating-point metrics

Closes bf-4b7pm. Verification: notes/bf-4b7pm.md, commit $(git rev-parse --short HEAD). Tests: PASS (cargo check --bench grep_1000).
2026-07-06 16:43:05 -04:00