Open Bug 2085019 Opened 24 days ago Updated 5 days ago

Reduce visual metrics variance by keeping exact frame timestamps in browsertime videos

Categories

(Testing :: Raptor, enhancement)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: acreskey, Assigned: acreskey)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxpe])

Attachments

(1 obsolete file)

Browsertime videos snap frame times to a 40ms grid on Linux/macOS (ffmpeg concat at 25fps) and 33ms on Windows (30fps capture).
Removing the snap may reduce visual metrics variance, especially for short loads like google-nav.

Perf-compare, just started

Summary: Potentially visual metrics variance by keeping exact frame timestamps in browsertime videos → Potentially reduce visual metrics variance by keeping exact frame timestamps in browsertime videos

Updated PerfCompare, keeping millisecond frame timestamps:
Reduces nav-bench CoV by ~20% on Linux and ~28% on macOS with no change on Windows, which records via ffmpeg.

  • Linux google-nav-load: before, 73 of 100 cycles read exactly 280ms, so the score could only move in 40ms steps. After, values spread over 250–330ms and CoV drops from 14.1% to 4.9%.
  • mac duckduckgo-subnav: before, results split into two clusters (about 220ms, or 120–190ms) depending on which slot the paint fell into. After, every cycle lands at 150–180ms and CoV drops from 12.8% to 3.8%.

The window recorder snaps video frames to a 40ms grid, which adds visual metrics noise; opt nav-bench in first.

Assignee: nobody → acreskey
Status: NEW → ASSIGNED
Summary: Potentially reduce visual metrics variance by keeping exact frame timestamps in browsertime videos → Reduce visual metrics variance by keeping exact frame timestamps in browsertime videos
Attachment #9671077 - Attachment description: Bug 2085019 - WIP: Keep millisecond frame timestamps in browsertime videos for nav-bench. r?kshampur,#perftest-reviewers! → WIP: Bug 2085019 - WIP: Keep millisecond frame timestamps in browsertime videos for nav-bench. r?kshampur,#perftest-reviewers!
See Also: → 2090090

I think the cleanest way is to fix this in upstream browsertime, logged here: https://github.com/sitespeedio/browsertime/issues/2640

Attachment #9671077 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: