opencode/packages/codemode-rust/bench
Sebastian Herrlinger 60b0ffaa17 feat(codemode): add a generational sticky-mark-bit collector behind gc-sticky
A non-moving collector for long-lived psychoscript runs: objects, closure cells and strings are marked from the snapshot roots at the run's existing stops, freed slots go on free lists, and a minor collection sweeps only what was allocated since the last one, with a write barrier on Heap's IndexMut and on cell stores filling the remembered set. A major collection runs when the old generation doubles. With the feature off, the heap stays a Vec and instruction counts match the base.
2026-11-19 13:53:56 +01:00
..
baseline feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
examples test(codemode): add a memory benchmark for long-lived psychoscript runs 2026-11-19 13:13:15 +01:00
gc test(codemode): add a memory benchmark for long-lived psychoscript runs 2026-11-19 13:13:15 +01:00
plugin test(codemode): add perturbed variants and a plugin-event benchmark 2026-11-18 18:53:57 +01:00
ref chore(codemode): compare the Rust bench with the reference's language runtime 2026-11-19 01:54:19 +01:00
src test(codemode): add a memory benchmark for long-lived psychoscript runs 2026-11-19 13:13:15 +01:00
tests feat(codemode): move long stretches of a run's compute to a worker thread, keeping host code on the executor 2026-11-19 03:32:56 +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 a generational sticky-mark-bit collector behind gc-sticky 2026-11-19 13:53:56 +01:00
compare.sh chore(codemode): compare the Rust bench with the reference's language runtime 2026-11-19 01:54:19 +01:00
RESULTS.md docs(codemode): refresh bench results after threading by nesting 2026-11-19 03:34:27 +01:00