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

perf: Optimize Morton order with hypercube and vectorization

#3708
Comparing
mkitti:mkitti-morton-decode-optimization
(
65205b3
) with
main
(
23596c1
)
CodSpeed Performance Gauge
+2%
Untouched
48
New
3
Skipped
6

Benchmarks

6 total
test_slice_indexing[(slice(None, 10, None), slice(None, 10, None), slice(None, 10, None))-memory]
tests/benchmarks/test_indexing.py
Skipped
913.6 µs*
test_slice_indexing[(slice(None, None, None), slice(0, 3, 2), slice(0, 10, None))-memory]
tests/benchmarks/test_indexing.py
Skipped
4.6 ms*
test_slice_indexing[(slice(0, None, 4), slice(0, None, 4), slice(0, None, 4))-memory]
tests/benchmarks/test_indexing.py
Skipped
495.1 ms*
test_slice_indexing[(slice(10, -10, 4), slice(10, -10, 4), slice(10, -10, 4))-memory]
tests/benchmarks/test_indexing.py
Skipped
271.4 ms*
test_slice_indexing[(slice(None, None, None), slice(None, None, None), slice(None, None, None))-memory]
tests/benchmarks/test_indexing.py
Skipped
499.4 ms*
test_slice_indexing[(0, 0, 0)-memory]
tests/benchmarks/test_indexing.py
Skipped
927.6 µs*

Commits

Click on a commit to change the comparison range
Base
main
23596c1
+0.76%
fix:Address type annotation and linting issues
ef18210
23 hours ago
by mkitti
-0.5%
test: Add Morton order benchmarks with cache clearing
443b5d4
18 hours ago
by mkitti
+0.59%
fix:Bound LRU cache of _morton_order to 16
1cdcbdf
18 hours ago
by mkitti
-2.47%
Merge branch 'main' into mkitti-morton-decode-optimization
536f520
18 hours ago
by d-v-b
+3.62%
Merge branch 'main' into mkitti-morton-decode-optimization
65205b3
16 hours ago
by d-v-b
© 2026 CodSpeed Technology
Home Terms Privacy Docs