Repository navigation
Conversation
runner::batches() reports items per second at 1, 4 and 8 threads. bench --gate runs a fixed workload under cachegrind (scripts/gate.py, make bench-gate); a rise of more than 10% over bench/gate_baseline.txt fails in CI. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Cn4xFiHhbCHDhom8w2Ghq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Cn4xFiHhbCHDhom8w2Ghq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 3 steps 3 and 7 of PLAN.md: benchmarks for batches, and the CI performance gate.
runner::batches()in the sharedbench/bench.hppreports items per second at 1, 4 and 8 threads, andbench/bench.cppcalls it for the library's batch getter.bench --gateruns a fixed workload (one load, 1,000 calls of every getter, one batch of 1,000) with no timing loops.make bench-gateruns it under Valgrind's cachegrind (scripts/gate.py) and compares the instructions executed withbench/gate_baseline.txt; a rise of more than 10% fails. Instruction counts are stable from run to run, unlike wall time on a shared runner. Wall time and memory stay a report.scripts/gate.py build/bench_gate --updatethere and commit the new baseline.🤖 Generated with Claude Code