Files
gridcraft/xtask/Cargo.toml
T
nihilist-narwhalandClaude Opus 5.5 b98a7c43de cargo xtask bench: calculation benchmarks on fixed in-code workbooks
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>
2026-11-14 19:42:45 -06:00

21 lines
640 B
TOML

[package]
name = "xtask"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
description = "GridCraft workspace tooling: cargo xtask ci | layers | assets | wasm | parity | i18n-report | bench | version | stats | ico"
[lints]
workspace = true
[features]
# `cargo xtask parity` reads the command catalog from the engine. CI steps that only need the
# version or the layer/asset checks run with --no-default-features and skip compiling it.
default = ["engine"]
engine = ["dep:gridcraft-engine"]
[dependencies]
serde_json = { workspace = true }
gridcraft-engine = { workspace = true, optional = true }