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

perf: Optimize Morton order with hypercube and vectorization

#3708Merged
Comparing
mkitti:mkitti-morton-decode-optimization
(
4a342c9
) with
main
(
36caf1f
)
CodSpeed Performance Gauge
×7.1
Improvement
4
Untouched
52
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
36caf1f
+0.76%
fix:Address type annotation and linting issues
ef18210
2 months ago
by mkitti
-0.5%
test: Add Morton order benchmarks with cache clearing
443b5d4
2 months ago
by mkitti
+0.59%
fix:Bound LRU cache of _morton_order to 16
1cdcbdf
2 months ago
by mkitti
-2.47%
Merge branch 'main' into mkitti-morton-decode-optimization
536f520
2 months ago
by d-v-b
+3.62%
Merge branch 'main' into mkitti-morton-decode-optimization
65205b3
2 months ago
by d-v-b
-1.69%
tests:Add single chunk write test for sharding
a666211
2 months ago
by mkitti
×7.2
Merge branch 'main' into mkitti-morton-decode-optimization
38d2e04
2 months ago
by d-v-b
-4.91%
Update 3708.misc.md
4a342c9
2 months ago
by mkitti
© 2026 CodSpeed Technology
Home Terms Privacy Docs