You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a cross-platform performance benchmark suite with CI tracking #26516
A BenchmarkDotNet-based benchmark suite that runs in-process inside the runtime test host on every Skia target, tracked over time:
Benchmarks in three categories: micro (dependency properties, layout primitives and similar), scenario (realistic control and page workloads) and render (frame and composition costs).
A SamplesApp Benchmarks page that runs the suite in-app and shows the results grouped by category (mean, stddev, allocated bytes, N). The layout is stable so two windows can be compared side by side. Results can be copied as markdown or saved as a zip.
A publisher console tool with normalize (stamp results with commit, branch, platform and run id), merge (append to a JSON-Lines history store) and compare (local A/B of two result zips).
A CI pipeline that runs on master and on a schedule (not on PRs), one stage per Skia target plus WinAppSDK, and publishes the results to a dashboard.
Docs on adding benchmarks, the local workflow and provisioning the dashboard.
Why is this needed? 🤔
Performance work is measured by hand today with throwaway harnesses, so regressions are only noticed when someone happens to measure again. A shared suite with a history across platforms makes regressions visible, and makes perf PRs easy to back up with numbers.
For which platforms 📱💻🖥️
Build tasks, Skia (Windows, Linux X11/framebuffer, macOS, Android, iOS, WebAssembly), WinAppSDK as the reference
Activity