Skip to content

Compare timestamp parts without evaluating each comparison twice - #10684

Merged
robert3005 merged 2 commits into
developfrom
rk/datetime-parts-compare
Oct 23, 2026
Merged

robert3005 merged 2 commits into
developfrom
rk/datetime-parts-compare

Count matching rows on bit buffers without building a mask

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

5 benchmarks regressed

3 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

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

⚡ 6 improved benchmarks
❌ 5 regressed benchmarks
✅ 2397 untouched benchmarks
⏩ 12 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ CPU Simulation decode_primitives[i64, (1000, 8)] 24 µs 37.7 µs -36.22%
❌ CPU Simulation test_scan_filter_to_arrow_array[int_float] 3.5 ms 4.1 ms -13.65%
❌ CPU Simulation test_repeated_scan_filter[int_float] 3.4 ms 3.9 ms -11.02%
❌ CPU Simulation test_repeated_scan_filter[int] 2.4 ms 2.7 ms -10.32%
❌ CPU Simulation test_scan_filter_to_arrow_array[int] 2.5 ms 2.8 ms -10.07%
⚡ CPU Simulation bench_compare_sliced_dict_primitive[(2000, 10000)] 68.9 µs 14.3 µs ×4.8
⚡ CPU Simulation density_sweep_dense_runs[0.001] 61.9 µs 44.2 µs +40.04%
⚡ CPU Simulation take[routing/alternating_chunks/primitive/nonnull/chunks=32/indices=1000] 247.1 µs 196.7 µs +25.61%
⚡ Walltime random_rotating_avx512[(0.9, 0.9, "self_90pct_mask_90pct")] 9.6 µs 8.3 µs +15.64%
⚡ Walltime bitpack_blocked_compress_avx2 7.6 µs 6.8 µs +12.37%
⚡ Walltime random_rotating_avx512[(0.5, 0.5, "self_50pct_mask_50pct")] 9.2 µs 8.3 µs +11.25%

Tip

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


Comparing rk/datetime-parts-compare (d3bd237) with develop (6f7091d)

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