Skip to content

Commit 403c50b

Browse files
mkitticlaude
andcommitted
style: Apply ruff format to benchmark file
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1dfd71d commit 403c50b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tests/benchmarks/test_indexing.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def read_with_cache_clear() -> None:
108108
large_morton_shards = (
109109
(32,) * 3, # With 1x1x1 chunks: 32x32x32 = 32768 chunks per shard (power-of-2)
110110
(30,) * 3, # With 1x1x1 chunks: 30x30x30 = 27000 chunks per shard (non-power-of-2)
111-
(33,) * 3, # With 1x1x1 chunks: 33x33x33 = 35937 chunks per shard (near-miss: just above power-of-2)
111+
(33,)
112+
* 3, # With 1x1x1 chunks: 33x33x33 = 35937 chunks per shard (near-miss: just above power-of-2)
112113
)
113114

114115

@@ -199,13 +200,13 @@ def read_with_cache_clear() -> None:
199200

200201
# Benchmark for morton_order_iter directly (no I/O)
201202
morton_iter_shapes = (
202-
(8, 8, 8), # 512 elements (power-of-2)
203-
(10, 10, 10), # 1000 elements (non-power-of-2)
204-
(16, 16, 16), # 4096 elements (power-of-2)
205-
(20, 20, 20), # 8000 elements (non-power-of-2)
206-
(32, 32, 32), # 32768 elements (power-of-2)
207-
(30, 30, 30), # 27000 elements (non-power-of-2)
208-
(33, 33, 33), # 35937 elements (near-miss: just above power-of-2, n_z=262144)
203+
(8, 8, 8), # 512 elements (power-of-2)
204+
(10, 10, 10), # 1000 elements (non-power-of-2)
205+
(16, 16, 16), # 4096 elements (power-of-2)
206+
(20, 20, 20), # 8000 elements (non-power-of-2)
207+
(32, 32, 32), # 32768 elements (power-of-2)
208+
(30, 30, 30), # 27000 elements (non-power-of-2)
209+
(33, 33, 33), # 35937 elements (near-miss: just above power-of-2, n_z=262144)
209210
)
210211

211212

0 commit comments

Comments
 (0)