Benchmarking and evaluation concepts
These are the topics in this section, each on its own page with a stable path you can bookmark or share.
What topics are covered in this section?
- What is queries per second (QPS)?
- What is a latency percentile (p50/p95/p99)?
- What are distance computations per query?
- What is build time, in benchmarking?
- What is peak build RAM?
- What is update throughput?
- What is energy per query?
- What is the difference between a cold cache and a warm cache?
- What is the difference between a singleton query and a batch query?
- What is a confidence interval in benchmarking?
- What is a reproducibility manifest?
- What is ground-truth computation?
- What is a Pareto frontier for recall versus latency?
- What is a benchmark operating point?
- What is a cherry-picked benchmark result?
- What is a recall-versus-latency trade-off curve?
- What is thread-count scaling?
- What is hardware-environment reporting?
- What is insertion-order reporting?
- What is seed reporting?
Benchmarking and evaluation concepts define honest measurement: QPS, latency percentiles, distance computations, build cost, energy, cache warmth, reproducibility, and Pareto trade-offs.
What separates a trustworthy ANN benchmark from a misleading one?
Report recall with latency (p50/p95/p99) and QPS at stated thread counts, plus distance computations per query when comparing algorithms. Build time, peak build RAM, and update throughput matter for lifecycle cost. Cold versus warm caches and singleton versus batch queries change results dramatically. Confidence intervals, reproducibility manifests, ground-truth computation, seed and insertion-order reporting, and hardware-environment disclosure keep comparisons fair. Cherry-picked operating points and missing Pareto frontiers are common failure modes of marketing benches.
Part VIII exists to institutionalize these habits.
How should you benchmark Weaviate?
Use Weaviate’s ANN benchmark guidance and your own golden queries: fix dataset, metric, concurrency, and cache policy; sweep ef and compression; record percentiles and recall together. Energy per query belongs when power or carbon matters. Do not compare a warm in-process microbench to a cold end-to-end HTTP path without labeling both.
Evaluation vocabulary also supports tuning and capacity planning.
What to read next?
Open QPS, latency percentiles, Pareto frontier, reproducibility manifest, and cold-versus-warm cache pages, then Part VIII. For datasets, continue into the benchmark-suites hub.
This section is how we keep score. Next, read Part VIII’s methodology chapter or “What is a Pareto frontier for recall versus latency?”, then apply the same discipline to your Weaviate configs.