perf: speed up TryFrom<Scalar> for Primitive #7223
+8
−2
Merged
CodSpeed HQ / CodSpeed Performance Analysis
failed
Mar 31, 2026 in 0s
Performance Regression: -15.41%
⚡ 4 improved benchmarks
❌ 1 regressed benchmark
✅ 1101 untouched benchmarks
⏩ 1522 skipped benchmarks1
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | chunked_bool_canonical_into[(1000, 10)] |
71.6 µs | 84.7 µs | -15.41% |
| ⚡ | Simulation | chunked_constant_i32_append_to_builder[(10, 1000)] |
366.1 µs | 294.2 µs | +24.45% |
| ⚡ | Simulation | chunked_constant_i32_append_to_builder[(100, 100)] |
64.1 µs | 56.2 µs | +14.05% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[1024] |
535.6 ns | 477.2 ns | +12.22% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[128] |
376.1 ns | 317.8 ns | +18.36% |
Comparing ji/speed-up-from-scalar (8fa8320) with develop (5ce08ed)
Footnotes
-
1522 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. ↩
Loading