-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
28 lines (21 loc) · 997 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
setup:
uv venv --python 3.12
uv pip install -r requirements.txt
uv pip install git+https://github.com/ilan-gold/zarrs-python.git@ld/chunk_codec_concurrency
# uv pip install --upgrade --force-reinstall ../zarrs-python
cargo binstall [email protected]
binstall:
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
generate_data:
uv run scripts/generate_benchmark_array.py data/benchmark.zarr
uv run scripts/generate_benchmark_array.py --compress data/benchmark_compress.zarr
uv run scripts/generate_benchmark_array.py --compress --shard data/benchmark_compress_shard.zarr
benchmark_read_all:
uv run scripts/run_benchmark_read_all.py
benchmark_read_chunks:
uv run scripts/run_benchmark_read_chunks.py
benchmark_roundtrip:
uv run scripts/run_benchmark_roundtrip.py
plot:
uv run scripts/plot_benchmarks.py
benchmark_all: benchmark_read_all benchmark_read_chunks benchmark_roundtrip