Skip to content

BufferMut::zeroed_aligned stores actually allocated length instead of passed length#7979

Merged
robert3005 merged 7 commits into
developfrom
rk/buffermut_check_overflow
May 18, 2026
Merged

BufferMut::zeroed_aligned stores actually allocated length instead of passed length#7979
robert3005 merged 7 commits into
developfrom
rk/buffermut_check_overflow

fewer

fa513af
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded May 18, 2026

Performance Gate Passed

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ 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

⚡ 4 improved benchmarks
✅ 1217 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_varbinview_canonical_into[(1000, 10)] 198 µs 162 µs +22.24%
Simulation chunked_varbinview_into_canonical[(100, 100)] 358.5 µs 323.5 µs +10.8%
Simulation chunked_varbinview_opt_canonical_into[(1000, 10)] 225.3 µs 188.6 µs +19.51%
Simulation chunked_varbinview_into_canonical[(1000, 10)] 211.3 µs 175.8 µs +20.17%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing rk/buffermut_check_overflow (fa513af) with develop (d25c33f)

Open in CodSpeed