oakmark-throughput-benchmark-transplant
oakmark-throughput-benchmark-transplantOpenConflictsinto main
1 commit · 17 files · +16 added · ~1 modified · 13 behind main · Seen by zach 17 days ago
Conflicts with main, so it can't merge yet.
Resolve them locally: run oak pull on this branch, fix the files oak conflict status lists, then oak pull --continue and oak push. Or use Copy resolve prompt to hand the fix to a coding agent. Then merge.
- .oakignore
Description
Add oakmark: per-repo push/clone throughput benchmark for oak (ForgeMark analogue)
Measures how many pushes/hour and clones/hour a single oak repo sustains — oak's answer to Entire's ForgeMark and its per-repo throughput claims. ForgeMark can't be pointed at oak (it drives go-git/smart-HTTP receive-pack; oak has its own HTTP/JSON content-addressed protocol), so this forks ForgeMark's measurement harness and swaps the transport.
New tool at benchmarks/oakmark/:
- Go harness forked from ForgeMark: stats.go kept VERBATIM (levelResult schema, nearest-rank percentiles, ops/sec, warm-up exclusion) for cross-tool comparability; agent loops made generic over a Transport seam.
- Two transports, reported side by side:
- cli: shells to real
oak commit+oak push— honest real-agent floor (two steps deliberately;oak commit --pushwrongly needs creds on loopback serve, filed as fb-64). - protocol: in-process oak-engine (new Rust crate on oakvcs-core) that builds correct-by-construction commit/tree/blob hashes and sends the push HTTP directly — the ForgeMark-comparable ceiling.
- cli: shells to real
- Strategies mirror ForgeMark: branch (headline per-repo push throughput), repo (horizontal), session (clones/hour; cli-only).
- Markdown report leads with pushes/hour & clones/hour per repo next to Entire's and Cursor's published numbers.
Validated against a local oak serve: both transports pass a cross-client
correctness gate (a real oak clone pulls pushed branches with matching
payload). Local-serve ceiling ~4.7M pushes/hr/repo (protocol) vs ~0.4M (cli
floor, generator-bound). Point -remote https://oak.space with OAK_API_KEY for
the real hosted headline.
oakvcs-core is consumed by path (not confirmed on crates.io) via a rendered, gitignored Cargo.toml (build-engine.sh); build artifacts added to .oakignore.
Transplanted byte-for-byte from oak/benchmarks branch oakmark-throughput-benchmark@10ae8d75ec7d onto rebuilt main@88e86b3faccd; preserved only, not merged.
Commits1
- c10cefe7abe5 mrmrs 4 months ago
.oakignoremodifiedView file
.env.**.local.claude/# oakmark build outputs (Go harness binary + Rust protocol engine)oakmark/oakmarkoakmark/oak-engine/target/oakmark/oak-engine/vendor/# Cargo.toml is rendered from Cargo.toml.in by build-engine.sh (machine-local path)oakmark/oak-engine/Cargo.tomloakmark/oak-engine/Cargo.lockoakmark/.gitignoreaddedView file
Loading diff…
oakmark/LICENSE.forgemarkaddedView file
Loading diff…
oakmark/README.mdaddedView file
Loading diff…
oakmark/agent.goaddedView file
Loading diff…
oakmark/build-engine.shaddedView file
Loading diff…
oakmark/go.modaddedView file
Loading diff…
oakmark/main.goaddedView file
Loading diff…
oakmark/oak-engine/Cargo.toml.inaddedView file
Loading diff…
oakmark/oak-engine/src/main.rsaddedView file
Loading diff…
oakmark/report.goaddedView file
Loading diff…
oakmark/run-local.shaddedView file
Loading diff…
oakmark/stats.goaddedView file
Loading diff…
oakmark/stats_test.goaddedView file
Loading diff…
oakmark/transport.goaddedView file
Loading diff…
oakmark/transport_cli.goaddedView file
Loading diff…
oakmark/transport_protocol.goaddedView file
Loading diff…