Skip to content

Add vector search benchmarks to benchmarking suite#7399

Draft
connortsui20 wants to merge 3 commits intodevelopfrom
ct/vector-bench
Draft

Add vector search benchmarks to benchmarking suite#7399
connortsui20 wants to merge 3 commits intodevelopfrom
ct/vector-bench

Conversation

@connortsui20
Copy link
Copy Markdown
Contributor

Summary

Tracking issue: #7297

Adds a vector-search-bench crate similar to VectorDBBench.

The benchmark brute-forces cosine similarity search over public VectorDBBench datasets (Cohere, OpenAI, etc).

Since Vortex is not a database, we do not measure things like vector inserts and deletes. instead we just measure storage size and throughput for four targets:

  • Hand-rolled Rust baseline over &[f32]
  • Uncompressed (canonical) Vortex
  • Default compressed (which ends up being ALPrd)
  • TurboQuant (plus Recall@10 for the lossy TurboQuant path).

Every variant goes through a correctness check against the uncompressed scan before timing.

Not sure if this makes sense to have on a PR benchmark yet since this can only happen on a very specific array tree that will have a very specific optimized implementation.

Testing

N/A

connortsui20 and others added 2 commits April 11, 2026 18:28
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant