Closed Bug 2073063 Opened 2 months ago Closed 1 month ago

Add a browsertime test that replays recorded busy news-site request timelines against a local DoH server

Categories

(Core :: Networking: DNS, task, P3)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: acreskey, Assigned: acreskey)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged][fxpe])

Attachments

(2 external files)

Fenix DoH lookups can get slow on ad-heavy news pages (bug 2072265). Existing coverage cannot measure this:

  • trr-multi (browsertime, trr_multi_domain_performance.js) uses live Cloudflare DoH and a live page, so results depend on the network.
  • test_trr_bench.js (xpcshell, perftest(busy-trr)) is desktop only and drives channels directly, with no page load.

Add a raptor/browsertime test where a local node server is both the DoH resolver and every host of a page that replays the request timelines recorded from people.com and detroitnews.com. It reports the distribution of per-resource DNS lookup times and the number of DoH reconnects, on desktop and Fenix (a55, p6).

Support classes can list ports for adb to reverse-forward, are no longer
deep-copied for the extra profiler run, and profiles of cold tests are
labelled cold when the manifest rather than the command line says so.

The existing DoH tests do not capture slow lookups on busy pages reliably:
trr-multi depends on a live resolver and a live page, and test_trr_bench.js
is desktop only and never loads a page.

Attachment #9644053 - Attachment description: Bug 2073063 - Let raptor support classes run local servers the device can reach and survive the extra profiler run r?#perftest-reviewers,#necko-reviewers → Bug 2073063 - Let raptor support classes run local servers the device can reach r?#perftest-reviewers,#necko-reviewers
Pushed by acreskey@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9927f9b1d9e5 https://hg.mozilla.org/integration/autoland/rev/fcdd058bc3ba Let raptor support classes run local servers the device can reach r=perftest-reviewers,necko-reviewers,kshampur https://github.com/mozilla-firefox/firefox/commit/7672b2113c99 https://hg.mozilla.org/integration/autoland/rev/618ef46530f6 Add a browsertime test that replays recorded news-site request timelines against a local DoH server r=perftest-reviewers,necko-reviewers,frontend-codestyle-reviewers,Standard8,valentin,kshampur
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
See Also: → 2084388
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: