feat(bench): RFC 0039 benchmark harness, branch merge as first workload - #537
Open
azimafroozeh wants to merge 2 commits into
Open
feat(bench): RFC 0039 benchmark harness, branch merge as first workload#537azimafroozeh wants to merge 2 commits into
azimafroozeh wants to merge 2 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
What & why
Adds
omnigraph-bench, the harness for the end-to-end benchmark (RFC 0039). It owns the general machinery: frozen validated fixtures, append-only schema-validated run records, an A/A noise floor with rule-7 claim labeling, and terminal plus self-contained HTML reporting. Branch merge is the first workload wired through it, measuring wall-clock with 14-phase attribution and storage-call counts per run.First result from the harness: on the large fixture (8 tables, 100k rows, delta 5000) the three-way row walk is ~90% of merge wall-clock, and merge cost tracks table size, not delta size. The walk had no phase bucket before; the new
TableWalkphase records it directly.Backing issue / RFC
Checklist
Local verification
cargo fmt --all --check— cleancargo clippy -p omnigraph-bench --all-targets -- -D warnings— cleancargo clippy -p omnigraph-engine --lib -- -D warnings— cleancargo check -p omnigraph-engine --benches— cleancargo test -p omnigraph-bench— 48 passed, 0 failedbash scripts/check-agents-md.sh— OK (78 links, 72 docs)python3 scripts/generate_merge_bench_fixtures.py— builds the release binary and the three v1 fixtures end to endNotes for reviewers
MergeTimingPhase::TableWalkplus two recording spans aroundstage_streaming_table_merge. Production pays one unset task-local check.publish = false.scripts/generate_merge_bench_fixtures.pyis the dataset source of truth (deterministic per builder version, SHA-256 validation stamp; runs refuse unvalidated or modified fixtures).Greptile Summary
Adds the RFC 0039 end-to-end benchmark harness, with validated fixtures, append-only run records, A/A noise-floor comparisons, reporting, and branch-merge timing and storage instrumentation.
omnigraph-benchworkspace crate and fixture-generation tooling.TableWalktiming around the general three-way merge workload.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR F[Validated fixture] --> R[Benchmark repetitions] R --> M[Branch merge] M --> T[Wall-clock and phase timings] M --> S[Storage-call counters] T --> V[Per-repetition row validation] S --> V V --> J[Schema-validated run record] J --> D[Diff and A/A noise-floor labels] J --> P[Terminal and HTML reports]Reviews (2): Last reviewed commit: "fix(bench): row-check every repetition, ..." | Re-trigger Greptile
Context used: