chore(pi): add session memory benchmark - #5779
NathanFlurry wants to merge 14 commits into
Conversation
NathanFlurry
commented
Sep 23, 2026
- Add a reproducible Pi session memory benchmark on top of feat(pi): add pi actor integration #5767, with one prompt and a verified mock LLM response per session.
- Sample runner RSS after every session, including RivetKit NAPI/Rust memory and excluding the Engine subprocess, client, and mock server; isolate storage and clean up the benchmark process group.
- Include the recorded 100-session results, Rivet-styled chart, chart generator, and instructions for rerunning both.
- Validated with a fresh 100-session end-to-end run: 100 distinct sessions, 100 verified responses, 100 mock HTTP requests, and 101 RSS samples. Verified process cleanup, JavaScript syntax/formatting, and chart rendering with website and fallback fonts.
ReviewReviewed the diff (6 new files, all additions, scoped entirely to Strengths
Minor / non-blocking notes
BugsNone found. Traced through the retry loop ( SecurityNo concerns. All subprocess arguments are passed via array-form Overall: solid, well-tested addition. Nothing blocking. |
ReviewReviewed Nits / suggestions (non-blocking)
What looks solid
No correctness bugs or security concerns found. This is tooling/chore code with no production code paths affected, so the lack of automated tests is appropriate here — reproducibility instructions in the README serve that role. 🤖 Generated with Claude Code |
1448347 to
5719ca6
Compare