Skip to content

feat: pre-allocate packet send buffer to MTU size to avoid realloc - #3702

Closed
larseggert wants to merge 6 commits into
mozilla:mainfrom
larseggert:opp-send-buffer-alloc
Closed

larseggert wants to merge 6 commits into
mozilla:mainfrom
larseggert:opp-send-buffer-alloc

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

We tried this before but Claude insists this is a good idea...

@codecov

codecov Bot commented Jun 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.75%. Comparing base (0130bf3) to head (fcc27fd).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3702   +/-   ##
=======================================
  Coverage   96.75%   96.75%           
=======================================
  Files         118      118           
  Lines       39784    39786    +2     
  Branches    39784    39786    +2     
=======================================
+ Hits        38492    38495    +3     
+ Misses       1267     1266    -1     
  Partials       25       25           
Flag Coverage Δ
freebsd 94.09% <100.00%> (+15.25%) ⬆️
linux 96.94% <100.00%> (+<0.01%) ⬆️
macos 95.02% <100.00%> (+<0.01%) ⬆️
windows 95.07% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
neqo-common 99.26% <ø> (ø)
neqo-http3 95.27% <ø> (ø)
neqo-qpack 96.88% <ø> (ø)
neqo-transport 97.69% <100.00%> (+<0.01%) ⬆️
neqo-udp 95.37% <ø> (ø)
mtu 89.13% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed

codspeed Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will regress 2 benchmarks

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 6 improved benchmarks
❌ 2 regressed benchmarks
✅ 73 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Memory simulated/1000-streams/each-1000-bytes 401.5 KB 422.2 KB -4.91%
❌ Memory simulated/1-streams/each-1000-bytes 24.7 KB 25.9 KB -4.41%
⚡ Memory simulated/10-streams/each-1048576-bytes 11.4 MB 9.2 MB +24.71%
⚡ Memory simulated/1-streams/each-4194304-bytes 5.2 MB 4.4 MB +19.21%
⚡ Simulation simulated/pacing-false/same-seed 144.2 ms 136.8 ms +5.4%
⚡ Simulation simulated/1-streams/each-4194304-bytes 176.9 ms 168.5 ms +4.98%
⚡ Simulation simulated/pacing-true/same-seed 143.6 ms 137.4 ms +4.52%
⚡ Simulation simulated/pacing-true/varying-seeds 143.6 ms 137.4 ms +4.51%

Tip

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


Comparing larseggert:opp-send-buffer-alloc (fcc27fd) with main (de70e15)

Open in CodSpeed

@larseggert
larseggert force-pushed the opp-send-buffer-alloc branch from 6aabe09 to e54e6f3 Compare June 12, 2026 15:06
@larseggert
larseggert marked this pull request as ready for review June 12, 2026 15:31
@larseggert
larseggert requested a review from KershawChang as a code owner June 12, 2026 15:31
Copilot AI review requested due to automatic review settings June 12, 2026 15:31
We tried this before but Claude insists this is a good idea...
@larseggert
larseggert force-pushed the opp-send-buffer-alloc branch from e54e6f3 to 2c14e2e Compare June 12, 2026 15:33

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.

Pull request overview

This PR reduces allocations during packet construction by pre-allocating the per-batch datagram payload buffer to the current path PLPMTU, avoiding an initial growth/realloc when building the first packet on a path.

Changes:

  • Allocate send_buffer with capacity path.borrow().plpmtu() instead of starting from an empty Vec.
  • Add rationale in-code to avoid scaling the allocation by max_datagrams (which can be large with GSO).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mxinden

mxinden commented Jun 12, 2026

Copy link
Copy Markdown
Member

Which benchmark shows the reliable signal that this is an improvement?

transfer/1-conn/1-100mb-req (aka. Upload): 💔 Performance has regressed by +55.900%.

I don't think this is a regression we are willing to accept?

@mxinden mxinden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Firefox mostly sends ACKs and small requests past the handshake. Is this a good idea?

@larseggert

Copy link
Copy Markdown
Collaborator Author

The regression is from before the latest changes, which should fix it. If not, obviously we can't accept.

I see no downside in using a 1500 byte buffer here?

@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.

Correct and low-risk change. The pre-allocation is ~1.2KB (initial PLPMTU of 1280 minus IP/UDP headers), which avoids 2–3 reallocations when the first datagram approaches MTU size.

