Skip to content

feat: specialize primitive sums for constant and run-end arrays - #9821

Closed
connortsui20 wants to merge 1 commit into
developfrom
ct/constant-runend-sum
Closed

feat: specialize primitive sums for constant and run-end arrays#9821
connortsui20 wants to merge 1 commit into
developfrom
ct/constant-runend-sum

feat: specialize primitive sums for constant and run-end arrays

ae99ee8
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Sep 9, 2026

2 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

⚡ 3 improved benchmarks
❌ 2 regressed benchmarks
✅ 2188 untouched benchmarks
🆕 38 new benchmarks
⏩ 218 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation random_i16[0.8] 75.5 µs 93.9 µs -19.65%
WallTime mul_u32_nonnull_avx512 5.5 µs 6.3 µs -11.32%
Simulation random_i8[0.5] 91.4 µs 68.1 µs +34.17%
WallTime dict_canonicalize_gt_u8_neon[1000000] 567.1 µs 486.8 µs +16.5%
WallTime dict_canonicalize_gt_u8_neon[16000000] 9.3 ms 8 ms +15.7%
🆕 Simulation grouped_constant_fallback[1] N/A 161.6 ms N/A
🆕 Simulation grouped_constant_fallback[128] N/A 1.4 ms N/A
🆕 Simulation grouped_constant_fallback[2] N/A 81 ms N/A
🆕 Simulation grouped_constant_fallback[8] N/A 20.3 ms N/A
🆕 Simulation grouped_constant[1] N/A 13 ms N/A
🆕 Simulation grouped_constant[128] N/A 211.8 µs N/A
🆕 Simulation grouped_constant[2] N/A 6.5 ms N/A
🆕 Simulation grouped_constant[8] N/A 1.7 ms N/A
🆕 Simulation grouped_runend_fallback[1, 1024] N/A 5.2 ms N/A
🆕 Simulation grouped_runend_fallback[1, 4] N/A 5.8 ms N/A
🆕 Simulation grouped_runend_fallback[1, 64] N/A 5.2 ms N/A
🆕 Simulation grouped_runend_fallback[128, 1024] N/A 282.5 µs N/A
🆕 Simulation grouped_runend_fallback[128, 4] N/A 853.8 µs N/A
🆕 Simulation grouped_runend_fallback[128, 64] N/A 288.8 µs N/A
🆕 Simulation grouped_runend_fallback[2, 1024] N/A 2.7 ms N/A
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

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


Comparing ct/constant-runend-sum (ae99ee8) with develop (e3b8eb2)

Open in CodSpeed

Footnotes

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