Skip to content

test(skia): Rendering budget tests with a PR comment report - #25133

Draft
agneszitte wants to merge 25 commits into
masterfrom
dev/agzi/rendering-budget-tests
Draft

agneszitte wants to merge 25 commits into
masterfrom
dev/agzi/rendering-budget-tests

Conversation

@agneszitte

@agneszitte agneszitte commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

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:

  • the latest dev, 7.0.0-dev.2347, re-measured at its exact commit (build 239936);
  • the latest stable, 6.7.135, re-measured at its exact release commit (build 238390).

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:

Metric Latest stable 6.7.135 Latest dev 7.0.0-dev.2347 Dev a week ago, 7.0.0-dev.1656 Budget
Path booleans per scroll step (Windows / Linux) 106.6 / 106.3 ⚠️ 4.73 ⚠️ / 1 0.4 / 0 ≤ 1
ProgressRing: area repainted per frame ÷ ring area (Windows) 122.75× ⚠️ 1.21× 1.21× ≤ 2×
ProgressRing: path booleans per frame (Windows) 25 ⚠️ 1 0 ≤ 1
Layout measures per scroll step (Windows) – 14.13 11.83 ≤ 40
Frames per second after removing an animated subtree, #25054 (Windows) 33 ⚠️ 32 ⚠️ 33 ⚠️ ≤ 2
  • 6.7's scrolling and ProgressRing regressions are visible as counts and are gone on dev.
  • New rows: memory the UI thread allocates per idle second, scroll step and ring frame, in KB, with no budget yet; the comment flags a move of more than 20% (and 1 KB) against the latest dev. Stable for a given build: 0.27 KB idle, 67.33 KB per scroll step and 4.25 to 4.40 KB per ring frame in three local runs. The dev and stable columns show – for them until those versions are re-measured.
  • Dev does more path work than a week ago: from 7.0.0-dev.1656 to 7.0.0-dev.2347, ProgressRing went 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.
  • Composition animations below a removed subtree keep rendering at display rate and leak the subtree #25054 is on every version and every lane: composition animations under a removed subtree keep rendering and leak it. Fix: fix(composition): Stop detached infinite animations driving frames #25055 (open, needs a rebase on master), which brings both counts to 0 in a local run.
  • macOS did more path work when scrolling last week (1.93 per step, against 0–0.4 on the other lanes). To look into before enforcing that budget. In the latest run the macOS test app crashed (segmentation fault), so it has no numbers.
  • The first ToggleSwitch created 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.
  • On 6.7.135 the idle page renders at display rate in the full CI run, on every lane (32 fps on Windows, 60 on Linux), while it rendered nothing when the class ran alone locally (Windows), and renders nothing on dev. Something earlier in a 6.7 run keeps the window rendering; not investigated yet.

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 SKPath compositor). Skia desktop, Windows:

Metric (budget) Before #24788 After #24788 After #24792 master, 10-09
Path booleans per scroll step (≤ 1) 57.5 ⚠️ 6.4 ⚠️ 6.4 ⚠️ 0.4
ProgressRing area ÷ ring area (≤ 2×) 122.75× ⚠️ 122.75× ⚠️ 1.21× 1.21×
ProgressRing path booleans per frame (≤ 1) 25 ⚠️ 5 ⚠️ 5 ⚠️ 0

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 ItemsRepeater of 2,837 Fluent buttons, Skia Win32 at 250%, UI-thread time:

Render UI-thread total
6.5.237 (reference) 157 ms 839 ms
6.8 before the fixes 2,374 ms 3,913 ms
6.8 + #24788 only 338 ms 1,756 ms
6.8 + all fixes (Uno.Sdk 6.8.0-dev.60) 290 ms 1,270 ms

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, ListView scrolling, ProgressRing, removed animated subtree, page removal.
  • Two internal counters, free per frame: CompositionTarget.LastRecordedDamage and SkiaPathOpCounter.
  • Each desktop lane extracts its metrics into a shared artifact; the Tests - Rendering budgets stage builds the report. Baselines come from the CI builds behind the latest published versions (or a build tagged metrics-baseline-<version> that re-measured one). Everything is continueOnError; nothing waits on it, publishing included.
  • Spec: specs/rendering-budget-tests/spec.md

Before ready for review

Note: this touches build/ci/tests/, so the WebGPU and template lanes run on this PR too.

PR Checklist ✅

🤖 Generated with Claude Code

@github-actions github-actions Bot added area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Oct 8, 2026
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

This comment has been minimized.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 238367 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 1195

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • ImageBrushAlignmentXY.png-dark
    • ImageBrushAlignmentXY.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Examples.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
  • skia-windows-screenshots: 1195 changed over 2474

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png
    • AppBarButtonWithIconTest.png
    • AutomationProperties_Relations.png-dark
    • AutomationProperties_Relations.png
    • AutoSuggestBox_Icons.png-dark
    • AutoSuggestBox_Icons.png
    • BorderCenteredwithmargins.png-dark
    • BorderCenteredwithmargins.png
    • BorderLeftwithmargins.png-dark
    • BorderLeftwithmargins.png
    • BorderVersusPanelClipping.png-dark
    • BorderVersusPanelClipping.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ComboBox_MaxDropdownHeight.png-dark
    • ComboBox_MaxDropdownHeight.png
    • CommandBarFlyoutPage.png-dark
    • CommandBarFlyoutPage.png
    • CommandBar_Primary_And_Secondary.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

1 similar comment
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 238386 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 1144

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • DisplayInformation.png-dark
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • DropDownButtonPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Examples.png
  • skia-windows-screenshots: 1144 changed over 2474

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png
    • AppBarButtonWithIconTest.png
    • ApplicationViewSpanningRectsPage.png
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithrightmargin.png-dark
    • AutoBorderStretchwithrightmargin.png
    • AutoSizedPathCentered.png-dark
    • AutoSizedPathCentered.png
    • AutoSuggestBox_Keyboard.png-dark
    • AutoSuggestBox_Keyboard.png
    • BasicEnability.png-dark
    • BasicEnability.png
    • BitmapIcon_Monochromatic.png-dark
    • BitmapIcon_Monochromatic.png
    • BorderBottomwithmargins.png-dark
    • BorderLeftwithmargins.png
    • Border_AntiAlias.png-dark
    • Border_AntiAlias.png
    • Border_CornerRadius_Gradient.png-dark
    • Border_CornerRadius_Gradient.png

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

nventive-devops commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

📏 Rendering budgets

  • This PR: ⚠️ 4 of 15 metrics over budget on at least one of 5 lanes; nothing higher than the latest dev.
  • Latest dev 7.0.0-dev.1656 (re-measured): ⚠️ 3 over budget on Windows (measured on 5 lanes).
  • Latest stable 6.7.135 (re-measured): ⚠️ 7 over budget on Windows (measured on 4 lanes).

Report only for now: nothing here fails the build.

Compared with the latest published versions (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 ⚠️

Every lane

Windows: ⚠️ 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 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.
  • x is a ratio, and /N is 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

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 238430 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 1135

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • DropDownButtonPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DisplayInformation.png-dark
    • DynamicFont.png-dark
    • DynamicFont.png
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 1135 changed over 2474

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png
    • AutoBorderStretchwithleftmargin.png-dark
    • AutoBorderStretchwithleftmargin.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Foreground.png
    • Border_LinearGradientBrush.png-dark
    • Border_LinearGradientBrush.png
    • ClipboardTests.png-dark
    • CommandBarFlyoutPage.png-dark
    • CommandBarFlyoutPage.png
    • CommandBar_Primary_And_Secondary.png-dark
    • CommandBar_Primary_And_Secondary.png
    • Accessibility_ScreenReader.png
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithrightmargin.png-dark
    • AutomationProperties_AutomationId.png-dark
    • AutomationProperties_AutomationId.png
    • AutoSizedPathCentered.png-dark
    • AutoSizedPathCentered.png
    • BackGesture.png-dark

agneszitte and others added 14 commits October 16, 2026 12:21
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]>
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]>
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]>
agneszitte and others added 4 commits October 16, 2026 12:23
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]>
@agneszitte
agneszitte force-pushed the dev/agzi/rendering-budget-tests branch from 8ff07b5 to 9c81fd9 Compare October 16, 2026 16:32
@unodevops

Copy link
Copy Markdown
Contributor

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]>
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 239932 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 174

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DynamicFont.png-dark
    • DynamicFont.png
    • ImageBrushInList.png-dark
  • skia-windows-screenshots: 174 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • Buttons.png
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Grid_ColSpan_Bottom.png-dark
    • Grid_ColSpan_Bottom.png
    • Grid_DataBound_ColumnRow_Definitions.png-dark
    • Grid_DataBound_ColumnRow_Definitions.png
    • Grid_def_MinMaxValues.png-dark
    • Grid_def_MinMaxValues.png
    • Focus_FocusVisual_Properties.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@unoplatform unoplatform deleted a comment from nventive-devops Oct 16, 2026
@nventive-devops

