Overview of GDS benchmarking example scripts
mainThis directory contains scripts for benchmarking reads of uncompressed TIFF images using CPU-based tools (openslide-python, tifffile) versus accelerated reads using kvikio with GPUDirect Storage (GDS) enabled or disabled.
Available Scripts:
benchmark_read.py: Benchmarks reads of a full image at a specific resolution level from an uncompressed multi-resolution TIFF.benchmark_round_trip.py: Benchmarks reading from uncompressed TIFF while writing to an uncompressed Zarr file (matching tile size).benchmark_zarr_write.py: Benchmarks writing a CuPy array to an uncompressed Zarr file with a specified chunk size.benchmark_zarr_write_lz4_via_dask.py: Uses Dask andkvikio.zarr.GDSStoreto write LZ4 lossless compressed Zarr arrays.lz4_nvcomp.py: An LZ4 compressor designed for use withkvikio.zarr.GDSStore.demo_implementation.py: Contains the tiled read/write implementations used by the benchmark scripts.