Add inner product and cosine similarity optimizations #7364
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Apr 9, 2026 in 0s
Performance Gate Passed
⚡ 2 improved benchmarks
✅ 1120 untouched benchmarks
⏩ 1530 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | take_10k_random |
251.2 µs | 193.3 µs | +29.94% |
| ⚡ | Simulation | take_10k_contiguous |
315 µs | 257 µs | +22.57% |
Comparing ct/math-opt (79cb061) with develop (0b2a35e)2
Footnotes
-
1530 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. ↩
-
No successful run was found on
develop(ccc6590) during the generation of this report, so 0b2a35e was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
Loading