Skip to content

Commit 6b3ae9f

Browse files
committed
add unset zarr_urls to benchmark
1 parent c06de5d commit 6b3ae9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/db_performance/bench_perf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ def get_zarr_urls(db: Session, dataset_id: int, wftask_id: int):
2727

2828

2929
def create_fake_images_from_urls(zarr_urls: list[str]) -> list[dict]:
30+
zarr_urls_unset = [f"{zarr_url}-unset" for zarr_url in zarr_urls]
3031
return [
3132
{
3233
"zarr_url": zarr_url,
3334
"attributes": {},
3435
"types": {},
3536
"origin": None,
3637
}
37-
for zarr_url in zarr_urls
38+
for zarr_url in (zarr_urls + zarr_urls_unset)
3839
]
3940

4041

0 commit comments

Comments
 (0)