Skip to content

bench: don't have the neqo-bin client create output directories - #4415

Open
larseggert wants to merge 1 commit into
mainfrom
bench-main-no-output-dir
Open

larseggert wants to merge 1 commit into
mainfrom
bench-main-no-output-dir

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

The bench client writes no responses, and an output directory makes every request run a failing create_dir_all.

@larseggert
larseggert marked this pull request as ready for review November 23, 2026 15:20
Copilot AI balanced review requested due to automatic review settings November 23, 2026 15:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change disabling the benchmark client's unused output directory.

No open issues 🎉

What changed in this PR

The PR removes unnecessary output-directory creation attempts from the neqo-bin benchmark client, which does not write responses.

Changes:

  • Sets the benchmark client's output_dir to None instead of /dev/null, avoiding a failing create_dir_all call for every request.
File Description
neqo-bin/​src/​client/​mod.rs Disables the output directory in benchmark client arguments.

Review effort: Balanced

@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.61%. Comparing base (6ae0599) to head (f78d6a9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4415      +/-   ##
==========================================
- Coverage   96.61%   96.61%   -0.01%     
==========================================
  Files         118      118              
  Lines       43894    43894              
  Branches    43894    43894              
==========================================
- Hits        42410    42406       -4     
- Misses       1463     1467       +4     
  Partials       21       21              
Flag Coverage Δ
freebsd 94.13% <ø> (+10.34%) ⬆️
linux 96.76% <ø> (-0.02%) ⬇️
macos 94.50% <ø> (-0.01%) ⬇️
windows 94.56% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
neqo-common 99.33% <ø> (+0.04%) ⬆️
neqo-http3 96.00% <ø> (ø)
neqo-qpack 96.55% <ø> (ø)
neqo-transport 97.10% <ø> (-0.03%) ⬇️
neqo-udp 87.63% <ø> (ø)
mtu 91.31% <ø> (ø)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings.

@github-actions

Copy link
Copy Markdown
Contributor

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to main at c46d346.

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: run cancelled after 20 min
neqo-pr vs. haproxy: BP BA
neqo-pr vs. kwik: ⚠️Z L1 C1 ⚠️C2 V2
neqo-pr vs. linuxquic: run cancelled after 20 min
neqo-pr vs. lsquic: run cancelled after 20 min
neqo-pr vs. msquic: run cancelled after 20 min
neqo-pr vs. mvfst: baseline result missing
neqo-pr vs. neqo: A
neqo-pr vs. nginx: BP BA
neqo-pr vs. ngtcp2: run cancelled after 20 min
neqo-pr vs. picoquic: run cancelled after 20 min
neqo-pr vs. quic-go: A
neqo-pr vs. quiche: BP BA
neqo-pr vs. quinn: run cancelled after 20 min
neqo-pr vs. rama: baseline result missing
neqo-pr vs. s2n-quic: run cancelled after 20 min
neqo-pr vs. tquic: baseline result missing
neqo-pr vs. xquic: Z A L1 🚀C1
aioquic vs. neqo-pr: baseline result missing
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: run cancelled after 20 min
linuxquic vs. neqo-pr: run cancelled after 20 min
lsquic vs. neqo-pr: baseline result missing
msquic vs. neqo-pr: CM
mvfst vs. neqo-pr: baseline result missing
neqo vs. neqo-pr: run cancelled after 20 min
ngtcp2 vs. neqo-pr: baseline result missing
openssl vs. neqo-pr: baseline result missing
picoquic vs. neqo-pr: run cancelled after 20 min
quic-go vs. neqo-pr: CM
quic-zig vs. neqo-pr: baseline result missing
quiche vs. neqo-pr: 🚀C1 CM
quinn vs. neqo-pr: V2 CM
rama vs. neqo-pr: baseline result missing
s2n-quic vs. neqo-pr: 🚀BA CM
tquic vs. neqo-pr: CM
xquic vs. neqo-pr: run cancelled after 20 min
All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

@github-actions

Copy link
Copy Markdown
Contributor

Client/server transfer results

Performance differences relative to c46d346.

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
google-neqo-cubic 80.3 ± 0.5 79.1 – 81.5 80.3 ± 0.5 398.6 ± 2.3 💔 +1.0 (+1.3%)
neqo-neqo-newreno 24.5 ± 0.2 24.1 – 24.9 24.5 ± 0.2 1305.6 ± 8.6 💔 +0.7 (+2.7%)

Table above only shows statistically significant changes. See all results below.

All results

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
google-google 157.5 ± 0.6 156.1 – 159.0 157.5 ± 0.7 203.1 ± 0.8
google-neqo-cubic 80.3 ± 0.5 79.1 – 81.5 80.3 ± 0.5 398.6 ± 2.3 💔 +1.0 (+1.3%)
neqo-google-cubic 247.7 ± 41.9 204.9 – 326.9 242.0 ± 51.4 129.2 ± 21.8 +33.0 (+15.8%)
neqo-neqo-cubic 24.3 ± 0.2 23.9 – 25.0 24.3 ± 0.2 1317.3 ± 9.6 +0.1 (+0.4%)
neqo-neqo-cubic-nopacing 23.3 ± 0.1 23.1 – 23.8 23.3 ± 0.1 1371.0 ± 7.5 +0.0 (+0.1%)
neqo-neqo-newreno 24.5 ± 0.2 24.1 – 24.9 24.5 ± 0.2 1305.6 ± 8.6 💔 +0.7 (+2.7%)
neqo-neqo-newreno-nopacing 23.3 ± 0.1 23.0 – 23.7 23.2 ± 0.1 1375.8 ± 7.0 +0.0 (+0.1%)
neqo-quiche-cubic 35.2 ± 0.4 34.6 – 36.3 35.1 ± 0.4 910.2 ± 9.2 -0.0 (-0.1%)
neqo-s2n-cubic 45.4 ± 0.2 45.0 – 46.0 45.3 ± 0.2 705.4 ± 3.0 -0.1 (-0.2%)
quiche-neqo-cubic 36.6 ± 0.6 35.5 – 39.0 36.5 ± 0.5 874.5 ± 13.2 -0.1 (-0.3%)
quiche-quiche 42.3 ± 0.2 41.8 – 43.1 42.3 ± 0.3 755.8 ± 4.3
s2n-neqo-cubic 128.7 ± 0.6 127.8 – 130.4 128.6 ± 0.5 248.6 ± 1.1 +0.3 (+0.2%)
s2n-s2n ⚠️ 177.8 ± 32.2 145.5 – 267.8 169.4 ± 1.4 180.0 ± 32.6

Download data for profiler.firefox.com or download performance comparison data.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark results

No significant performance differences relative to c46d346.

All results
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500
       time:   [60.979 ms 61.012 ms 61.044 ms]
       thrpt:  [1.5998 GiB/s 1.6006 GiB/s 1.6015 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500
       time:   [60.743 ms 60.784 ms 60.827 ms]
       thrpt:  [1.6055 GiB/s 1.6066 GiB/s 1.6077 GiB/s]
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500
       time:   [3.8064 ms 3.8071 ms 3.8079 ms]
       thrpt:  [262.61   B/s 262.67   B/s 262.72   B/s]
Found 7 outliers among 100 measurements (7.00%)
3 (3.00%) high mild
4 (4.00%) high severe
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500
       time:   [92.490 ms 92.863 ms 93.241 ms]
       thrpt:  [107.25 Kelem/s 107.69 Kelem/s 108.12 Kelem/s]
streams-flow-controlled/walltime/1-streams/each-4194304-bytes
       time:   [13.088 ms 13.097 ms 13.105 ms]
       thrpt:  [305.23 MiB/s 305.41 MiB/s 305.63 MiB/s]
Found 10 outliers among 100 measurements (10.00%)
3 (3.00%) low severe
1 (1.00%) low mild
6 (6.00%) high mild
streams-flow-controlled/walltime/10-streams/each-1048576-bytes
       time:   [36.228 ms 36.282 ms 36.334 ms]
       thrpt:  [275.23 MiB/s 275.62 MiB/s 276.03 MiB/s]
streams/walltime/1-streams/each-1000-bytes
       time:   [162.87 µs 163.55 µs 164.42 µs]
       thrpt:  [5.8001 MiB/s 5.8310 MiB/s 5.8555 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
streams/walltime/1000-streams/each-1-bytes
       time:   [4.8002 ms 4.8018 ms 4.8035 ms]
       thrpt:  [203.30 KiB/s 203.37 KiB/s 203.44 KiB/s]
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
streams/walltime/1000-streams/each-1000-bytes
       time:   [15.213 ms 15.225 ms 15.237 ms]
       thrpt:  [62.591 MiB/s 62.639 MiB/s 62.688 MiB/s]
transfer/walltime/pacing-false/same-seed
       time:   [3.4258 ms 3.4273 ms 3.4292 ms]
       thrpt:  [1.1391 GiB/s 1.1397 GiB/s 1.1403 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) low severe
1 (1.00%) low mild
transfer/walltime/pacing-false/varying-seeds
       time:   [3.3399 ms 3.3416 ms 3.3432 ms]
       thrpt:  [1.1684 GiB/s 1.1690 GiB/s 1.1696 GiB/s]
transfer/walltime/pacing-true/same-seed
       time:   [3.9296 ms 3.9311 ms 3.9330 ms]
       thrpt:  [1017.0 MiB/s 1017.5 MiB/s 1017.9 MiB/s]
transfer/walltime/pacing-true/varying-seeds
       time:   [3.9169 ms 3.9199 ms 3.9232 ms]
       thrpt:  [1019.6 MiB/s 1020.4 MiB/s 1021.2 MiB/s]
Found 5 outliers among 100 measurements (5.00%)
4 (4.00%) low mild
1 (1.00%) high severe

Instructions per cycle

Criterion reported no significant timing changes.

All benchmarks
Benchmark IPC before IPC after ΔIPC
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500 3.11 3.17 +2.0%
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 3.07 3.11 +1.1%
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 3.21 3.24 +1.0%
streams/walltime/1000-streams/each-1-bytes 3.27 3.24 -1.0%
transfer/walltime/pacing-true/varying-seeds 2.86 2.88 +0.9%
streams/walltime/1000-streams/each-1000-bytes 2.94 2.96 +0.8%
streams-flow-controlled/walltime/10-streams/each-1048576-bytes 3.08 3.06 -0.6%
streams-flow-controlled/walltime/1-streams/each-4194304-bytes 2.98 2.96 -0.5%
transfer/walltime/pacing-true/same-seed 2.86 2.87 +0.4%
transfer/walltime/pacing-false/varying-seeds 2.87 2.87 +0.3%
streams/walltime/1-streams/each-1000-bytes 2.56 2.57 +0.2%
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 2.25 2.25 +0.2%
transfer/walltime/pacing-false/same-seed 2.88 2.89 +0.1%
Profiles for profiler.firefox.com (64)

Download data for profiler.firefox.com or download performance comparison data.

@codspeed

codspeed Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will degrade performance by 2.25%

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚡ 1 improved benchmark
❌ 3 regressed benchmarks
✅ 97 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Walltime walltime/pacing-false/same-seed 3.4 ms 3.6 ms -6.14%
❌ Walltime walltime/pacing-true/varying-seeds 3.8 ms 3.9 ms -4.51%
❌ Walltime walltime/pacing-true/same-seed 4 ms 4.2 ms -4.21%
⚡ Walltime 1-conn/10_000-parallel-1b-resp (aka. RPS) 87.2 ms 82 ms +6.35%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing bench-main-no-output-dir (f78d6a9) with main (c46d346)

Open in CodSpeed

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants