Consider removing the initial 30s wait from nav-bench
Categories
(Testing :: Raptor, task, P2)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: acreskey, Assigned: acreskey)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxp][operational][est-1d][fxpe])
Attachments
(1 external file)
nav-bench starts each browser cycle with a 30s wait.byTime. In CI it runs with --conditioned-profile=settled, so raptor's post_startup_delay is already 1s; locally the two waits stack to 60s.
A try comparison removing the wait (10 jobs per platform, linux / macOS / Windows ref) showed no change in overall score or CoV, and saved ~150s per job:
https://perf.compare/compare-lando-results?landoInstance=lando-prod-2025&baseLando=108566&newLando=108567&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Comment 1•1 month ago
|
||
| Platform | Overall CoV (before → after) | Mean change | Median task time |
|---|---|---|---|
| Linux | 0.9% → 0.8% | +0.0% | 24.1 → 21.6 min (−151s) |
| macOS | 0.6% → 1.1% | −0.1% | 21.4 → 19.0 min (−145s) |
| Windows ref | 1.0% → 1.2% | +0.3% | 30.2 → 27.4 min (−164s) |
That being said, there appears to be additional noise around the google nav on MacOS, which I will look into
| Subtest | Platform | Before → after |
|---|---|---|
| wikipedia-nav-load | Linux | 12.6% → 5.7% (better) |
| google-nav-load | macOS | 10.7% → 16.7% (worse) |
| google-nav-load | Windows | 13.6% → 11.3% (better) |
| duckduckgo-nav-subnav | macOS | 12.0% → 16.5% (worse) |
| reddit-nav-load | Windows | 4.6% → 7.6% (worse) |
Updated•22 days ago
|
Updated•22 days ago
|
Comment 2•22 days ago
|
||
@acreskey priority, severity, and estimate set. Are you planning to work on this? If so, please assign it to yourself.
| Assignee | ||
Updated•22 days ago
|
| Assignee | ||
Comment 3•22 days ago
|
||
Try showed no change in score or noise without it, and it costs ~150s per job.
Updated•22 days ago
|
| Assignee | ||
Updated•22 days ago
|
Updated•22 days ago
|
| Assignee | ||
Comment 4•19 days ago
|
||
Removing the initial 30s wait regressed nav-bench on macOS: google-nav-load dropped 9.9% and CoV rose on several sites.
The cause is the font info loader (gfx.font_loader.delay, 8s on macOS), which then fired in the middle of the measured loads instead of during the wait. With gfx.font_loader.delay=0 added to the nav-bench prefs, no platform regresses and macOS noise is back near the old level, while saving ~150s per job.
| macOS test | CoV, 30s wait | CoV, no wait | CoV, no wait + delay=0 |
|---|---|---|---|
| google-nav-load | 4.88% | 8.32% | 4.35% |
| wikipedia-nav-load | 2.37% | 4.63% | 3.73% |
| facebook-nav-load | 1.85% | 3.98% | 2.69% |
| google-docs-nav-load | 1.93% | 3.56% | 2.42% |
| bbc-nav-load | 1.22% | 2.82% | 1.11% |
Comment 5•19 days ago
|
||
nice find!
Comment 6•19 days ago
|
||
i haven't had a chance yet to dig into the noise increase in bug 2081350 , i wonder if it is related
| Assignee | ||
Comment 7•18 days ago
|
||
Ah,has profile-analyzer been able to find root cause?
One thing I think we'll need to get removed asap is the glean flush before each URL, https://github.com/sitespeedio/browsertime/pull/2657
Comment 8•18 days ago
|
||
(In reply to Andrew Creskey [:acreskey] from comment #7)
Ah,has profile-analyzer been able to find root cause?
One thing I think we'll need to get removed asap is the glean flush before each URL, https://github.com/sitespeedio/browsertime/pull/2657
partly! the google noise in bug 2081350 looks like it's the pkcs#11 utility process starting up on the first tls handshake, details in bug 2081350, comment 4.
so i don't think it's the font loader, in those runs that fires during the 30s wait...
+1 on removing the glean flush
Comment 10•17 days ago
|
||
| bugherder | ||
Description
•