-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathJustfile
More file actions
27 lines (24 loc) · 849 Bytes
/
Justfile
File metadata and controls
27 lines (24 loc) · 849 Bytes
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
# Start dev environment (Rust server + UI watcher)
dev port='9000':
#!/usr/bin/env bash
set -e
trap 'kill 0' EXIT
cd ui && bun run build -- --watch &
RUST_LOG=debug cargo watch -x 'run -- --data-dir ./data --port {{port}}' &
wait
# Run WARP benchmarks comparing MaxIO vs MinIO
bench duration='30s':
#!/usr/bin/env bash
set -e
echo "Building release binary..."
cargo build --release
./tests/bench.sh --duration={{duration}}
# Run a quick smoke benchmark (10s, small + mixed only)
bench-quick:
#!/usr/bin/env bash
set -e
cargo build --release
./tests/bench.sh --duration=10s --scenarios=put-small,get-small,mixed
# Run benchmark on a remote Linux server (cross-compiles + auto-downloads deps)
bench-remote host duration='30s':
./tests/bench-remote.sh {{host}} --duration={{duration}}