Repository navigation
test(skia): Rendering budget tests with a PR comment report - #25133
agneszitte wants to merge 25 commits into
Conversation
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
This comment has been minimized.
This comment has been minimized.
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
The build 238367 found UI Test snapshots differences: Details
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
1 similar comment
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
The build 238386 found UI Test snapshots differences: Details
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
📏 Rendering budgets
Report only for now: nothing here fails the build. Compared with the latest published versions (Windows)
Every lane Windows:
|
| Metric | Budget | This PR | Latest dev 7.0.0-dev.1656 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 32 |
33 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 32 | 33 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | 25.03 |
scroll.damage-per-viewport |
≤ 1.25 | 1.05x | 0.93x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 12 | 11.83 | – |
scroll.path-ops-per-step |
≤ 1 | 0.4 | 0.4 | 106.6 |
Linux: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.1656 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
60 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 60 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 60 | 60 | 60 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 12.57 | 12.57 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | 106.27 |
macOS: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.1656 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 11 |
9 |
35 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 31 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 15 | 15 | 31 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.94x | 0.93x | 0.92x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1.03 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 11.67 | 11.23 | – |
scroll.path-ops-per-step |
≤ 1 | 1.93 |
1.93 |
110.77 |
Linux WebGPU: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.1656 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
– |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
– |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
– |
idle.frames-per-second |
≤ 2 | 0 | 0 | – |
idle.full-window-frames |
≤ 0 | 0 | 0 | – |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | – |
progressring.frames-per-second |
– | 60 | 60 | – |
progressring.full-window-frames |
≤ 0 | 0 | 0 | – |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | – |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | – |
scroll.full-window-frames |
≤ 0 | 0 | 0 | – |
scroll.measures-per-step |
≤ 40 | 12.47 | 12.4 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | – |
Linux framebuffer: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.1656 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 1146 |
846 |
2083 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 1728 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 248 | 191 | 372 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.85x | 0.83x | 0.42x |
scroll.frames-per-step |
≤ 1.5 | 1.1 | 1.2 | 2.4 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 14.5 | 13 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | 179.47 |
What the numbers mean
- Every value is a count measured by the runtime tests, never a timing, and lower is better.
- Budget is the highest acceptable value.
⚠️ marks a value over it; – means that version or lane has no value. - ▲ / ▼: this PR is more than 20% higher / lower than the latest dev on the same lane.
- Frame rates follow each lane's display rate (the framebuffer lane has no vsync), so compare them within a lane; they only count as changed when they cross their budget.
xis a ratio, and/Nis out of N objects tracked.
| Metric | What it counts |
|---|---|
removed-animation.alive.Visual |
A Visual still in memory after removal. |
removed-animation.frames-per-second |
Frames in 1 s after removing a panel whose child runs an endless animation (#25054). Expected: 0. |
removed-animation.objects-alive |
Parts of the removed panel (panel, child, composition visual) still in memory after garbage collection. Expected: 0. |
idle.frames-per-second |
Frames rendered in 1 s on a page where nothing changes (text, button, check box). Expected: 0. |
idle.full-window-frames |
Frames that repainted the whole window on that page. Expected: 0. |
page-removal.objects-alive |
Controls still in memory after their page is removed (image, bitmap, list, ring, text box, toggle switch). Expected: 0. |
progressring.damage-per-ring-area |
Area repainted per frame, divided by the ring's area. About 1.2x is the ring plus its antialiased edge. |
progressring.frames-per-second |
Frames in 1 s with a 40×40 ProgressRing spinning. Follows the display rate: for information only. |
progressring.full-window-frames |
Ring frames that repainted the whole window. Expected: 0. |
progressring.path-ops-per-frame |
Path booleans (SKPath.Op) per ring frame. Expected: 0. |
scroll.damage-per-viewport |
Area repainted per scroll frame, divided by the list's area. About 1x means only the list repaints. |
scroll.frames-per-step |
Frames per step while scrolling a 300×300 ListView of rounded items, 30 steps of 37 px. Expected: 1. |
scroll.full-window-frames |
Scroll frames that repainted the whole window. Expected: 0. |
scroll.measures-per-step |
Layout measure calls per scroll step (realizing and recycling items). |
scroll.path-ops-per-step |
Path booleans (SKPath.Op, costly geometry operations) per scroll step. Expected: close to 0. |
Counts, not timings: frames, damaged area, path operations, measures and objects left alive, recorded by the Given_RenderingBudget runtime tests.
Build · commit 8ff07b5 · updated 2026-10-09 06:41 UTC
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
The build 238430 found UI Test snapshots differences: Details
|
Runtime tests can now report measurements with their result through RuntimeTestMetrics.Record(name, value, budget, unit). The runner clears them before each attempt and writes them into the NUnit results as test-case properties (metric:, budget:, unit:), so every lane carries them off the device in the file it already produces. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Counts what the renderer does instead of timing it: frames rendered, damaged area per frame, path booleans, measures, and objects left alive after removal. Scenarios: idle page, list scrolling, ProgressRing, removed animated subtree (#25054) and page removal. Two internal seams feed them, both free per frame: CompositionTarget keeps a reference to the damage of the last recorded frame, and SkiaGeometrySource2D counts SKPath.Op calls. Report-only: values over budget are recorded, not asserted. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each desktop runtime-test lane extracts the recorded metrics from its NUnit results into the shared runtime-tests-metrics artifact. A new "Tests - Rendering budgets" stage merges the lanes into one table and, on pull requests, creates or updates a single comment (found through a hidden marker). Report-only and continueOnError throughout; nothing waits on the stage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first ToggleSwitch created in a process stays alive after removal (later ones are collected), so the page-removal count depended on whether an earlier test had created one. Removing a warm-up page first makes it report only retention that grows with each page. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Instance methods of SkiaGeometrySource2D no longer write a static field (code quality: static field written by instance method). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uses the UnoDevOpsGitHubPAT pipeline secret instead of the nventive-devops PAT, edits only a comment the same account posted (editing another account's comment needs admin rights, which made the second build's update fail with 403), and never fails the job when posting is refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The report now puts this PR next to the latest dev and latest stable Uno.WinUI versions on nuget.org, on one reference lane, with every lane in a collapsed table. Each version is mapped to the CI build that produced it (its build number), whose own metrics artifact gives the numbers, so the comparison follows the stable line as it moves and is always with what users can install. Comments with CommentsGitHubPAT again, the same secret as the screenshot comparison, so one unodevops token covers both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
One line per column (this PR, latest dev, latest stable) says how many of the shown metrics are over budget, and how many this PR moved against the latest dev. Frame rates, which follow the agent's display rate, now count as changed when they cross their budget, so a fix that stops a runaway animation shows as an improvement. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RuntimeTestMetrics.Record takes a description, written to the results as a description: property, and the report turns them into a "What the numbers mean" section under the comparison table, with what each symbol means. Each rendering budget now says what it counts and what a good value is, so new budgets explain themselves without touching the CI script. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The report opens with the This PR | Latest dev | Latest stable table on the first lane (Windows), then repeats the comparison for every lane in collapsed sections whose headings carry the lane's status, and names the lanes where this PR went up in the summary. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A published version built before the budget tests existed can be re-measured: its exact release commit plus the tests runs the desktop lanes once and the build is tagged metrics-baseline-<version>. The report falls back to that build, says "(re-measured)", and the dev column falls back to the newest dev version with numbers. When an update of the existing comment is refused (an account that can no longer edit its own comments), a new comment is posted instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Invoke-RestMethod handed the PR's comment list over as one object, so the marker filter matched every comment and the update was sent with all their ids (the 403s). Enumerate the list and update the newest marker comment of the posting account. Tagged baseline builds no longer need to be completed: the auto-retry of a failed lane puts a build back in progress while its other lanes' metrics are already published. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each build adds its own comment, headed with the commit and build it measured, instead of editing a single one, so the reports of successive commits, rebases and fixes stay side by side on the pull request. The dev fallback also looks back 200 published dev versions instead of 20. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8ff07b5 to
9c81fd9
Compare
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
The advisory published on 2026-10-15 makes restore fail on master and on every pull request: NU1902 for MessagePack 3.1.7 is a warning as error. 3.1.9 is the first patched 3.1.x. Kept here to unblock this pull request's CI; drop it once master has its own fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The build 239932 found UI Test snapshots differences: Details
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
This comment has been minimized.
This comment has been minimized.
|
The build 239937 found UI Test snapshots differences: Details
|
📏 Rendering budgets for
|
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Every lane
Windows: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Linux: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
60 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 60 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 60 | 60 | 60 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 14.8 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 1 | 1 | 106.27 |
Linux WebGPU: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
– |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
– |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
– |
idle.frames-per-second |
≤ 2 | 0 | 0 | – |
idle.full-window-frames |
≤ 0 | 0 | 0 | – |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | – |
progressring.frames-per-second |
– | 60 | 60 | – |
progressring.full-window-frames |
≤ 0 | 0 | 0 | – |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | – |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | – |
scroll.full-window-frames |
≤ 0 | 0 | 0 | – |
scroll.measures-per-step |
≤ 40 | 13.83 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | – |
Linux framebuffer: ⚠️ 4 over budget · 1 lower ▼ against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 315 |
1181 |
2083 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 1728 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 74 | 188 | 372 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.9x | 0.93x | 0.42x |
scroll.frames-per-step |
≤ 1.5 | 1.03 | 1 | 2.4 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 15.33 ▼ | 19.67 | – |
scroll.path-ops-per-step |
≤ 1 | 1.03 |
1 | 179.47 |
What the numbers mean
- Every value is a count measured by the runtime tests, never a timing, and lower is better.
- Budget is the highest acceptable value.
⚠️ marks a value over it; – means that version or lane has no value. - ▲ / ▼: this PR is more than 20% higher / lower than the latest dev on the same lane.
- Frame rates follow each lane's display rate (the framebuffer lane has no vsync), so compare them within a lane; they only count as changed when they cross their budget.
xis a ratio, and/Nis out of N objects tracked.
| Metric | What it counts |
|---|---|
removed-animation.alive.Visual |
A Visual still in memory after removal. |
removed-animation.frames-per-second |
Frames in 1 s after removing a panel whose child runs an endless animation (#25054). Expected: 0. |
removed-animation.objects-alive |
Parts of the removed panel (panel, child, composition visual) still in memory after garbage collection. Expected: 0. |
idle.frames-per-second |
Frames rendered in 1 s on a page where nothing changes (text, button, check box). Expected: 0. |
idle.full-window-frames |
Frames that repainted the whole window on that page. Expected: 0. |
page-removal.objects-alive |
Controls still in memory after their page is removed (image, bitmap, list, ring, text box, toggle switch). Expected: 0. |
progressring.damage-per-ring-area |
Area repainted per frame, divided by the ring's area. About 1.2x is the ring plus its antialiased edge. |
progressring.frames-per-second |
Frames in 1 s with a 40×40 ProgressRing spinning. Follows the display rate: for information only. |
progressring.full-window-frames |
Ring frames that repainted the whole window. Expected: 0. |
progressring.path-ops-per-frame |
Path booleans (SKPath.Op) per ring frame. Expected: 0. |
scroll.damage-per-viewport |
Area repainted per scroll frame, divided by the list's area. About 1x means only the list repaints. |
scroll.frames-per-step |
Frames per step while scrolling a 300×300 ListView of rounded items, 30 steps of 37 px. Expected: 1. |
scroll.full-window-frames |
Scroll frames that repainted the whole window. Expected: 0. |
scroll.measures-per-step |
Layout measure calls per scroll step (realizing and recycling items). |
scroll.path-ops-per-step |
Path booleans (SKPath.Op, costly geometry operations) per scroll step. Expected: close to 0. |
Counts, not timings: frames, damaged area, path operations, measures and objects left alive, recorded by the Given_RenderingBudget runtime tests.
Retried lanes re-run the report stage within the same build, and each rerun posted a new comment, identical but for its time. The report now carries a hidden build marker: a rerun updates that build's comment, and a new build still posts a new one, so successive commits stay side by side. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
Master now pins 3.1.12 (#25533), which replaces this branch's temporary 3.1.9 bump. Same value on both sides, so the branch merges cleanly again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 239975 found UI Test snapshots differences: Details
|
📏 Rendering budgets for
|
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.damage-per-viewport |
≤ 1.25 | 0.94x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Every lane
Windows: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.damage-per-viewport |
≤ 1.25 | 0.94x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Linux: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
60 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 60 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 60 | 60 | 60 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 14.8 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 1 | 1 | 106.27 |
macOS: ⚠️ 4 over budget
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
– | 1 |
removed-animation.frames-per-second |
≤ 2 | 14 |
– | 35 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
– | 1/3 |
idle.frames-per-second |
≤ 2 | 0 | – | 31 |
idle.full-window-frames |
≤ 0 | 0 | – | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | – | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | – | 124.75x |
progressring.frames-per-second |
– | 11 | – | 31 |
progressring.full-window-frames |
≤ 0 | 0 | – | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | – | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.94x | – | 0.92x |
scroll.frames-per-step |
≤ 1.5 | 1 | – | 1.03 |
scroll.full-window-frames |
≤ 0 | 0 | – | 0 |
scroll.measures-per-step |
≤ 40 | 13.23 | – | – |
scroll.path-ops-per-step |
≤ 1 | 2.93 |
– | 110.77 |
Linux WebGPU: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
– |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
– |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
– |
idle.frames-per-second |
≤ 2 | 0 | 0 | – |
idle.full-window-frames |
≤ 0 | 0 | 0 | – |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | – |
progressring.frames-per-second |
– | 60 | 60 | – |
progressring.full-window-frames |
≤ 0 | 0 | 0 | – |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | – |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | – |
scroll.full-window-frames |
≤ 0 | 0 | 0 | – |
scroll.measures-per-step |
≤ 40 | 14.8 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | – |
Linux framebuffer: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 1378 |
1181 |
2083 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.frames-per-second |
≤ 2 | 0 | 0 | 1728 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 186 | 188 | 372 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | 0.42x |
scroll.frames-per-step |
≤ 1.5 | 1.03 | 1 | 2.4 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 19.2 | 19.67 | – |
scroll.path-ops-per-step |
≤ 1 | 1.03 |
1 | 179.47 |
What the numbers mean
- Every value is a count measured by the runtime tests, never a timing, and lower is better.
- Budget is the highest acceptable value.
⚠️ marks a value over it; – means that version or lane has no value. - ▲ / ▼: this PR is more than 20% higher / lower than the latest dev on the same lane.
- Frame rates follow each lane's display rate (the framebuffer lane has no vsync), so compare them within a lane; they only count as changed when they cross their budget.
xis a ratio, and/Nis out of N objects tracked.
| Metric | What it counts |
|---|---|
removed-animation.alive.Visual |
A Visual still in memory after removal. |
removed-animation.frames-per-second |
Frames in 1 s after removing a panel whose child runs an endless animation (#25054). Expected: 0. |
removed-animation.objects-alive |
Parts of the removed panel (panel, child, composition visual) still in memory after garbage collection. Expected: 0. |
idle.frames-per-second |
Frames rendered in 1 s on a page where nothing changes (text, button, check box). Expected: 0. |
idle.full-window-frames |
Frames that repainted the whole window on that page. Expected: 0. |
page-removal.objects-alive |
Controls still in memory after their page is removed (image, bitmap, list, ring, text box, toggle switch). Expected: 0. |
progressring.damage-per-ring-area |
Area repainted per frame, divided by the ring's area. About 1.2x is the ring plus its antialiased edge. |
progressring.frames-per-second |
Frames in 1 s with a 40×40 ProgressRing spinning. Follows the display rate: for information only. |
progressring.full-window-frames |
Ring frames that repainted the whole window. Expected: 0. |
progressring.path-ops-per-frame |
Path booleans (SKPath.Op) per ring frame. Expected: 0. |
scroll.damage-per-viewport |
Area repainted per scroll frame, divided by the list's area. About 1x means only the list repaints. |
scroll.frames-per-step |
Frames per step while scrolling a 300×300 ListView of rounded items, 30 steps of 37 px. Expected: 1. |
scroll.full-window-frames |
Scroll frames that repainted the whole window. Expected: 0. |
scroll.measures-per-step |
Layout measure calls per scroll step (realizing and recycling items). |
scroll.path-ops-per-step |
Path booleans (SKPath.Op, costly geometry operations) per scroll step. Expected: close to 0. |
Counts, not timings: frames, damaged area, path operations, measures and objects left alive, recorded by the Given_RenderingBudget runtime tests.
|
|
The idle, scroll and ProgressRing scenarios now also record the managed memory the UI thread allocated (GC.GetAllocatedBytesForCurrentThread): per second on the idle page, per scroll step and per ring frame, in KB. An allocation slipping into a hot path is a common regression that none of the other counts sees, and it shows as garbage-collection pauses. Like the other counts, it is stable for a given build: three local runs gave 0.27 KB idle, 67.33 KB per scroll step and 4.25 to 4.40 KB per ring frame. No budget yet; the report compares them with the latest dev. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Metrics without a budget were never compared with the latest dev, so the new allocation rows would never show a regression. They now get the same 20% rule, with a 1 KB floor below which a move is the test's own awaits and timers. A frame rate without a budget stays information only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25133/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
📏 Rendering budgets for
|
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.allocated-per-second |
– | 0.36 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.allocated-per-frame |
– | 4.7 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.allocated-per-step |
– | 148.88 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Every lane
Windows: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 33 |
32 |
33 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.allocated-per-second |
– | 0.36 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | 0 | 32 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.allocated-per-frame |
– | 4.7 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 122.75x |
progressring.frames-per-second |
– | 33 | 32 | 32 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25.03 |
scroll.allocated-per-step |
– | 148.88 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.94x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 13.77 | 14.13 | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
4.73 |
106.6 |
Linux: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
60 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.allocated-per-second |
– | 1.11 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | 0 | 60 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.allocated-per-frame |
– | 4.72 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 60 | 60 | 60 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.allocated-per-step |
– | 80.14 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | 0.97x |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | 1 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 14.8 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 1 | 1 | 106.27 |
macOS: ⚠️ 4 over budget
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
– | 1 |
removed-animation.frames-per-second |
≤ 2 | 14 |
– | 35 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
– | 1/3 |
idle.allocated-per-second |
– | 0.93 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | – | 31 |
idle.full-window-frames |
≤ 0 | 0 | – | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | – | 0/7 |
progressring.allocated-per-frame |
– | 4.8 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | – | 124.75x |
progressring.frames-per-second |
– | 15 | – | 31 |
progressring.full-window-frames |
≤ 0 | 0 | – | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | – | 25 |
scroll.allocated-per-step |
– | 113.93 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | – | 0.92x |
scroll.frames-per-step |
≤ 1.5 | 1 | – | 1.03 |
scroll.full-window-frames |
≤ 0 | 0 | – | 0 |
scroll.measures-per-step |
≤ 40 | 12.2 | – | – |
scroll.path-ops-per-step |
≤ 1 | 4.73 |
– | 110.77 |
Linux WebGPU: ⚠️ 3 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
– |
removed-animation.frames-per-second |
≤ 2 | 60 |
60 |
– |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
– |
idle.allocated-per-second |
– | 1.11 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | 0 | – |
idle.full-window-frames |
≤ 0 | 0 | 0 | – |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | – |
progressring.allocated-per-frame |
– | 98.68 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | – |
progressring.frames-per-second |
– | 60 | 60 | – |
progressring.full-window-frames |
≤ 0 | 0 | 0 | – |
progressring.path-ops-per-frame |
≤ 1 | 0 | 0 | – |
scroll.allocated-per-step |
– | 171.69 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.93x | 0.93x | – |
scroll.frames-per-step |
≤ 1.5 | 1 | 1 | – |
scroll.full-window-frames |
≤ 0 | 0 | 0 | – |
scroll.measures-per-step |
≤ 40 | 14.97 | 15.33 | – |
scroll.path-ops-per-step |
≤ 1 | 0 | 0 | – |
Linux framebuffer: ⚠️ 4 over budget · no change against the latest dev
| Metric | Budget | This PR | Latest dev 7.0.0-dev.2347 (re-measured) |
Latest stable 6.7.135 (re-measured) |
|---|---|---|---|---|
removed-animation.alive.Visual |
≤ 0 | 1 |
1 |
1 |
removed-animation.frames-per-second |
≤ 2 | 1787 |
1181 |
2083 |
removed-animation.objects-alive |
≤ 0 | 1/3 |
1/3 |
1/3 |
idle.allocated-per-second |
– | 1.11 KB | – | – |
idle.frames-per-second |
≤ 2 | 0 | 0 | 1728 |
idle.full-window-frames |
≤ 0 | 0 | 0 | 0 |
page-removal.objects-alive |
≤ 0 | 0/7 | 0/7 | 0/7 |
progressring.allocated-per-frame |
– | 4.69 KB | – | – |
progressring.damage-per-ring-area |
≤ 2 | 1.21x | 1.21x | 124.75x |
progressring.frames-per-second |
– | 270 | 188 | 372 |
progressring.full-window-frames |
≤ 0 | 0 | 0 | 0 |
progressring.path-ops-per-frame |
≤ 1 | 1 | 1 | 25 |
scroll.allocated-per-step |
– | 67.95 KB | – | – |
scroll.damage-per-viewport |
≤ 1.25 | 0.9x | 0.93x | 0.42x |
scroll.frames-per-step |
≤ 1.5 | 1.07 | 1 | 2.4 |
scroll.full-window-frames |
≤ 0 | 0 | 0 | 0 |
scroll.measures-per-step |
≤ 40 | 22.07 | 19.67 | – |
scroll.path-ops-per-step |
≤ 1 | 1.07 |
1 | 179.47 |
What the numbers mean
- Every value is a count measured by the runtime tests, never a timing, and lower is better.
- Budget is the highest acceptable value.
⚠️ marks a value over it; – means that version or lane has no value. - ▲ / ▼: this PR is more than 20% higher / lower than the latest dev on the same lane.
- Frame rates follow each lane's display rate (the framebuffer lane has no vsync), so compare them within a lane; they only count as changed when they cross their budget.
xis a ratio, and/Nis out of N objects tracked.
| Metric | What it counts |
|---|---|
removed-animation.alive.Visual |
A Visual still in memory after removal. |
removed-animation.frames-per-second |
Frames in 1 s after removing a panel whose child runs an endless animation (#25054). Expected: 0. |
removed-animation.objects-alive |
Parts of the removed panel (panel, child, composition visual) still in memory after garbage collection. Expected: 0. |
idle.allocated-per-second |
Managed memory the UI thread allocated in that second. Expected: close to 0. |
idle.frames-per-second |
Frames rendered in 1 s on a page where nothing changes (text, button, check box). Expected: 0. |
idle.full-window-frames |
Frames that repainted the whole window on that page. Expected: 0. |
page-removal.objects-alive |
Controls still in memory after their page is removed (image, bitmap, list, ring, text box, toggle switch). Expected: 0. |
progressring.allocated-per-frame |
Managed memory the UI thread allocated per ring frame. |
progressring.damage-per-ring-area |
Area repainted per frame, divided by the ring's area. About 1.2x is the ring plus its antialiased edge. |
progressring.frames-per-second |
Frames in 1 s with a 40×40 ProgressRing spinning. Follows the display rate: for information only. |
progressring.full-window-frames |
Ring frames that repainted the whole window. Expected: 0. |
progressring.path-ops-per-frame |
Path booleans (SKPath.Op) per ring frame. Expected: 0. |
scroll.allocated-per-step |
Managed memory the UI thread allocated per scroll step. Less means fewer garbage collections while scrolling. |
scroll.damage-per-viewport |
Area repainted per scroll frame, divided by the list's area. About 1x means only the list repaints. |
scroll.frames-per-step |
Frames per step while scrolling a 300×300 ListView of rounded items, 30 steps of 37 px. Expected: 1. |
scroll.full-window-frames |
Scroll frames that repainted the whole window. Expected: 0. |
scroll.measures-per-step |
Layout measure calls per scroll step (realizing and recycling items). |
scroll.path-ops-per-step |
Path booleans (SKPath.Op, costly geometry operations) per scroll step. Expected: close to 0. |
Counts, not timings: frames, damaged area, path operations, measures and objects left alive, recorded by the Given_RenderingBudget runtime tests.
|
The build 240176 found UI Test snapshots differences: Details
|
GitHub Issue: related to unoplatform/uno-private#2442 (internal tracking), #24791
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Draft: opened to discuss the results before review.
Runtime tests that count the rendering work Uno does and a PR comment that compares the counts with the latest published dev and stable versions, on every desktop lane. The counts are frames, area repainted per frame, path booleans (
SKPath.Op), layout measures and objects left alive after removal. Counts, not timings: the same build's CPU time varied up to 3× between runs in our comparisons, while the counts barely moved (the largest swing is the area repainted per scroll frame, 0.93× to 1.05×; the framebuffer lane, with no vsync, varies more).Report-only for now: a value over its budget is flagged⚠️ in the comment, nothing fails the build.
Results
PR comment: a new one for every build, headed with its commit, so successive pushes can be compared. Latest: Rendering budgets for
cb15f76e99(2026-10-16). It puts this PR next to:Those versions were built before these tests existed, so each was re-run once with the tests, desktop lanes only, nothing published.
What the counts show, from CI:
ProgressRingregressions are visible as counts and are gone on dev.ProgressRingwent from 0 to 1 path boolean per frame on every Skia lane, and scrolling from 0.4 to 4.73 per step on Windows (0 to 1 on Linux). Measures per scroll step rose about 20%. Probably the CI agents rather than master's code: run locally on Windows (10-19), the same PR build still gives 0.4 path booleans per scroll step and 0 per ring frame. To confirm on CI.ToggleSwitchcreated in a process stays alive after removal; later ones are collected. One instance, not a growing leak. The page test measures a second page so the number doesn't depend on test order.Fails before the fixes, passes after (
servicing/6.8)Same tests on 6.8 at three commits (equivalent counters, since 6.8 still has the
SKPathcompositor). Skia desktop, Windows:Each fix moves the count it targets. The 6.4 per step left on 6.8 is most likely the clip work master caches since #24230 (not backported on purpose).
Where we stand against 6.5 (timings, for context)
The counts catch regressions; how much time is still spent is a timing question. From #24788 and #24791, scrolling an
ItemsRepeaterof 2,837 Fluent buttons, Skia Win32 at 250%, UI-thread time:Timings belong to a merge-build benchmark (next step in the spec), not to PR checks.
How it works
RuntimeTestMetrics.Record(name, value, budget, unit, description): the runner writes these into the NUnit results as test-case properties, so every lane carries them.Given_RenderingBudget: idle page,ListViewscrolling,ProgressRing, removed animated subtree, page removal.CompositionTarget.LastRecordedDamageandSkiaPathOpCounter.metrics-baseline-<version>that re-measured one). Everything iscontinueOnError; nothing waits on it, publishing included.specs/rendering-budget-tests/spec.mdBefore ready for review
servicing/6.8(perf(composition): Thread damage clip as bounds, not paths (6.8) #24788, fix(skia): Bound SKCanvasVisual damage by its size (6.8) #24792)Note: this touches
build/ci/tests/, so the WebGPU and template lanes run on this PR too.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code