Repository navigation
Conversation
Emit the HTTP/3 parameters_set event when sending local SETTINGS and when receiving the peer's. Part of mozilla#528.
|
Is there a way to avoid threading |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4417 +/- ##
==========================================
+ Coverage 96.61% 96.63% +0.01%
==========================================
Files 118 118
Lines 43894 44042 +148
Branches 43894 44042 +148
==========================================
+ Hits 42410 42560 +150
+ Misses 1463 1461 -2
Partials 21 21
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Failed Interop TestsQUIC Interop Runner, client vs. server, differences relative to
All resultsSucceeded Interop TestsQUIC Interop Runner, client vs. server neqo-pr as clientNone ❓ neqo-pr as serverNone ❓ Unsupported Interop TestsQUIC Interop Runner, client vs. server neqo-pr as clientNone ❓ neqo-pr as serverNone ❓ |
There was a problem hiding this comment.
🟡 Changes recommended
Resumption-token settings are incorrectly logged as a received SETTINGS update, with a flag that misrepresents 0-RTT request behavior; the event and corresponding test expectations need correction.
1 open issue
What changed in this PR
Adds HTTP/3 settings logging to Neqo’s qlog support, advancing the probe coverage tracked in #528.
Changes:
- Adds a helper to serialize HTTP/3 settings into
parameters_setevents. - Hooks logging into local SETTINGS, peer SETTINGS, and resumption handling, passing timestamps through client and server paths.
- Adds serialization and client handshake/resumption tests.
| File | Description |
|---|---|
neqo-http3/src/qlog.rs |
Adds the settings event helper and serialization test. |
neqo-http3/src/connection.rs |
Emits settings events and threads timestamps through connection handling. |
neqo-http3/src/connection_server.rs |
Passes timestamps into server state-change handling. |
neqo-http3/src/connection_client.rs |
Updates timestamp arguments and adds handshake and 0-RTT logging tests. |
Review effort: Balanced
| h3_qlog::parameters_set( | ||
| conn.qlog_mut(), | ||
| Initiator::Remote, | ||
| &settings, | ||
| Some(true), |
Merging this PR will degrade performance by 3.77%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Benchmark resultsNo significant performance differences relative to c46d346. All resultstransfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 time: [60.739 ms 60.783 ms 60.827 ms]
thrpt: [1.6055 GiB/s 1.6066 GiB/s 1.6078 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildtransfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500 time: [60.737 ms 60.798 ms 60.861 ms]
thrpt: [1.6046 GiB/s 1.6063 GiB/s 1.6079 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mildtransfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 time: [3.8066 ms 3.8073 ms 3.8080 ms]
thrpt: [262.61 B/s 262.65 B/s 262.70 B/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mildtransfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 time: [87.100 ms 87.279 ms 87.457 ms]
thrpt: [114.34 Kelem/s 114.58 Kelem/s 114.81 Kelem/s]streams-flow-controlled/walltime/1-streams/each-4194304-bytes time: [13.035 ms 13.039 ms 13.042 ms]
thrpt: [306.69 MiB/s 306.78 MiB/s 306.87 MiB/s]streams-flow-controlled/walltime/10-streams/each-1048576-bytes time: [35.574 ms 35.595 ms 35.617 ms]
thrpt: [280.76 MiB/s 280.94 MiB/s 281.10 MiB/s]
Found 5 outliers among 100 measurements (5.00%)
3 (3.00%) high mild
2 (2.00%) high severestreams/walltime/1-streams/each-1000-bytes time: [160.95 µs 161.62 µs 162.48 µs]
thrpt: [5.8697 MiB/s 5.9007 MiB/s 5.9251 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mildstreams/walltime/1000-streams/each-1-bytes time: [4.7381 ms 4.7403 ms 4.7426 ms]
thrpt: [205.91 KiB/s 206.01 KiB/s 206.11 KiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildstreams/walltime/1000-streams/each-1000-bytes time: [15.108 ms 15.120 ms 15.131 ms]
thrpt: [63.027 MiB/s 63.076 MiB/s 63.124 MiB/s]transfer/walltime/pacing-false/same-seed time: [3.3695 ms 3.3723 ms 3.3757 ms]
thrpt: [1.1572 GiB/s 1.1583 GiB/s 1.1593 GiB/s]
Found 6 outliers among 100 measurements (6.00%)
1 (1.00%) low mild
5 (5.00%) high mildtransfer/walltime/pacing-false/varying-seeds time: [3.3165 ms 3.3195 ms 3.3232 ms]
thrpt: [1.1755 GiB/s 1.1768 GiB/s 1.1778 GiB/s]
Found 7 outliers among 100 measurements (7.00%)
6 (6.00%) high mild
1 (1.00%) high severetransfer/walltime/pacing-true/same-seed time: [4.0626 ms 4.0648 ms 4.0675 ms]
thrpt: [983.41 MiB/s 984.05 MiB/s 984.58 MiB/s]transfer/walltime/pacing-true/varying-seeds time: [3.8704 ms 3.8724 ms 3.8748 ms]
thrpt: [1.0081 GiB/s 1.0087 GiB/s 1.0093 GiB/s]Instructions per cycleCriterion reported no significant timing changes. All benchmarks
Profiles for profiler.firefox.com (64)
Download data for |
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 |

Emit the HTTP/3 parameters_set event when sending local SETTINGS and when receiving the peer's. Part of #528.