Re @mxinden's concern about Firefox mostly sending small ACKs past the handshake: even in that case, ~1.2KB of unused capacity per batch is negligible, and Vec's growth strategy would allocate similar amounts after the first push anyway. The optimization is most impactful during the handshake and bulk data transfer where packets routinely fill the MTU.

Comment thread neqo-transport/src/connection/mod.rs Resolved
@larseggert
larseggert force-pushed the opp-send-buffer-alloc branch from 1112c32 to 3540ce1 Compare June 15, 2026 08:33

@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.

Clean, low-risk change. Two improvements here:

  1. Borrow consolidation: Collapsing three separate path.borrow() calls into one scope removes redundant RefCell borrow/unborrow cycles. The explicit drop(path_ref) is necessary since path is re-borrowed (both shared and mutably) inside the loop — worth keeping in mind if this block is ever refactored.

  2. Pre-allocation: Vec::with_capacity(mtu) avoids 2–3 reallocations during the first packet encode. For multi-datagram GSO batches the Vec will still grow beyond mtu, but the common single-datagram path gets a single right-sized allocation.

Re @mxinden's concern about Firefox's typical small-ACK pattern: even there, Vec::new() allocates nothing up front but then hits the allocator on the first extend during encoding. The difference is one ~1.2 KB allocation vs. a few smaller grow-and-copy cycles — net effect is neutral to slightly positive regardless of packet size, and clearly wins during handshake and bulk transfer.

@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.

Clean, correct change. Two things happening here:

  1. Borrow consolidation: The three separate path.borrow() calls collapse into one scope with an explicit drop before the loop — necessary since path is re-borrowed both shared (lines 2629, 2668) and mutably deeper in the call chain. Eliminates redundant RefCell overhead.

  2. Pre-allocation: Vec::with_capacity(mtu) right-sizes the first datagram's allocation (~1.2 KB at initial PLPMTU). For GSO batches the Vec will still grow, but the common single-datagram path avoids 2–3 grow-and-copy cycles. The debug_assert at line 2668 already guards against mtu changing mid-batch, so using the cached value is safe.

Re @mxinden's concern about small ACKs: Vec::new() allocates nothing up front but then hits the allocator on the first extend during encoding anyway, so the net overhead for small packets is one right-sized allocation vs. a few smaller grow-and-copy rounds — neutral to slightly positive.

No issues found. The previous inline suggestion (consolidating borrows) has been implemented in this revision.

@mxinden

mxinden commented Jun 21, 2026

Copy link
Copy Markdown
Member

Some historical context on this:

The long-lived send buffer in #2747 is in my eyes the best next step.

@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.

Clean, correct change. Two wins in six lines:

  1. Borrow consolidation — three path.borrow() calls collapse into one scope. The explicit drop(path_ref) is necessary since path is re-borrowed both shared and mutably inside the loop. Eliminates redundant RefCell overhead.

  2. Pre-allocation — Vec::with_capacity(mtu) right-sizes the buffer for the first datagram (~1.2 KB at initial PLPMTU of 1280). For multi-datagram GSO batches the Vec will still grow, but the common single-datagram path avoids grow-and-copy cycles entirely. The existing debug_assert_eq! at line 2681 already validates that the cached mtu stays consistent within a batch, so using the pre-loop value is safe.

Re @mxinden's question: even for small ACK-only packets, Vec::new() would hit the allocator on the first extend anyway — the difference is one right-sized allocation vs. a few smaller grow-copy rounds, which is neutral to slightly positive regardless of packet size.

@larseggert
larseggert enabled auto-merge July 9, 2026 07:08
@larseggert
larseggert disabled auto-merge July 9, 2026 07:08
@larseggert
larseggert requested a review from mxinden July 9, 2026 07:08
@larseggert

Copy link
Copy Markdown
Collaborator Author

@mxinden this really looks performance positive?

@mxinden

mxinden commented Jul 9, 2026 •

Copy link
Copy Markdown
Member

Where do I find the https://github.com/mozilla/neqo/blob/main/neqo-bin/benches/main.rs benchmark results? I can't find them in #3702 (comment).

This is counterintuitive to me as:

  • Firefox mostly sends ACKs, thus in a Download benchmark, we would always over-allocate.
  • When Firefox uploads, I would expect it to use GSO, thus build >MTU sized datagrams, thus this patch would just like main under-allocate, granted a bit less than main.

@larseggert

Copy link
Copy Markdown
Collaborator Author

Where do I find the main/neqo-bin/benches/main.rs benchmark results?

See #3804 - we haven't been generating them. (That PR was exactly motivated by me also wanting to compare profiles apples to apples...)

* Firefox mostly sends ACKs, thus in a Download benchmark, we would always over-allocate.

Well, only by 1500 bytes. I still don't see how that matters.

* When Firefox uploads, I would expect it to use GSO, thus build >MTU sized datagrams, thus this patch would just like `main` under-allocate, granted a bit less than `main`.

Correct. But IIRC Vec allocates 16 entries by default, so for a full-sized packet, we save ~7 reallocs/copies with this. It is ~4-5 more reallocs/copies to go to GSO size, which we still need to pay (unless we can be smarter when we know we produce a GSO burst.)

@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.

Behavior-neutral change: hoists the three path.borrow() calls into one borrow and pre-sizes send_buffer to one PLPMTU. Correctness looks fine — the borrow is dropped before the loop re-borrows path (including borrow_mut() in datagram_batch), and the existing debug_assert_eq!(mtu, path.borrow().plpmtu()) guards the hoisted mtu. My earlier suggestion to consolidate the borrows has been applied.

Architectural note, extending @mxinden's point rather than repeating it: the effect here is bounded on both ends. For a GSO batch the buffer still grows by doubling from mtu, i.e. ~log2(max_datagrams) reallocs (each copying up to tens of KiB, so the copied bytes saved are less lopsided than the realloc count suggests); for ACK-only output — Firefox's common case — it trades ~7 small allocations for one 1500-byte one that is immediately handed to the socket. Both directions are plausibly in the noise, which is consistent with the CodSpeed deltas being carried by the microbenchmarks rather than by anything obviously allocation-bound. Now that #3804 has landed, neqo-bin/benches/main.rs numbers would settle the question, and the earlier +55.9% upload regression should be confirmed gone on the current head.

