perf(cdp): add benchmark harness report - #180
Conversation
Add a Criterion benchmark suite for the CDP pipeline: - per_rule_dom: rule-engine cost on 100/1k/10k node synthetic DOMs - cold_start / warm_run: CDP snapshot latency (behind e2e-chromium feature) Wire `just bench` and `just bench-full` targets. Add docs/src/performance.md with usage and interpretation guidance. Refs #61 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
I have all the context I need to render the review. PR #180 —
|
Summary
crates/plumb-cdp/benches/cdp_benchmarks.rs) with three groups:per_rule_dom(100/1k/10k node synthetic DOMs),cold_start, andwarm_run(CDP benchmarks behinde2e-chromiumfeature gate)just benchandjust bench-fulltargets in the Justfiledocs/src/performance.mdwith benchmark usage, fixture descriptions, and result interpretation guidanceValidation
cargo fmt --all -- --check— cleancargo clippy -p plumb-cdp --benches -- -D warnings— cleancargo bench -p plumb-cdp --no-run— compiles successfullygit diff --check— no whitespace issuescold_start,warm_run) require a real Chromium binary and are gated behind thee2e-chromiumfeature; they will not run in CI without Chromium installedBlockers
cold_startandwarm_runbenchmarks cannot execute without Chromium; theper_rule_domgroup runs without itRefs #61
🤖 Generated with Claude Code