From e43762ac0dc19081a5d9cdeeec52aa4cee0b4c3c Mon Sep 17 00:00:00 2001 From: Brennan Stehling <277419+brennanMKE@users.noreply.github.com> Date: Sun, 25 Oct 2026 22:34:00 -0700 Subject: [PATCH] Perf: rename P79 to the reduced composite it times (#7494) Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/ui-egui/examples/perf_scenarios.rs | 6 +++--- docs/scorecard.md | 2 +- perf/budgets.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ui-egui/examples/perf_scenarios.rs b/crates/ui-egui/examples/perf_scenarios.rs index 2b67c89006..c2a4e8b50a 100644 --- a/crates/ui-egui/examples/perf_scenarios.rs +++ b/crates/ui-egui/examples/perf_scenarios.rs @@ -676,10 +676,10 @@ fn full_canvas_layer_scenarios(b: &mut Bench, sz: &Sizes) { } } -/// #1015, #9330: a huge document with one painted layer, refreshed zoomed out (the reduced CPU -/// canvas `canvas::ensure_texture` draws when the document is too large for GPU textures). +/// #1015, #9330: a huge document with one painted layer, zoomed out: times only the reduced CPU +/// composite `canvas::ensure_texture` draws when the document is too large for GPU textures. fn huge_document_scenarios(b: &mut Bench, sz: &Sizes) { - let name = "zoomed-out refresh of a 30000x30000 document with one painted layer"; + let name = "zoomed-out reduced composite of a 30000x30000 document with one painted layer"; if !b.wanted(name) { return; } diff --git a/docs/scorecard.md b/docs/scorecard.md index 3b78d89088..95e84060ce 100644 --- a/docs/scorecard.md +++ b/docs/scorecard.md @@ -95,7 +95,7 @@ Baseline: 2026-10-05, commit `f5d2bcb54a`, Apple M4 Pro (48 GB), GPU Apple M4 Pr | P76 | Change layer opacity with Advanced Blending on another layer | ≤ 40 ms p95 | – | – | – | – | – | not run | [#6689](https://github.com/storytold/photocraft/issues/6689) | | P77 | Toggle an adjustment layer's visibility | ≤ 10 ms p95 | – | – | – | – | – | not run | [#6535](https://github.com/storytold/photocraft/issues/6535) | | P78 | Hide the top adjustment layer among 150 full-canvas layers, 6 MP, GPU budget forced to 512 MB (CPU fallback) | ≤ 30 ms p95 | – | – | – | – | – | not run | [#6533](https://github.com/storytold/photocraft/issues/6533) | -| P79 | Zoomed-out refresh of a 30000x30000 document with one painted layer (#9330 target: 60000x60000) | track only | – | – | – | – | – | not run | [#1015](https://github.com/storytold/photocraft/issues/1015) | +| P79 | Zoomed-out reduced composite of a 30000x30000 document with one painted layer (#9330 target: 60000x60000) | track only | – | – | – | – | – | not run | [#1015](https://github.com/storytold/photocraft/issues/1015) | **Not measurable yet** (the code can't do it yet; no number is recorded): diff --git a/perf/budgets.toml b/perf/budgets.toml index ac5dda0205..5347cebb47 100644 --- a/perf/budgets.toml +++ b/perf/budgets.toml @@ -731,8 +731,8 @@ enforce = false # new; as P61 [[scenario]] id = "P79" -title = "Zoomed-out refresh of a 30000x30000 document with one painted layer (#9330 target: 60000x60000)" +title = "Zoomed-out reduced composite of a 30000x30000 document with one painted layer (#9330 target: 60000x60000)" issue = 1015 bench = "perf_scenarios" -row = "zoomed-out refresh of a 30000x30000 document with one painted layer" +row = "zoomed-out reduced composite of a 30000x30000 document with one painted layer" enforce = false # tracked only