mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 17:30:24 +01:00
Ten scenarios (crates/engine/examples/bench.rs, replacing the ad-hoc perf example) build their workbooks in code, warm up, and time edits, formula entry, Calculate Now, sort and XLSX save/open through Session::execute, checking each result so a scenario that stops recalculating fails instead of getting fast. A failed scenario is reported and the rest still run. `cargo xtask bench` runs them in release, writes <target>/bench/latest.json and compares with a baseline saved by --save. Baseline (M2 Pro, 100k rows): a 100k-dependent edit recalculates in 90-106 ms; 100 whole-column SUMIFS take ~0.5 s per edit. xlsx.open fails on main: the #2413 element cap drops the last ~9,000 rows of the 100k-row model on reopen (fixed by #2527). Parity docs, gaps and roadmap carry the measured numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>