Repository navigation
bench: handle the session ticket in streams setup - #4412
larseggert wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4412 +/- ##
=======================================
Coverage 96.61% 96.62%
=======================================
Files 118 118
Lines 43894 43894
Branches 43894 43894
=======================================
+ Hits 42410 42412 +2
+ Misses 1463 1461 -2
Partials 21 21
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the change moving session-ticket processing into HTTP/3 client setup.
No open issues 🎉
What changed in this PR
This PR moves session-ticket processing into the simulated HTTP/3 client’s setup phase, keeping that work outside timed stream benchmarks.
Changes:
- Require both connection establishment and receipt of a resumption token before setup completes.
- Add a
ReceiveResumptionTokengoal that completes on the client’s resumption-token event.
| File | Description |
|---|---|
test-fixture/src/sim/http3_connection.rs |
Adds the resumption-token goal and includes it in default client setup. |
Review effort: Balanced
Failed Interop TestsQUIC Interop Runner, client vs. server, differences relative to
All resultsSucceeded Interop TestsQUIC Interop Runner, client vs. server neqo-pr as client
neqo-pr as server
Unsupported Interop TestsQUIC Interop Runner, client vs. server neqo-pr as client
neqo-pr as server
|
Client/server transfer resultsPerformance differences relative to c46d346. Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.
Table above only shows statistically significant changes. See all results below. All resultsTransfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.
Download data for |
Merging this PR will regress 3 benchmarks
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Benchmark resultsNo significant performance differences relative to c46d346. All resultstransfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 time: [61.873 ms 61.929 ms 61.980 ms]
thrpt: [1.5756 GiB/s 1.5769 GiB/s 1.5783 GiB/s]
Found 7 outliers among 100 measurements (7.00%)
4 (4.00%) low severe
2 (2.00%) low mild
1 (1.00%) high severetransfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500 time: [61.590 ms 61.642 ms 61.700 ms]
thrpt: [1.5828 GiB/s 1.5843 GiB/s 1.5856 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severetransfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 time: [3.8000 ms 3.8006 ms 3.8011 ms]
thrpt: [263.08 B/s 263.12 B/s 263.16 B/s]
Found 8 outliers among 100 measurements (8.00%)
5 (5.00%) low mild
3 (3.00%) high mildtransfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 time: [88.192 ms 88.349 ms 88.503 ms]
thrpt: [112.99 Kelem/s 113.19 Kelem/s 113.39 Kelem/s]streams-flow-controlled/walltime/1-streams/each-4194304-bytes time: [12.872 ms 12.876 ms 12.881 ms]
thrpt: [310.54 MiB/s 310.64 MiB/s 310.75 MiB/s]streams-flow-controlled/walltime/10-streams/each-1048576-bytes time: [34.664 ms 34.673 ms 34.683 ms]
thrpt: [288.33 MiB/s 288.41 MiB/s 288.49 MiB/s]
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) low mild
2 (2.00%) high mildstreams/walltime/1-streams/each-1000-bytes time: [32.579 µs 32.758 µs 32.985 µs]
thrpt: [28.913 MiB/s 29.113 MiB/s 29.273 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severestreams/walltime/1000-streams/each-1-bytes time: [4.4969 ms 4.5004 ms 4.5040 ms]
thrpt: [216.82 KiB/s 217.00 KiB/s 217.16 KiB/s]streams/walltime/1000-streams/each-1000-bytes time: [14.993 ms 15.005 ms 15.017 ms]
thrpt: [63.507 MiB/s 63.558 MiB/s 63.608 MiB/s]transfer/walltime/pacing-false/same-seed time: [3.2708 ms 3.2727 ms 3.2750 ms]
thrpt: [1.1928 GiB/s 1.1936 GiB/s 1.1943 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mildtransfer/walltime/pacing-false/varying-seeds time: [3.3363 ms 3.3383 ms 3.3406 ms]
thrpt: [1.1693 GiB/s 1.1701 GiB/s 1.1708 GiB/s]transfer/walltime/pacing-true/same-seed time: [3.7913 ms 3.7981 ms 3.8062 ms]
thrpt: [1.0263 GiB/s 1.0285 GiB/s 1.0303 GiB/s]
Found 19 outliers among 100 measurements (19.00%)
19 (19.00%) low mildtransfer/walltime/pacing-true/varying-seeds time: [3.9708 ms 3.9724 ms 3.9744 ms]
thrpt: [1006.4 MiB/s 1006.9 MiB/s 1007.3 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildInstructions per cycleCriterion reported no significant timing changes. All benchmarks
Profiles for profiler.firefox.com (64)
Download data for |
The default HTTP/3 client's setup also waits for the session ticket, so processing it is not timed.