vortex
vortex copied to clipboard
[do not merge] Move is_constant to ArrayOperations
Fixes #3274
CodSpeed Performance Report
Merging #3292 will degrade performances by 29.53%
Comparing ngates/is-constant-op (b92d250) with develop (14231fb)
Summary
⚡ 7 improvements
❌ 4 regressions
✅ 782 untouched benchmarks
:warning: Please fix the performance issues or acknowledge them on CodSpeed.
Benchmarks breakdown
| Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|
| ❌ | canonical_into_non_nullable[(10000, 100, 0.0)] |
1.9 ms | 2.7 ms | -29.53% |
| ❌ | canonical_into_non_nullable[(10000, 100, 0.01)] |
2.1 ms | 2.9 ms | -27.67% |
| ⚡ | canonical_into_nullable[(10000, 1, 0.0)] |
55.2 µs | 44.2 µs | +25.03% |
| ❌ | into_canonical_non_nullable[(10000, 100, 0.0)] |
1.9 ms | 2.7 ms | -29.26% |
| ❌ | into_canonical_non_nullable[(10000, 100, 0.01)] |
2.1 ms | 2.9 ms | -27.3% |
| ⚡ | new_bp_prim_test_between[i64, 32768] |
218.8 µs | 154.6 µs | +41.55% |
| ⚡ | old_bp_prim_test_between[i64, 16384] |
199 µs | 152 µs | +30.99% |
| ⚡ | old_bp_prim_test_between[i64, 32768] |
294.3 µs | 227.9 µs | +29.15% |
| ⚡ | chunked_bool_into_canonical[(1000, 10)] |
48.2 µs | 20.8 µs | ×2.3 |
| ⚡ | chunked_opt_bool_canonical_into[(100, 100)] |
231.6 µs | 181 µs | +27.99% |
| ⚡ | chunked_opt_bool_into_canonical[(100, 100)] |
232.4 µs | 182.2 µs | +27.59% |