From 87c08c6b7a1dbd250fa3a8e9424a47b3176f99eb Mon Sep 17 00:00:00 2001 From: Eric Yue Date: Mon, 28 Sep 2026 03:58:55 +0800 Subject: perf: skip frame clones for unchanged retained graphics (#4672) --- justfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index ebe6c571..4acfda02 100644 --- a/justfile +++ b/justfile @@ -95,6 +95,10 @@ bench-terminal-targets: bench-bsp-layout: cargo test --release --locked --bin herdr bsp_layout_profile -- --ignored --nocapture --test-threads=1 +# Profile full and retained text, static-image, and unchanged-image updates. +bench-retained-graphics: + cargo test --release --locked --bin herdr render_scale_profile_retained_graphics -- --ignored --nocapture --test-threads=1 + # ~3-5 minute CPU comparison; downloads stable unless HERDR_PERF_BASELINE_BIN is set bench-release-smoke: cargo build --release --locked -- cgit v1.2.3