Avatar for the zarr-developers user
zarr-developers
zarr-python
BlogDocsChangelog

refactor: simplify internal chunk representation

#3899Merged
Comparing
d-v-b:refactor/simplify-internal-chunk-representation
(
aff9cb5
) with
main
(
021662c
)
CodSpeed Performance Gauge
+3%
Untouched
66
Skipped
6

Benchmarks

72 total
test_sharded_morton_single_chunk[(33, 33, 33)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+10%
2.1 ms1.9 ms
test_read_array[memory-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+5%
6 s5.7 s
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+5%
650.8 ms620.8 ms
test_sharded_morton_write_single_chunk[(32, 32, 32)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+5%
200.6 ms191.6 ms
test_slice_indexing[None-(0, 0, 0)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+4%
868.4 µs833.7 µs
test_write_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
1.7 s1.7 s
test_slice_indexing[(50, 50, 50)-(slice(None, None, None), slice(0, 3, 2), slice(0, 10, None))-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+4%
7.4 ms7.1 ms
test_write_array[memory-Layout(shape=(1000000,), chunks=(1000,), shards=None)-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
1.1 s1.1 s
test_slice_indexing[(50, 50, 50)-(0, 0, 0)-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+4%
4.2 ms4 ms
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+4%
957.5 ms921.7 ms
test_slice_indexing[(50, 50, 50)-(0, 0, 0)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+4%
1.8 ms1.8 ms
test_slice_indexing[None-(slice(None, 10, None), slice(None, 10, None), slice(None, 10, None))-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
882.8 µs853.4 µs
test_write_array[memory-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
1.9 s1.8 s
test_read_array[local-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
5.9 s5.7 s
test_sharded_morton_write_single_chunk[(30, 30, 30)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
165.1 ms159.8 ms
test_sharded_morton_single_chunk[(32, 32, 32)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
2 ms1.9 ms
test_write_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
2.5 s2.4 s
test_write_array[memory-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
10.3 s10 s
test_read_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=(1000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
1.8 s1.7 s
test_slice_indexing[(50, 50, 50)-(slice(None, None, None), slice(0, 3, 2), slice(0, 10, None))-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
6.5 ms6.3 ms
test_write_array[local-Layout(shape=(1000000,), chunks=(100,), shards=(1000000,))-gzip]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
10.2 s9.9 s
test_sharded_morton_write_single_chunk[(33, 33, 33)-memory]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
218.3 ms212.1 ms
test_slice_indexing[None-(0, 0, 0)-memory_get_latency]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
2 ms1.9 ms
test_morton_order_iter[(8, 8, 8)]
tests/benchmarks/test_indexing.py
CodSpeed Performance Gauge
+3%
2.8 ms2.7 ms
test_write_array[local-Layout(shape=(1000000,), chunks=(1000,), shards=None)-None]
tests/benchmarks/test_e2e.py
CodSpeed Performance Gauge
+3%
1.2 s1.2 s

Commits

Click on a commit to change the comparison range
Base
main
021662c
-1.42%
refactor: rename ResolvedChunking to ChunkLayout
4bc4678
26 days ago
by d-v-b
+4.15%
chore: cleanup
aff9cb5
9 days ago
by d-v-b
© 2026 CodSpeed Technology
Home Terms Privacy Docs