Skip to content

Benchmarks ​

All results below were measured on PiramideDB 0.14.0 with verify() = 0 confirmed after every run.

Relevance (BEIR) ​

Language analyzers (standard vs en) ​

Datasetstandard (nDCG@10)en (nDCG@10)Elasticsearch BM25 reference
scifact0.66350.69240.665
fiqa0.23580.24730.236
nfcorpus0.30890.31610.325

Permission-scoped scoring (50% hidden rows) ​

Comparing scoring = 'visible' against scoring = 'constant' when half of the corpus is hidden from the caller:

DatasetconstantvisibleImprovement
fiqa0.0656 (25.61 ms)0.2358 (7.52 ms)+259% nDCG@10, 3.4× faster
scifact0.40060.6635 (1.64 ms)+65.6% nDCG@10, 1.8× faster
nfcorpus0.23870.3089 (1.02 ms)+29.4% nDCG@10

Hybrid search (lexical + vector RRF) ​

DatasetLexical onlyHybrid (default weights)Gain
arguana0.38700.4254+9.9%
scidocs0.19360.2029+4.8%
scifact—0.7260Outperforms both legs
nfcorpus—0.3608Outperforms both legs

Vector search (100K × 1536 dimensions) ​

  • Recall & latency (nprobe = 8): 0.9472 recall@10 in 12.88 ms
  • Recall & latency (nprobe = 32): 0.9915 recall@10 in 29.75 ms (34.6 QPS)
  • Index build time: 53.9 s

Concurrency & replication ​

  • Mixed read/write workload (100K multi-tenant docs, 80% reads / 20% writes + live spill and merge): 2,930.5 ops/s at 8 concurrent clients (1.6–3.0 ms median latency), 183,121 total operations, 0 errors, verify() = 0.
  • Primary + hot-standby soak (PostgreSQL 18.6, 5 minutes continuous churn): 20,100 inserts, 8,040 updates, 4,020 deletes, 14 spill() / merge() / VACUUM cycles, and 2,735 concurrent queries on a long-lived standby session — 0 errors, exact 18,080 / 18,080 row parity on both primary and standby, verify() = 0.

PiramideDB is built by Nomad River.