fabro/lib/crates/fabro-dev
Bryan Helmkamp be9d9284be
feat(dev): add bench-tests command for capturing per-test timing CSV
Runs the workspace test suite N times via `cargo nextest run --no-fail-fast`
and appends one row per testcase to a CSV (git_sha, run_index, started_at,
binary, package, classname, test_name, status, duration_ms). Group ≈ package
is derived from the JUnit testsuite name.

The lenient `[profile.bench]` (with junit.path) is synthesized at runtime to
target/bench-tests/nextest-tool.toml and passed via `--tool-config-file`, so
nothing needs to be added to .config/nextest.toml.

Intended use: collect samples on the current checkout, switch SHAs, collect
again, then diff/aggregate externally to hunt slowdowns.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 09:18:00 -07:00
..
src feat(dev): add bench-tests command for capturing per-test timing CSV 2026-04-28 09:18:00 -07:00
tests/it fix(docker): grant server access to mounted socket 2026-04-27 11:12:44 -07:00
Cargo.toml feat(dev): add bench-tests command for capturing per-test timing CSV 2026-04-28 09:18:00 -07:00