This comment has been minimized.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 239937 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DoubleImageBrushInList.png-dark
    • DropDownButtonPage.png-dark
    • DoubleImageBrushInList.png
    • Examples.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • ImageIconPage.png-dark
    • ImageIconPage.png
  • skia-windows-screenshots: 2458 changed over 2488

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AppBarButtonWithIconTest.png
    • ApplicationViewMode.png
    • AppWindowFeatures.png
    • AppXamlDefinedResources.png
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithbottommargin.png
    • AutomationProperties_AutomationId.png-dark
    • AutoSizedPathCentered.png-dark
    • AutoSizedPathCentered.png
    • AutoSuggestBox_Reason.png-dark
    • AutoSuggestBox_Reason.png
    • BasicEnability.png-dark
    • BasicEnability.png
    • BenchmarkDotNet.png-dark
    • BenchmarkDotNet.png
    • BitmapIcon_Monochromatic.png-dark
    • BitmapIcon_Monochromatic.png
    • BorderCenteredwithmargins.png-dark
    • BorderCenteredwithmargins.png

@nventive-devops

Copy link
Copy Markdown
Contributor

📏 Rendering budgets for cb15f76e99

Build · 2026-10-16 18:15 UTC

  • This PR: ⚠️ 4 of 15 metrics over budget on at least one of 4 lanes; nothing higher than the latest dev.
  • Latest dev 7.0.0-dev.2347 (re-measured): ⚠️ 4 over budget on Windows (measured on 4 lanes).
  • Latest stable 6.7.135 (re-measured): ⚠️ 7 over budget on Windows (measured on 3 lanes).

Report only for now: nothing here fails the build.

Compared with the latest published versions (Windows)

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.
  • x is a ratio, and /N is 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]>
@unodevops

Copy link
Copy Markdown
Contributor

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]>
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 239975 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DropDownButtonPage.png-dark
    • Examples.png
    • ImageBrushAlignmentXY.png-dark
    • ImageBrushAlignmentXY.png
  • skia-windows-screenshots: 2458 changed over 2488

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png-dark
    • AnimatedVisualsTestbedPage.png
    • ApplicationViewSizing.png-dark
    • AppWindowFeatures.png-dark
    • AppWindowPresenters.png
    • Arrange_Performance01.png
    • Attributed_text_Supserscript.png-dark
    • AutoBorderStretchwithbottommargin.png-dark
    • AutomationProperties_AutomationId.png-dark
    • AutomationProperties_AutomationId.png
    • AutoSizedTopLeft.png-dark
    • AutoSizedTopLeft.png
    • AutoSuggestBox_Keyboard.png-dark
    • AutoSuggestBox_Keyboard.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png-dark
    • BasicThemeResources.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png

@nventive-devops

Copy link
Copy Markdown
Contributor

📏 Rendering budgets for a43a242f5d

Build · 2026-10-16 20:14 UTC

  • This PR: ⚠️ 4 of 15 metrics over budget on at least one of 5 lanes; nothing higher than the latest dev.
  • Latest dev 7.0.0-dev.2347 (re-measured), the newest with numbers (7.0.0-dev.2351 and later have none yet): ⚠️ 4 over budget on Windows (measured on 4 lanes).
  • Latest stable 6.7.135 (re-measured): ⚠️ 7 over budget on Windows (measured on 4 lanes).

Report only for now: nothing here fails the build.

Compared with the latest published versions (Windows)

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.
  • x is a ratio, and /N is 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.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 239975 has failed on Uno.UI - CI.

agneszitte and others added 2 commits October 19, 2026 13:11
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]>
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

nventive-devops commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

📏 Rendering budgets for 8a04516e29

Build · 2026-10-19 18:28 UTC

  • This PR: ⚠️ 4 of 18 metrics over budget on at least one of 5 lanes; nothing higher than the latest dev.
  • Latest dev 7.0.0-dev.2347 (re-measured), the newest with numbers (7.0.0-dev.2359 and later have none yet): ⚠️ 4 over budget on Windows (measured on 4 lanes).
  • Latest stable 6.7.135 (re-measured): ⚠️ 7 over budget on Windows (measured on 4 lanes).

Report only for now: nothing here fails the build.

Compared with the latest published versions (Windows)

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.
  • x is a ratio, and /N is 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.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240176 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DropDownButtonPage.png-dark
    • DynamicFont.png-dark
    • DynamicFont.png
    • Examples.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • DisplayInformation.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
  • skia-windows-screenshots: 2458 changed over 2488

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AnimatedVisualsTestbedPage.png
    • ApplicationViewSizing.png-dark
    • AppWindowClosing.png-dark
    • AppWindowPositionAndSize.png-dark
    • Arrange_Performance01.png-dark
    • Attributed_text_Supserscript.png
    • AutoBorderStretchwithleftmargin.png
    • AutomationProperties_Landmark.png
    • AutomationProperties_Name.png-dark
    • AutoSuggestBox_BitmapIcon.png-dark
    • AutoSuggestBox_BitmapIcon.png
    • AutoSuggestBox_SoftKeboard.png-dark
    • AutoSuggestBox_SoftKeboard.png
    • Basics_Automated.png-dark
    • Basics_Automated.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
    • BorderBottomwithmargins.png-dark
    • BorderBottomwithmargins.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure kind/documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants