Closed Bug 2079427 Opened 1 month ago Closed 10 days ago

Add WebTransport datagram benchmarks

Categories

(Core :: Networking, task, P3)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 external file)

Having benchmarks for sending and receiving datagrams (throughput and latency) would be useful; they could later be used in CI or just run manually.

The test sends 64-byte and maximum-sized datagrams through the DOM API to a
new /echo_datagrams path on http3server, which echoes each datagram back, and
reports send and receive rates, the delivered fraction, and the round-trip
latency of the first datagram and the median and 95th percentile across all
of them. Ping-pong cases send one datagram at a time to measure the unloaded
round trip. Flood cases open /flood_datagrams/<count>/<size>, where the
server sends as fast as its outgoing datagram queue allows, and report the
receive rate, the delivered fraction, and the time from session creation to
the first datagram. Each case starts with a forced GC and CC, so the
previous case's garbage isn't collected during its measurements.

Blocks: WebTransport
Severity: -- → S3
Priority: -- → P3
Whiteboard: [necko-triaged]
Attachment #9655411 - Attachment description: WIP: Bug 2079427: Add an xpcshell perftest for WebTransport datagram rates and latency → Bug 2079427: Add an xpcshell perftest for WebTransport datagram rates and latency r=acreskey!
See Also: → 2093361
Pushed by rjesup@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b33913052348 https://hg.mozilla.org/integration/autoland/rev/3c06a4680d4e Add an xpcshell perftest for WebTransport datagram rates and latency r=acreskey,necko-reviewers,mozperftest-reviewers,aglavic,perftest-reviewers,valentin
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/82c4953aac7f https://hg.mozilla.org/integration/autoland/rev/89f074c0c118 Revert "Bug 2079427: Add an xpcshell perftest for WebTransport datagram rates and latency r=acreskey,necko-reviewers,mozperftest-reviewers,aglavic,perftest-reviewers,valentin"
Pushed by rjesup@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/049f533cd3d5 https://hg.mozilla.org/integration/autoland/rev/6d3cebb684b0 Add an xpcshell perftest for WebTransport datagram rates and latency r=acreskey,necko-reviewers,mozperftest-reviewers,aglavic,perftest-reviewers,valentin
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: