Skip to the content
hinny

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 ms1.0 ms10 ms100 msvs LanceDBHinnyLanceDBSQLiteSciFact18×NFCorpus16×ArguAna11×SciDocs19×FiQA21×
Hinny, BM25 + vectorsLanceDBSQLite FTS5 + sqlite-vecmedian hybrid query, log scale
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
DatasetHinnyLanceDBSQLiteLead
SciFact0.8170.8070.768+0.010
NFCorpus0.3770.3690.364+0.008
ArguAna0.6030.5790.573+0.023
SciDocs0.1830.1770.173+0.006
FiQA0.3360.3190.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.

0.300.320.340.360.380.400.10 ms1.0 ms10 ms100 msmedian query time, log scale → slowernDCG@10 → better↖ faster and betterHinny, sparse + vectors 0.370 · 0.35 msHinny, BM25 + sparse + vectors 0.365 · 0.39 msHinny, BM25 + vectors 0.336 · 0.29 msSQLite 0.322 · 57 msLanceDB 0.319 · 6.2 ms
HinnyOther systems
FiQA: 57,638 documents. Apple M5 Pro, single-threaded queries from Python, warm, top 10. Every system gets the same documents, EmbeddingGemma vectors and queries.

All results

Every configuration across all five datasets, grouped by search mode and metric.

SystemSciFactNFCorpusArguAnaSciDocsFiQA
Hinny, sparse + vectors0.8240.3730.6110.1860.370
Hinny, BM25 + sparse + vectors0.8240.3810.6060.1880.365
Hinny, BM25 + vectors0.8170.3770.6030.1830.336
LanceDB0.8070.3690.5790.1770.319
SQLite0.7680.3640.5730.1730.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.

RetrievalR@1R@3R@5R@10
Text (BM25)35.347.952.962.2
Hybrid, Reciprocal Rank Fusion38.763.972.378.2
Hybrid, Hinny's default48.764.774.878.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.

CollectionRecall@10p50Exact scanIndex
FiQA, 57,638 docs, 648 questions0.9920.10 ms0.78 ms34 MB
Private mailbox, 23,037 emails0.9980.04 ms0.31 ms14 MB
1 M vectors, synthetic0.9970.13 ms13 ms596 MB

Build time and index size

From documents in memory to ready to query; size is total directory size on disk.

SystemSciFactNFCorpusArguAnaSciDocsFiQA
Hinny, English analyzer0.2 s, 8 MB0.2 s, 6 MB0.2 s, 11 MB0.6 s, 35 MB1.1 s, 64 MB
Hinny, English + sparse field0.4 s, 11 MB0.3 s, 8 MB0.5 s, 16 MB1.4 s, 47 MB2.6 s, 90 MB
Tantivy (text only)0.5 s, 3 MB0.5 s, 2 MB0.5 s, 4 MB0.7 s, 11 MB0.7 s, 18 MB
SQLite0.2 s, 23 MB0.1 s, 17 MB0.2 s, 29 MB0.7 s, 83 MB1.4 s, 141 MB
LanceDB1.0 s, 12 MB0.2 s, 9 MB0.4 s, 16 MB0.5 s, 50 MB0.7 s, 93 MB
Chroma (vectors only)0.6 s, 14 MB0.2 s, 10 MB0.5 s, 19 MB1.4 s, 41 MB4.8 s, 84 MB
Qdrant (vectors only)2.2 s, 21 MB1.1 s, 15 MB3.8 s, 36 MB9.2 s, 106 MB18.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.