opencode/packages/codemode-rust/bench
kommander 7c0a0fc3af perf(codemode): compile tool schemas once and keep host calls off the copy path
Schema::validated compiles its document into a validator once, so checking a
value does no keyword lookups and builds a path only when it fails. A failed
host call is boxed, so a successful one stays small in the inbox; synchronous
tools share one context; a program compiles when it is made and borrows its
source; the run id is made on first use.

The benchmark tools now declare the reference's schemas, so tool fan-out
also validates each input and output, as the reference does.
2026-11-18 18:54:15 +01:00
..
baseline feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
examples feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
plugin test(codemode): add perturbed variants and a plugin-event benchmark 2026-11-18 18:53:57 +01:00
ref test(codemode): add perturbed variants and a plugin-event benchmark 2026-11-18 18:53:57 +01:00
src perf(codemode): compile tool schemas once and keep host calls off the copy path 2026-11-18 18:54:15 +01:00
tests feat(codemode): add schema tools, search, hooks, async host calls and extensions to the Rust port 2026-11-18 18:54:08 +01:00
variants test(codemode): add perturbed variants and a plugin-event benchmark 2026-11-18 18:53:57 +01:00
Cargo.toml feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
compare.sh fix(codemode): stop compare.sh flagging its own output as an uncommitted change 2026-11-18 18:53:57 +01:00
RESULTS.md test(codemode): regenerate the benchmark results with variants and plugin events 2026-11-18 18:53:57 +01:00