Avatar for the zarr-developers user
zarr-developers
cast-value.py
BlogDocsChangelog

fix: handle error in nearest-away rounding mode

#10Merged
Comparing
d-v-b:chore/numpy-correctness
(
f446386
) with
main
(
ea80ed4
)
CodSpeed Performance Gauge
0%
Untouched
48

Benchmarks

48 total
test_float64_to_int32_clamp[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+1%
179.4 µs178.4 µs
test_float_to_float_narrow[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+1%
144.3 µs143.5 µs
test_int_to_float_widen[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
78.2 µs77.8 µs
test_float64_to_uint8_clamp[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
44.4 ms44.3 ms
test_float64_to_int32_clamp[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
46 ms45.9 ms
test_scalar_map_numpy[1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
54.8 ms54.7 ms
test_int_to_int_clamp[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
test_int_to_float_widen[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
12.8 ms12.8 ms
test_float_to_float_narrow[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_float_to_float_towards_zero[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
21.9 ms21.9 ms
test_float64_to_uint8_clamp[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
181.2 µs181.2 µs
test_float_to_float_narrow[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
10.5 ms10.5 ms
test_float_to_float_towards_zero[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
176.2 ms176.2 ms
test_int_to_float_widen[numpy-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
5.5 ms5.5 ms
test_scalar_map_rs[1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
28.5 ms28.5 ms
test_float_to_int_round[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
164.2 µs164.2 µs
test_float64_to_uint8_clamp[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
449.8 µs449.8 µs
test_float_to_float_towards_zero[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
208.4 µs208.5 µs
test_float64_to_int32_clamp[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_int_to_int_clamp[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_float_to_int_round[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
10.9 ms10.9 ms
test_float_to_int_round[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
425 µs425.1 µs
test_float64_to_int32_clamp[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
471.5 µs471.6 µs
test_float64_to_uint8_clamp[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
5.7 ms5.7 ms
test_scalar_map_rs[10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
362.5 µs362.7 µs

Commits

Click on a commit to change the comparison range
Base
main
ea80ed4
-0.2%
fix: handle error in nearest-away rounding mode
f446386
24 days ago
by d-v-b
© 2026 CodSpeed Technology
Home Terms Privacy Docs