perf(app): measure main-thread work to scroll history (#63923)

This commit is contained in:
Luke Parker
2026-11-14 05:53:15 -06:00
committed by GitHub
Unverified
parent c9957fd508
commit d759c548aa
+3 -1
View File
@@ -65,7 +65,9 @@ export default bench({
cases: {
"scroll history": {
primary: "main.busy",
// Work to scroll the same distance in both directions; keep busy share for lit-display runs.
primary: "main.work",
metrics: ["main.busy"],
async run({ page, phase }) {
await phase("up", () => page.scroll(timeline, { by: -4000, speed: 3000 }))
await phase("down", () => page.scroll(timeline, { by: 4000, speed: 3000 }))