docs: add standardized benchmark matrix for cross-language comparison#67
Merged
Conversation
Defines a consistent benchmark specification (BENCHMARKS.md) covering: - Core evaluation scenarios (E1-E11): varying targeting complexity and context size - Custom operator benchmarks (O1-O6): fractional, semver, string ops - State management benchmarks (S1-S5): config parsing at various scales - Concurrency benchmarks (C1-C6): thread scaling and read/write contention - Comparison benchmarks (X1-X3): old/native vs new WASM approach Includes standardized context shapes (empty/small/large) and flag definitions to ensure benchmarks are directly comparable across Rust, Java, and Python implementations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Java library test was failing because Cargo.lock was gitignored, causing CI to resolve fresh dependency versions. The wasm-bindgen import function names include hashes that change across versions, breaking the hardcoded Java host function stubs in WasmRuntime.java. Tracking Cargo.lock ensures all builds produce identical WASM binaries with matching import names. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
BENCHMARKS.mddefining a consistent benchmark specification across Rust, Java, and PythonContext
The benchmark PRs (#64, #65, #66) implement subsets of this matrix. This document serves as the reference spec so all three languages converge on the same scenarios and can be compared meaningfully.
Test plan
🤖 Generated with Claude Code