We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f23ee85 commit cba42f3Copy full SHA for cba42f3
tests/test_group.py
@@ -1508,7 +1508,11 @@ def test_group_members_performance(store: MemoryStore) -> None:
1508
group_read = zarr.group(store=latency_store)
1509
1510
# check how long it takes to iterate over the groups
1511
+ # if .members is sensitive to IO latency,
1512
+ # this should take (num_groups * get_latency) seconds
1513
+ # otherwise, it should take only marginally more than get_latency seconds
1514
start = time.time()
1515
_ = group_read.members()
1516
elapsed = time.time() - start
1517
+
1518
assert elapsed < (1.1 * get_latency) + 0.001
0 commit comments