Appearance
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)
| Dataset | standard (nDCG@10) | en (nDCG@10) | Elasticsearch BM25 reference |
|---|---|---|---|
scifact | 0.6635 | 0.6924 | 0.665 |
fiqa | 0.2358 | 0.2473 | 0.236 |
nfcorpus | 0.3089 | 0.3161 | 0.325 |
Permission-scoped scoring (50% hidden rows)
Comparing scoring = 'visible' against scoring = 'constant' when half of the corpus is hidden from the caller:
| Dataset | constant | visible | Improvement |
|---|---|---|---|
fiqa | 0.0656 (25.61 ms) | 0.2358 (7.52 ms) | +259% nDCG@10, 3.4× faster |
scifact | 0.4006 | 0.6635 (1.64 ms) | +65.6% nDCG@10, 1.8× faster |
nfcorpus | 0.2387 | 0.3089 (1.02 ms) | +29.4% nDCG@10 |
Hybrid search (lexical + vector RRF)
| Dataset | Lexical only | Hybrid (default weights) | Gain |
|---|---|---|---|
arguana | 0.3870 | 0.4254 | +9.9% |
scidocs | 0.1936 | 0.2029 | +4.8% |
scifact | — | 0.7260 | Outperforms both legs |
nfcorpus | — | 0.3608 | Outperforms both legs |
Vector search (100K × 1536 dimensions)
- Recall & latency (
nprobe = 8):0.9472recall@10 in12.88 ms - Recall & latency (
nprobe = 32):0.9915recall@10 in29.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
spillandmerge):2,930.5 ops/sat 8 concurrent clients (1.6–3.0 msmedian latency),183,121total operations,0errors,verify() = 0. - Primary + hot-standby soak (PostgreSQL 18.6, 5 minutes continuous churn):
20,100inserts,8,040updates,4,020deletes,14spill()/merge()/VACUUMcycles, and2,735concurrent queries on a long-lived standby session —0errors, exact18,080 / 18,080row parity on both primary and standby,verify() = 0.