Skip to content

bench: add bench-all.sh master script - #152

Merged
kacy merged 1 commit into
mainfrom
bench/bench-all-script
Feb 15, 2026
Merged

bench: add bench-all.sh master script#152
kacy merged 1 commit into
mainfrom
bench/bench-all-script

Conversation

@kacy

@kacy kacy commented Feb 15, 2026

Copy link
Copy Markdown
Owner

summary

  • new bench-all.sh that builds ember with all features and runs every benchmark script in sequence
  • auto-detects available features from Cargo.toml (vector, grpc, protobuf, encryption)
  • gracefully skips benchmarks whose dependencies aren't available (docker, memtier, protoc)
  • designed for dedicated VM runs (GCP c2-standard-8) after setup-vm.sh + setup-vm-vector.sh
  • lists results directory contents at the end

what was tested

  • verified feature detection logic against current ember-server/Cargo.toml
  • confirmed script handles missing dependencies gracefully (warns and continues)
  • reviewed ordering to ensure no port conflicts between sequential runs

sequential wrapper that builds ember with all available features and
runs every benchmark script in order:

1. compare-redis.sh (throughput via redis-benchmark)
2. bench-memtier.sh (throughput + latency via memtier)
3. bench-memory.sh --vector (memory per data type)
4. bench-encryption.sh (AES-256-GCM overhead)
5. bench-vector.sh --qdrant --ember-grpc (vector comparison)
6. bench-vector.sh --sift --qdrant (SIFT1M recall accuracy)
7. bench-grpc.sh (gRPC vs RESP3 standard ops)
8. bench-pubsub.sh (pub/sub throughput)
9. bench-proto.sh (protobuf storage overhead)

gracefully skips benchmarks whose dependencies aren't available
(docker, memtier, protoc) rather than failing hard.
@kacy
kacy merged commit a80b649 into main Feb 15, 2026
7 checks passed
@kacy
kacy deleted the bench/bench-all-script branch February 15, 2026 13:15
kacy added a commit that referenced this pull request Feb 19, 2026
sequential wrapper that builds ember with all available features and
runs every benchmark script in order:

1. compare-redis.sh (throughput via redis-benchmark)
2. bench-memtier.sh (throughput + latency via memtier)
3. bench-memory.sh --vector (memory per data type)
4. bench-encryption.sh (AES-256-GCM overhead)
5. bench-vector.sh --qdrant --ember-grpc (vector comparison)
6. bench-vector.sh --sift --qdrant (SIFT1M recall accuracy)
7. bench-grpc.sh (gRPC vs RESP3 standard ops)
8. bench-pubsub.sh (pub/sub throughput)
9. bench-proto.sh (protobuf storage overhead)

gracefully skips benchmarks whose dependencies aren't available
(docker, memtier, protoc) rather than failing hard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant