Skip to content

perf: fuse bitpacked chunk encoding - #9944

Draft
mhk197 wants to merge 1 commit into
mk/bitpacked-stack-07-width-selectionfrom
mk/bitpacked-stack-08-fused-encoder
Draft

mhk197 wants to merge 1 commit into
mk/bitpacked-stack-07-width-selectionfrom
mk/bitpacked-stack-08-fused-encoder

perf: fuse bitpacked chunk encoding

ab1d8e1
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Sep 23, 2026

1 benchmark regressed

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

⚠️ 3 benchmarks measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.

Preventing compiler optimizations

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

⚡ 3 improved benchmarks
❌ 1 regressed benchmark
✅ 2228 untouched benchmarks
⏩ 329 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation take_fsl_u8_random[256, 100] 45.8 µs 98.6 µs -53.53%
⚡ Simulation take_fsl_f16_random[256, 100] 141.1 µs 85.4 µs +65.33%
⚡ Simulation take_chunked_fsl_sorted[32, 64] 252.3 µs 195.8 µs +28.84%
⚡ Simulation take_fsl_random[64, 100] 143.8 µs 124.9 µs +15.15%
⚠️ Simulation fixed_16_advancing_ptr_safe[100] < 1 ns < 1 ns N/A
⚠️ Simulation preverify_advancing_ptr_unchecked[1000] < 1 ns < 1 ns N/A
⚠️ Simulation preverify_advancing_ptr_unchecked[10000] < 1 ns < 1 ns N/A

Tip

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


Comparing mk/bitpacked-stack-08-fused-encoder (ab1d8e1) with mk/bitpacked-stack-07-width-selection (d5ffca3)

Open in CodSpeed

Footnotes

  1. 329 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