Skip to content

perf: specialize comparison bitmap packing for 8-bit inputs - #9948

Open
mhk197 wants to merge 4 commits into
developfrom
mk/primitive-compare-bitmap
Open

mhk197 wants to merge 4 commits into
developfrom
mk/primitive-compare-bitmap

test: focus bitmap comparison coverage on 8-bit inputs

c215b0e
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Sep 22, 2026 in 0s

4 benchmarks 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.

⚠️ 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
❌ 4 regressed benchmarks
✅ 2198 untouched benchmarks
⏩ 293 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime mul_u64_nonnull_neon 28.9 µs 40.4 µs -28.63%
Simulation take_fsl_u32_random[256, 10] 124.4 µs 157.9 µs -21.22%
WallTime mul_i64_nonnull_neon 32.9 µs 38.6 µs -14.97%
WallTime multiply_shapes_neon[(32768, PerRowPerRow)] 32.8 µs 38.4 µs -14.53%
WallTime compare_u8_avx2 3.5 µs 1.8 µs +95.03%
WallTime compare_u8_neon 3.9 µs 2.2 µs +77.02%
WallTime compare_u8_avx512 2.4 µs 1.7 µs +39.79%
Simulation take_fsl_u32_random[16, 100] 165.8 µs 124.3 µs +33.43%
Simulation take_fsl_nullable_random[16, 100] 187.7 µs 162.9 µs +15.25%
WallTime dict_canonicalize_gt_u8_neon[1000000] 547 µs 488.3 µs +12.03%

Tip

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


Comparing mk/primitive-compare-bitmap (c215b0e) with develop (c3ade49)2

Open in CodSpeed

Footnotes

  1. 293 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.

  2. No successful run was found on develop (ca2538d) during the generation of this report, so c3ade49 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.