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

fix: unbreak examples

#9Merged
Comparing
d-v-b:fix/unbreak-examples
(
41e85a7
) with
main
(
1af0e3b
)
CodSpeed Performance Gauge
×2.3
Improvement
4
Untouched
44

Benchmarks

48 total
test_float_to_int_round[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
×2.3
24.7 ms10.9 ms
test_float_to_int_round[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+79%
325.1 µs181.6 µs
test_float_to_float_narrow[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+32%
13.9 ms10.5 ms
test_float_to_float_narrow[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+27%
214.4 µs169.5 µs
test_float_to_float_narrow[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+7%
82.9 µs77.7 µs
test_scalar_map_rs[100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+5%
89.7 µs85.5 µs
test_int_to_float_widen[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+5%
81.9 µs78.3 µs
test_float_to_int_round[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+5%
84.9 µs81.2 µs
test_float64_to_int32_clamp[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+5%
84 µs80.4 µs
test_float64_to_uint8_clamp[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+4%
83.8 µs80.2 µs
test_float_to_float_towards_zero[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+3%
84.7 µs82.1 µs
test_int_to_int_clamp[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+3%
118.3 µs115.1 µs
test_int_to_int_clamp[rs-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+2%
89.3 µs87.1 µs
test_float64_to_int32_clamp[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+2%
182.3 µs178.4 µs
test_scalar_map_rs[10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+2%
368.7 µs361.3 µs
test_int_to_float_widen[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+2%
186.1 µs183.3 µs
test_float64_to_uint8_clamp[rs-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+1%
141.1 µs139.1 µs
test_scalar_map_rs[1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+1%
28.9 ms28.5 ms
test_float_to_float_narrow[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
+1%
143.6 µs142.8 µs
test_int_to_int_clamp[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
185.3 µs184.9 µs
test_float_to_float_narrow[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
80.3 µs80.2 µs
test_float_to_float_towards_zero[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
209.1 µs208.7 µs
test_int_to_float_widen[numpy-100]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
79.1 µs79 µs
test_int_to_float_widen[numpy-10k]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
133.7 µs133.4 µs
test_int_to_int_clamp[rs-1M]
tests/benchmark/test_cast_perf.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms

Commits

Click on a commit to change the comparison range
Base
main
1af0e3b
×2.3
fix: make examples runnable
702b5a0
24 days ago
by d-v-b
0%
chore: lint
2a19fdf
24 days ago
by d-v-b
-0.03%
test: reinstall package in example tests
41e85a7
24 days ago
by d-v-b
© 2026 CodSpeed Technology
Home Terms Privacy Docs