Benchmarks
Five BEIR datasets, six embedded databases
Same documents, same 256-dim EmbeddingGemma 2 vectors, same queries, scored by the same harness with quality and latency timed on the exact same call. Hinny's hybrid search ranks first on all five datasets in 0.10–0.29 ms. Benchmark scripts on GitHub
Hybrid query latency
Median hybrid query latency across all five datasets (top 10): Hinny is 11–21× faster than LanceDB and up to ~1,000× faster than SQLite.
- 0.10 ms
- median vector search on FiQA at 0.99 recall@10
- 150–180k/s
- documents ingested from Python, searchable immediately (OS-buffered WAL)
Hybrid ranking
Hybrid nDCG@10 using identical documents, vectors, and queries: Hinny ranks first on all five datasets.
Hybrid ranking on FiQA
nDCG@10, 57,638 documents, 648 queries
- Hinny sparse + vectors0.370
- Hinny BM25 + sparse + vectors0.365
- Hinny BM25 + vectors0.336
- SQLite FTS5 + sqlite-vec0.322
- LanceDB0.319
| Dataset | Hinny | LanceDB | SQLite | Lead |
|---|---|---|---|---|
| SciFact | 0.817 | 0.807 | 0.768 | +0.010 |
| NFCorpus | 0.377 | 0.369 | 0.364 | +0.008 |
| ArguAna | 0.603 | 0.579 | 0.573 | +0.023 |
| SciDocs | 0.183 | 0.177 | 0.173 | +0.006 |
| FiQA | 0.336 | 0.319 | 0.322 | +0.014 |
Quality and latency come from the same queries at the same settings for every system. Because Hinny's default fusion weight was evaluated on these test sets, treat its hybrid rows as development results. See methodology below.
Quality vs. latency
Every configuration for one search mode on one dataset: higher is better ranking, left is faster.
All results
Every configuration across all five datasets, grouped by search mode and metric.
| System | SciFact | NFCorpus | ArguAna | SciDocs | FiQA |
|---|---|---|---|---|---|
| Hinny, sparse + vectors | 0.824 | 0.373 | 0.611 | 0.186 | 0.370 |
| Hinny, BM25 + sparse + vectors | 0.824 | 0.381 | 0.606 | 0.188 | 0.365 |
| Hinny, BM25 + vectors | 0.817 | 0.377 | 0.603 | 0.183 | 0.336 |
| LanceDB | 0.807 | 0.369 | 0.579 | 0.177 | 0.319 |
| SQLite | 0.768 | 0.364 | 0.573 | 0.173 | 0.322 |
nDCG@10, higher is better. Best per dataset in bold. Sort by any column; swipe sideways for the other datasets.
On a private mailbox
119 questions over 23,000 emails from a private archive (not externally reproducible). A hit is the target email or another message in its thread.
| Retrieval | R@1 | R@3 | R@5 | R@10 |
|---|---|---|---|---|
| Text (BM25) | 35.3 | 47.9 | 52.9 | 62.2 |
| Hybrid, Reciprocal Rank Fusion | 38.7 | 63.9 | 72.3 | 78.2 |
| Hybrid, Hinny's default | 48.7 | 64.7 | 74.8 | 78.2 |
Percentage of questions with a hit in the top 1, 3, 5, and 10 results.
Vector recall
Recall@10 against exact search at each segment's calibrated probe budget. Full vectors are stored in half precision and read only to rerank.
| Collection | Recall@10 | p50 | Exact scan | Index |
|---|---|---|---|---|
| FiQA, 57,638 docs, 648 questions | 0.992 | 0.10 ms | 0.78 ms | 34 MB |
| Private mailbox, 23,037 emails | 0.998 | 0.04 ms | 0.31 ms | 14 MB |
| 1 M vectors, synthetic | 0.997 | 0.13 ms | 13 ms | 596 MB |
Build time and index size
From documents in memory to ready to query; size is total directory size on disk.
| System | SciFact | NFCorpus | ArguAna | SciDocs | FiQA |
|---|---|---|---|---|---|
| Hinny, English analyzer | 0.2 s, 8 MB | 0.2 s, 6 MB | 0.2 s, 11 MB | 0.6 s, 35 MB | 1.1 s, 64 MB |
| Hinny, English + sparse field | 0.4 s, 11 MB | 0.3 s, 8 MB | 0.5 s, 16 MB | 1.4 s, 47 MB | 2.6 s, 90 MB |
| Tantivy (text only) | 0.5 s, 3 MB | 0.5 s, 2 MB | 0.5 s, 4 MB | 0.7 s, 11 MB | 0.7 s, 18 MB |
| SQLite | 0.2 s, 23 MB | 0.1 s, 17 MB | 0.2 s, 29 MB | 0.7 s, 83 MB | 1.4 s, 141 MB |
| LanceDB | 1.0 s, 12 MB | 0.2 s, 9 MB | 0.4 s, 16 MB | 0.5 s, 50 MB | 0.7 s, 93 MB |
| Chroma (vectors only) | 0.6 s, 14 MB | 0.2 s, 10 MB | 0.5 s, 19 MB | 1.4 s, 41 MB | 4.8 s, 84 MB |
| Qdrant (vectors only) | 2.2 s, 21 MB | 1.1 s, 15 MB | 3.8 s, 36 MB | 9.2 s, 106 MB | 18.3 s, 239 MB |
Hinny stores compressed document text, half-precision vectors, and 1-bit codes. Its build time includes merging into one segment and calibrating probe budgets.
Methodology
- Vectors: EmbeddingGemma 2, first 256 dimensions, L2-normalized. Documents formatted as
title: … | text: …, queries with its search prompt, capped at 512 tokens. - Learned sparse: OpenSearch's inference-free
doc-v3-distill. Documents are encoded at ingest; queries require no model inference. - Paired quality and latency: Each query requests 11 results, drops self-matches (per BEIR convention), and scores the top 10; the exact same request is timed. Recall@100 uses a separate request for 101.
- Environment: Single-threaded Python queries on an Apple M5 Pro, warm cache, p50 over up to 300 queries. Measured 2026-10-24 at commit
f9cc7f1. - Configurations: Defaults throughout. LanceDB without a vector index (per its guidance below 100,000 rows) plus its native full-text index; Chroma with HNSW; Qdrant local mode (Python brute-force scan); SQLite with FTS5 and sqlite-vec. Hybrid uses each system's built-in fusion.
- Caveats: Hinny's hybrid candidate budgets were chosen on dev/train splits, while its default fusion weight was evaluated on these test sets, so hybrid rows should be read as development results. Earlier runs that measured quality and latency at different request sizes are archived in the repository.