Skip to content

Execute tensor L2 norm with RowFn - #9347

Draft
connortsui20 wants to merge 6 commits into
ct/row-fn-primitive-comparisonsfrom
ct/row-fn-tensor-l2
Draft

Execute tensor L2 norm with RowFn#9347
connortsui20 wants to merge 6 commits into
ct/row-fn-primitive-comparisonsfrom
ct/row-fn-tensor-l2

Opt tensor rows into null-tolerant decoding

6c84e6e
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Aug 13, 2026

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.

⚡ 28 improved benchmarks
❌ 4 regressed benchmarks
✅ 1998 untouched benchmarks
🆕 6 new benchmarks
⏩ 89 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation column_x_column[256] 143.7 µs 179.9 µs -20.11%
Simulation cold_misaligned[(64, 256)] 4.4 ms 5.3 ms -17.14%
Simulation column_x_column[32] 159.1 µs 191.5 µs -16.92%
Simulation encode_varbinview[(10000, 2)] 2.1 ms 2.3 ms -10.96%
Simulation compare_u8_constant 890.3 µs 282 µs ×3.2
Simulation compare_i32_constant 1,184.1 µs 516.3 µs ×2.3
Simulation case_when_nary_10_conditions[10000] 1,987.7 µs 998.8 µs +99.01%
Simulation case_when_all_false[100000] 2.1 ms 1.1 ms +90.3%
Simulation case_when_all_true[100000] 2.1 ms 1.1 ms +89.84%
Simulation case_when_simple[100000] 2.3 ms 1.3 ms +80.39%
Simulation case_when_nary_equality_lookup[10000] 1,147.7 µs 644.8 µs +78%
Simulation case_when_without_else[100000] 2.4 ms 1.3 ms +75.7%
Simulation case_when_nary_3_conditions[10000] 766.6 µs 462.9 µs +65.59%
Simulation case_when_nary_early_dominant[10000] 763.7 µs 463.1 µs +64.91%
Simulation non_nullable[2] 691 µs 473.8 µs +45.84%
Simulation nullable[2] 682.2 µs 478 µs +42.74%
Simulation case_when_all_false[10000] 343.5 µs 242.7 µs +41.54%
Simulation case_when_all_true[10000] 346.9 µs 247.4 µs +40.24%
Simulation case_when_simple[10000] 373 µs 272.1 µs +37.07%
Simulation case_when_without_else[10000] 391.6 µs 291.6 µs +34.3%
... ... ... ... ... ...

ℹ️ 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/row-fn-tensor-l2 (6c84e6e) with ct/row-fn-primitive-comparisons (8c215b8)

Open in CodSpeed

Footnotes

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