diff --git a/docs/scorecard.md b/docs/scorecard.md index 1a75c543e2..7a6af1b47d 100644 --- a/docs/scorecard.md +++ b/docs/scorecard.md @@ -50,7 +50,7 @@ Baseline: 2026-10-05, 1 run, commit `f5d2bcb54a`, Apple M4 Pro (48 GB), GPU Appl | P21 | Content-Aware Fill on 10 MP | ≤ 1500 ms p95 | 218 | 256 | 256 | 1.8 GB | 1.8 GB | pass | [#210](https://github.com/storytold/photocraft/issues/210) | | P22 | Spot Healing stroke on 10 MP | ≤ 500 ms p95 | 157 | 247 | 247 | 1.8 GB | 1.9 GB | pass | [#210](https://github.com/storytold/photocraft/issues/210) | | P24 | Import 500 brushes (longest UI-thread step) | ≤ 100 ms max | – | – | – | – | – | not run | [#210](https://github.com/storytold/photocraft/issues/210) | -| P25 | Cancel a Gaussian Blur job on 24 MP (until the worker exits) | ≤ 200 ms max | – | – | – | – | – | not run | [#210](https://github.com/storytold/photocraft/issues/210) | +| P25 | Cancel a Gaussian Blur job on 24 MP (until the worker exits) | ≤ 200 ms p95 | – | – | – | – | – | not run | [#210](https://github.com/storytold/photocraft/issues/210) | | P49 | Cancel a Content-Aware Fill job on 24 MP (until the worker exits) | ≤ 200 ms max | – | – | – | – | – | not run | [#210](https://github.com/storytold/photocraft/issues/210) | | P50 | App frame time while a 24 MP Gaussian Blur job runs | ≤ 16 ms p95 | – | – | – | – | – | not run | [#210](https://github.com/storytold/photocraft/issues/210) | | P26 | Select › Modify › Smooth on 24 MP (radius 50) | ≤ 100 ms p95 | 99.9 | 216 | 251 | 1.0 GB | – | over budget (target not met yet) | [#211](https://github.com/storytold/photocraft/issues/211) | diff --git a/perf/budgets.toml b/perf/budgets.toml index 6ac0e4714c..66fb1a1de6 100644 --- a/perf/budgets.toml +++ b/perf/budgets.toml @@ -236,7 +236,10 @@ issue = 209 bench = "perf_scenarios" row = "brush dab 60 px on 32-bit 20 layers + refresh" budget_ms = 100 -enforce = false # over budget in the 2026-10-05 baseline +# Not enforced: met on an idle M4 Pro (p95 2.95 ms), but over budget once in the 8 nightlies on +# macos-15 (p95 103.7 ms on 2026-10-18). `cargo xtask perf --update-baseline --from` over those +# 8 nightlies (2026-10-18 to 10-25) lists it as flaky. Budget enforcement applies on the runner. +enforce = false [[scenario]] id = "P17" @@ -322,7 +325,9 @@ title = "Cancel a Gaussian Blur job on 24 MP (until the worker exits)" issue = 210 bench = "perf_scenarios" row = "cancel Gaussian Blur r 50 job on 24 MP" -metric = "max" +# Judged on p95, not max. Note: with n <= 20, `rank()` makes p95 equal max, so on the nightly +# runner (n = 8) this has no effect until reps >= 21. The 2026-10-18 nightly read 299 ms either way. +metric = "p95" budget_ms = 200 [[scenario]]