Given that the long-lived reused send buffer (#2747) subsumes this entirely — amortized zero allocations and no over-allocation, making the constant-vs-batch sizing tradeoff moot — the main question for this PR is whether it's worth landing as a stopgap versus going straight there. If it does land, a short comment recording why mtu (and not the batch bound) was chosen would save the next person from re-deriving this thread.

let mtu = path_ref.plpmtu();
let address_family_max_mtu = path_ref.pmtud().address_family_max_mtu();
drop(path_ref);
let mut send_buffer = Vec::with_capacity(mtu);

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.

[!NOTE]

The rationale comment from the earlier revision got dropped; mtu as a capacity isn't self-explanatory. Also worth noting that this doesn't cover the largest datagram the loop can build: when pmtud().needs_probe(), the first datagram is built up to probe_size(), which is by construction larger than plpmtu().

Minimal fix — restore the rationale:

Suggested change
let mut send_buffer = Vec::with_capacity(mtu);
// Pre-allocate one MTU to avoid reallocating while the first datagram
// of the batch is built.
let mut send_buffer = Vec::with_capacity(mtu);

Alternative — size for the whole batch, which is exactly the bound the loop enforces below via address_family_max_mtu - send_buffer.len() < mtu, so no realloc at all (at the cost of up to a 64 KiB allocation for an ACK-only output):

Suggested change
let mut send_buffer = Vec::with_capacity(mtu);
let mut send_buffer =
Vec::with_capacity((mtu * max_datagrams.get()).min(address_family_max_mtu));

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Performance profiles for profiler.firefox.com

Benchmarks (14)
  • neqo-bin-main: pr · base
  • neqo-common-decoder: pr · base
  • neqo-http3-streams_simulated: pr · base
  • neqo-http3-streams_walltime: pr · base
  • neqo-transport-frame_decode: pr · base
  • neqo-transport-min_bandwidth: pr · base
  • neqo-transport-pacer: pr · base
  • neqo-transport-packet_codec: pr · base
  • neqo-transport-range_tracker: pr · base
  • neqo-transport-rx_stream_orderer: pr · base
  • neqo-transport-send_streams: pr · base
  • neqo-transport-sent_packets: pr · base
  • neqo-transport-transfer_simulated: pr · base
  • neqo-transport-transfer_walltime: pr · base
Comparisons (5)

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Failed Interop Tests

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

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: BP BA
neqo-pr vs. haproxy: ⚠️M BP BA
neqo-pr vs. linuxquic: ⚠️BA
neqo-pr vs. lsquic: L1 C1
neqo-pr vs. msquic: A L1 C1
neqo-pr vs. mvfst: A
neqo-pr vs. neqo: A
neqo-pr vs. nginx: BP BA
neqo-pr vs. ngtcp2: CM
neqo-pr vs. picoquic: A
neqo-pr vs. quic-go: A
neqo-pr vs. quiche: BP BA
neqo-pr vs. s2n-quic: CM
neqo-pr vs. tquic: S BP BA
neqo-pr vs. xquic: S R Z A L1 C1
aioquic vs. neqo-pr: 🚀C1 CM
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: BP BA CM
msquic vs. neqo-pr: CM
mvfst vs. neqo-pr: Z L1 C1 CM
neqo vs. neqo-pr: A
openssl vs. neqo-pr: LR M A CM
quic-go vs. neqo-pr: CM
quiche vs. neqo-pr: ⚠️L1 CM
quinn vs. neqo-pr: 🚀C1 V2 CM
s2n-quic vs. neqo-pr: CM
tquic vs. neqo-pr: CM
xquic vs. neqo-pr: M CM
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

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Client/server transfer results

Performance differences relative to 30f8b8d.

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
neqo-neqo-cubic-nopacing ⚠️ 78.7 ± 4.6 73.7 – 101.6 77.9 ± 2.0 406.5 ± 23.9 💚 -1.9 (-2.4%)
neqo-neqo-newreno-nopacing ⚠️ 78.6 ± 3.8 73.1 – 104.6 78.1 ± 2.4 407.0 ± 19.5 💚 -1.2 (-1.5%)

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 462.2 ± 2.4 456.7 – 473.4 462.0 ± 1.7 69.2 ± 0.4
google-neqo-cubic 271.8 ± 1.9 269.6 – 280.3 271.6 ± 1.1 117.7 ± 0.8 +0.4 (+0.1%)
neqo-google-cubic 764.5 ± 2.3 759.8 – 773.1 764.2 ± 2.1 41.9 ± 0.1 -0.4 (-0.1%)
neqo-neqo-cubic 78.7 ± 2.7 72.4 – 86.5 78.3 ± 2.3 406.4 ± 14.1 -0.3 (-0.4%)
neqo-neqo-cubic-nopacing ⚠️ 78.7 ± 4.6 73.7 – 101.6 77.9 ± 2.0 406.5 ± 23.9 💚 -1.9 (-2.4%)
neqo-neqo-newreno 78.2 ± 2.0 72.8 – 84.8 78.2 ± 2.0 409.0 ± 10.5 +0.1 (+0.1%)
neqo-neqo-newreno-nopacing ⚠️ 78.6 ± 3.8 73.1 – 104.6 78.1 ± 2.4 407.0 ± 19.5 💚 -1.2 (-1.5%)
neqo-quiche-cubic 193.8 ± 2.3 187.2 – 199.5 193.3 ± 1.1 165.1 ± 2.0 -0.2 (-0.1%)
neqo-s2n-cubic 216.4 ± 1.4 213.0 – 221.6 216.2 ± 0.7 147.9 ± 1.0 -1.0 (-0.5%)
quiche-neqo-cubic 137.1 ± 1.9 132.1 – 144.6 136.8 ± 0.9 233.4 ± 3.2 +0.1 (+0.1%)
quiche-quiche 135.0 ± 2.5 128.5 – 142.4 135.3 ± 2.0 237.0 ± 4.4
s2n-neqo-cubic 218.8 ± 2.2 212.2 – 227.5 218.3 ± 1.6 146.3 ± 1.5 -0.0 (-0.0%)
s2n-s2n ⚠️ 295.0 ± 25.1 282.2 – 389.3 287.9 ± 3.1 108.5 ± 9.2

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

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Benchmark results

Significant performance differences relative to 30f8b8d.

streams-flow-controlled/walltime/1-streams/each-4194304-bytes: 💚 Performance has improved by -4.0976%.
       time:   [25.118 ms 25.152 ms 25.187 ms]
       thrpt:  [158.81 MiB/s 159.03 MiB/s 159.25 MiB/s]
change:
       time:   [-4.2726% -4.0976% -3.9223] (p = 0.00 < 0.05)
       thrpt:  [+4.0824% +4.2727% +4.4633]
       Performance has improved.
streams-flow-controlled/walltime/10-streams/each-1048576-bytes: 💚 Performance has improved by -5.4737%.
       time:   [68.405 ms 68.490 ms 68.578 ms]
       thrpt:  [145.82 MiB/s 146.01 MiB/s 146.19 MiB/s]
change:
       time:   [-5.6248% -5.4737% -5.3220] (p = 0.00 < 0.05)
       thrpt:  [+5.6212% +5.7907% +5.9600]
       Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
All results
streams/walltime/1-streams/each-1000-bytes: Change within noise threshold.
       time:   [541.82 µs 543.52 µs 545.55 µs]
       thrpt:  [1.7481 MiB/s 1.7546 MiB/s 1.7601 MiB/s]
change:
       time:   [-1.7219% -1.2153% -0.7040] (p = 0.00 < 0.05)
       thrpt:  [+0.7090% +1.2302% +1.7521]
       Change within noise threshold.
Found 10 outliers among 100 measurements (10.00%)
10 (10.00%) high severe
streams/walltime/1000-streams/each-1-bytes: Change within noise threshold.
       time:   [10.545 ms 10.560 ms 10.575 ms]
       thrpt:  [92.348 KiB/s 92.482 KiB/s 92.609 KiB/s]
change:
       time:   [-1.2873% -1.1002% -0.9003] (p = 0.00 < 0.05)
       thrpt:  [+0.9085% +1.1125% +1.3041]
       Change within noise threshold.
streams/walltime/1000-streams/each-1000-bytes: No change in performance detected.
       time:   [31.127 ms 31.163 ms 31.198 ms]
       thrpt:  [30.568 MiB/s 30.603 MiB/s 30.638 MiB/s]
change:
       time:   [-0.1743% -0.0229% +0.1321] (p = 0.77 > 0.05)
       thrpt:  [-0.1319% +0.0229% +0.1746]
       No change in performance detected.
streams-flow-controlled/walltime/1-streams/each-4194304-bytes: 💚 Performance has improved by -4.0976%.
       time:   [25.118 ms 25.152 ms 25.187 ms]
       thrpt:  [158.81 MiB/s 159.03 MiB/s 159.25 MiB/s]
change:
       time:   [-4.2726% -4.0976% -3.9223] (p = 0.00 < 0.05)
       thrpt:  [+4.0824% +4.2727% +4.4633]
       Performance has improved.
streams-flow-controlled/walltime/10-streams/each-1048576-bytes: 💚 Performance has improved by -5.4737%.
       time:   [68.405 ms 68.490 ms 68.578 ms]
       thrpt:  [145.82 MiB/s 146.01 MiB/s 146.19 MiB/s]
change:
       time:   [-5.6248% -5.4737% -5.3220] (p = 0.00 < 0.05)
       thrpt:  [+5.6212% +5.7907% +5.9600]
       Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
transfer/walltime/pacing-false/varying-seeds: Change within noise threshold.
       time:   [17.504 ms 17.516 ms 17.528 ms]
       thrpt:  [228.21 MiB/s 228.36 MiB/s 228.52 MiB/s]
change:
       time:   [-2.7255% -2.6410% -2.5548] (p = 0.00 < 0.05)
       thrpt:  [+2.6217% +2.7127% +2.8018]
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
transfer/walltime/pacing-true/varying-seeds: Change within noise threshold.
       time:   [17.710 ms 17.720 ms 17.731 ms]
       thrpt:  [225.60 MiB/s 225.73 MiB/s 225.86 MiB/s]
change:
       time:   [-2.0017% -1.9228% -1.8436] (p = 0.00 < 0.05)
       thrpt:  [+1.8782% +1.9605% +2.0426]
       Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/walltime/pacing-false/same-seed: Change within noise threshold.
       time:   [17.299 ms 17.311 ms 17.323 ms]
       thrpt:  [230.91 MiB/s 231.07 MiB/s 231.23 MiB/s]
change:
       time:   [-2.5059% -2.4215% -2.3274] (p = 0.00 < 0.05)
       thrpt:  [+2.3828% +2.4816% +2.5703]
       Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high mild
transfer/walltime/pacing-true/same-seed: Change within noise threshold.
       time:   [17.704 ms 17.714 ms 17.725 ms]
       thrpt:  [225.67 MiB/s 225.81 MiB/s 225.94 MiB/s]
change:
       time:   [-2.0284% -1.9449% -1.8634] (p = 0.00 < 0.05)
       thrpt:  [+1.8988% +1.9835% +2.0704]
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) low mild
1 (1.00%) high mild

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

@larseggert

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #3948

@larseggert larseggert closed this Sep 9, 2026
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.

3 participants