Skip to content

Speed up PolarSignals scans: spread filtered V2 splits and export primitive dictionaries natively - #10761

Draft
joseph-isaacs wants to merge 7 commits into
developfrom
ji/jolly-shannon-f0erx1
Draft

joseph-isaacs wants to merge 7 commits into
developfrom
ji/jolly-shannon-f0erx1

Skip the full min/max scan when sampled dictionary keys span a wide r…

a47ec03
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 23, 2026 in 0s

Performance Regression: -13.13%

4 warnings, 1 note

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ Unable to measure the execution of 1 benchmark

This benchmark measured no execution time, so its result is not comparable and counts as unchanged. This usually happens when the compiler removes the code under test.

Prevent compiler optimizations

See affected benchmarks

⚠️ 22 benchmarks are 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

⚠️ Base and head ran on different runner types

Some benchmarks with significant performance changes were compared across different runner types, so the changes might not come from the code. Run base and head on the same runner type, or use CodSpeed Macro Runners for more stable results.

Learn more about Macro Runners

Open the report in CodSpeed to investigate

ℹ️ 40 benchmarks have no flamegraph

The flamegraph wasn't generated: the symbols of the profiling trace could not be resolved, because no information about the language frames was collected.

See affected benchmarks

⚡ 2 improved benchmarks
❌ 7 regressed benchmarks
✅ 2399 untouched benchmarks
⏩ 12 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Walltime filter_neon[8] 893 ns 1,417 ns -36.98%
❌ CPU Simulation chunked_dict_primitive_canonical_into[f64, (1000, 1000, 10)] 151.9 µs 205.4 µs -26.05%
❌ Walltime filter_neon[64] 1.7 µs 2.2 µs -22.97%
❌ Walltime filter_neon[80] 2.6 µs 3.2 µs -17.9%
❌ Walltime threshold_neon[80] 3.5 µs 4.1 µs -14.96%
❌ CPU Simulation test_repeated_scan_scalar_at[int_float] 371.1 µs 430.8 µs -13.86%
❌ Walltime words_gather_dispatch_avx512[65536] 886 ns 989 ns -10.41%
⚡ CPU Simulation test_repeated_scan_scalar_at[int] 318.8 µs 247.8 µs +28.68%
⚡ Walltime bitpack_blocked_compress_avx2 7.6 µs 6.7 µs +13.22%

Tip

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


Comparing ji/jolly-shannon-f0erx1 (a47ec03) with develop (91b38f4)

Open in CodSpeed

Footnotes

  1. 12 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. ↩