zarr-developers
zarr-python
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: Vectorize get_chunk_slice for faster sharded writes
#3713
Comparing
mkitti:mkitti-get-chunk-slice-vectorization
(
157d283
) with
main
(
36caf1f
)
CodSpeed Performance Gauge
×7.2
Improvement
4
Untouched
52
Skipped
6
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
62 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_morton_order_iter[(32, 32, 32)]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
×7.2
502.6 ms
70.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_morton_order_iter[(16, 16, 16)]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
×6.9
56.2 ms
8.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_sharded_morton_write_single_chunk[(32, 32, 32)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
×5.8
953.3 ms
164.4 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_morton_order_iter[(8, 8, 8)]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
×5.5
6.2 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
1.7 s
1.6 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[memory-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
5.5 s
5.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[local-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
5.5 s
5.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
1.4 s
1.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[memory-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
9.7 s
9.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
1.2 s
1.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[memory-Layout(shape=(1000000,), chunks=(1000,), shards=None)-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
282 ms
275.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(slice(None, None, None), slice(None, None, None), slice(None, None, None))-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
384 ms
376.4 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(0, 0, 0)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
860.1 µs
843.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[local-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
9.7 s
9.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(slice(None, None, None), slice(None, None, None), slice(None, None, None))-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
436.1 ms
428.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(slice(10, -10, 4), slice(10, -10, 4), slice(10, -10, 4))-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
236.7 ms
232.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_sharded_morton_indexing_large[(32, 32, 32)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
9.5 s
9.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_write_array[memory-Layout(shape=(1000000,), chunks=(1000,), shards=None)-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
561.6 ms
552.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(slice(10, -10, 4), slice(10, -10, 4), slice(10, -10, 4))-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
208.1 ms
204.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
1.8 s
1.7 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_slice_indexing[None-(slice(0, None, 4), slice(0, None, 4), slice(0, None, 4))-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
433.5 ms
426.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[local-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+2%
2.9 s
2.9 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_sharded_morton_indexing[(32, 32, 32)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+2%
1.2 s
1.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[memory-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+1%
987.7 ms
973.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+1%
943.1 ms
929.6 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
36caf1f
×7.2
Merge branch 'main' into mkitti-get-chunk-slice-vectorization
157d283
12 hours ago
by d-v-b
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs