Skip to content

Dispatch structural kernels by physical width - #10841

Merged
connortsui20 merged 4 commits into
developfrom
ct/physical-width-dispatch
Oct 27, 2026
Merged

connortsui20 merged 4 commits into
developfrom
ct/physical-width-dispatch

Fix primitive interleave regression from byte records

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

3 benchmarks regressed

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 3 benchmarks

These benchmarks measured no execution time, so their results are not comparable and count as unchanged. This usually happens when the compiler removes the code under test.

Prevent compiler optimizations

See affected benchmarks

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

⚡ 15 improved benchmarks
❌ 3 regressed benchmarks
✅ 2421 untouched benchmarks
⏩ 116 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ CPU Simulation chunked_dict_primitive_canonical_into[f64, (1000, 1000, 10)] 141 µs 202.1 µs -30.23%
❌ CPU Simulation missing_stats[16] 70.4 µs 89.5 µs -21.33%
❌ CPU Simulation test_scan_scalar_at[int_str_float] 1.1 ms 1.3 ms -10.96%
⚡ CPU Simulation bench_compare_varbin[(10000, 128)] 99.8 µs 65.6 µs +52.23%
⚡ CPU Simulation bench_compare_varbin[(50000, 8)] 165.3 µs 135.4 µs +22.08%
⚡ CPU Simulation bench_compare_varbin[(50000, 4)] 164.2 µs 134.5 µs +22.08%
⚡ CPU Simulation bench_compare_varbin[(50000, 32)] 165.5 µs 135.7 µs +21.94%
⚡ CPU Simulation bench_compare_varbin[(50000, 128)] 167.5 µs 137.6 µs +21.69%
⚡ CPU Simulation take_filter_primitive_small_uncached_random_mask_random_indices[4096, 10] 23.4 µs 19.5 µs +20.05%
⚡ CPU Simulation bench_compare_sliced_dict_varbinview[(7500, 10000)] 230.2 µs 194.1 µs +18.62%
⚡ CPU Simulation bench_compare_varbin[(50000, 512)] 216.9 µs 187 µs +15.97%
⚡ CPU Simulation bench_compare_sliced_dict_varbinview[(10000, 10000)] 236.5 µs 208.2 µs +13.57%
⚡ CPU Simulation bench_compare_sliced_dict_varbinview[(1000, 10000)] 92.4 µs 81.5 µs +13.43%
⚡ CPU Simulation random_i8[0.01] 114.8 µs 101.8 µs +12.75%
⚡ CPU Simulation fsl_i32[16, 0.01] 17.6 µs 15.7 µs +11.92%
⚡ CPU Simulation primitive_mixed_constants[round_robin/n2/null] 344.1 µs 311.2 µs +10.58%
⚡ CPU Simulation bench_compare_sliced_dict_primitive[(2000, 10000)] 75.3 µs 68.2 µs +10.41%
⚡ CPU Simulation primitive_mixed_constants[round_robin/n2/nonnull] 362.8 µs 329.6 µs +10.1%

Tip

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


Comparing ct/physical-width-dispatch (f0517af) with develop (fb4a037)

Open in CodSpeed

Footnotes

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