GenericVectorBuilder

Benchmark

Summary and all runs

Vector engine benchmark: eshoponweb

Run started 5 Oct 2026, 02:34 UTC. Data: eShopOnWeb, 524 vectors. Queries: 20 labelled questions.

Used by: published-2026-10-08 (basis v5)

The runs of v5 were also used by the set blocked-2026-10-05-v5, which was not published; its verdict, design/verdicts/v5-verdict.txt, holds the word BLOCK.

sources
  • file design/verdicts/v5-verdict.txt#BLOCK = BLOCK
  • consolidated consolidated:reuse[session=v5].verdict = design/verdicts/v5-verdict.txt
  • consolidated consolidated:reuse[session=v5].blockedFolders[0] = blocked-2026-10-05-v5

Machine: CPU Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz; Logical CPUs 8; RAM (GiB) 62.7; OS Ubuntu 24.04.5 LTS, kernel 6.8.0-142-generic; Governor performance; Partition client 0-1,4-5; engines 2-3,6-7; Release build; Exact mode seconds 60.

Warm-up, as this run's notes record it: Warm-up: every timed pass started with its own untimed warm-up of 20 searches in the same search mode and with the same number of searchers, stopped early after 60 s; with machine control on, the check for a quiet box comes right before the warm-up, so warm-up and timed pass run back to back.

No CPU clock pin is recorded in this run's notes.

Enginep50 (ms)Searches per second, one searcherSearches per second, eight searchers at onceExact mode p50 (ms)Client CPU per search, one searcher (ms)Recall in hitsFlags
Chroma2.04485806-0.47200 of 200
ClickHouse4.742034236.390.89197 of 200
DuckDB3.552792804.044.87200 of 200
Elasticsearch1.327472,6331.270.47200 of 200Ix
MariaDB0.631,5585,9091.580.49200 of 200
Milvus2.224311,282-0.55200 of 200
MongoDB Atlas Local1.357222,0951.240.31200 of 200
OpenSearch1.984961,4222.580.47200 of 200
Oracle 23ai Free0.881,1033,0072.380.87200 of 200
Qdrant (HNSW)0.911,0803,4670.890.73200 of 200
Qdrant (exact)0.871,1263,303-0.74200 of 200
Redis
redis holds its data in memory: its saved docs page says 'Redis is an in-memory but persistent on disk database', and its compose file sets save "300 1" and appendonly no.
sources
  • doc doc:design/engine-docs/redis-faq-2026-10-07.html#Redis is an in-memory but persistent on disk database = Redis is an in-memory but persistent on disk database
  • file deploy/engines/redis.compose.yaml#--save "300 1" = --save "300 1"
  • file deploy/engines/redis.compose.yaml#--appendonly no = --appendonly no
0.352,6995,0270.330.53200 of 200
SQL Server 20253.85253626-1.22200 of 200
SQL Server 2025 + DiskANN3.582756903.591.03193 of 200
Typesense4.042435875.470.51200 of 200
Vespa1.875201,5501.930.96200 of 200
Weaviate5.18174316-0.59200 of 200
pgvector0.851,1574,1162.150.69200 of 200
sqlite-vec1.825415321.821.94200 of 200

Engines are listed in alphabetical order. The table does not rank them.

A dash means the table has no figure there.

The small markers after an engine name are flags. Hover a marker for its evidence, or read the list below the tables.

  • Ix index-not-ready The engine did not report a finished index after the load or after the searches.
Evidence behind the flags
  • Elasticsearch index-not-ready afterLoad: the engine's index state read not ready, 0 of 524 vectors indexed
  • Elasticsearch index-not-ready afterSearch: the engine's index state read not ready, 0 of 524 vectors indexed

Full results

This report is printed as the run wrote it, except for any sentence a note above it says was left out. This page does not check the engine texts in it. The summary page's facts table gives the label of each fact it uses.

Run 2026-10-05T02:34:59Z (run-all). Command line:

~/gvb-work/lanes/v5-final/src/GenericVectorBuilder.Bench/bin/Release/net10.0/GenericVectorBuilder.Bench.dll run-all --pipeline eshoponweb --queries golden --seed 501 --out ~/ForClaude/GenericVectorBuilder/bench-results
engineindexload rows/sp50 msp95 msp99 msQPS@1QPS@8client CPU ms/search@1client CPU ms/search@8recall@10nDCG@10RAMdisk
clickhousevector_similarity HNSW cosineDistance, quantization bf16, M=16 ef_construction=128, hnsw_candidate_list_size_for_search=256, rescoring off; exact mode = full scan with skip indexes off2,3904.746.067.52202.9423.20.891.100.9850.5281.9 GiB1.27 GiB
oracleHNSW in-memory neighbor graph NEIGHBORS=16 EFCONSTRUCTION=128, EFSEARCH=100 per query, cosine; exact mode = FETCH EXACT FIRST (full scan); Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit)1,7810.881.051.791102.63006.90.870.641.0000.5182.15 GiB0 B
milvusHNSW M=16 efConstruction=128, ef=100, metric COSINE, Strong consistency searches; approximate only (no exact mode)1,0842.222.723.61431.31282.00.550.641.0000.518195 MiB10.86 MiB
sqlitevecvec0 brute-force scan, no ANN index (exact), float32, cosine distance, default chunk_size=1024; score = 1 - cosine distance4,3021.822.032.27541.0532.11.941.981.0000.518-9.72 MiB
redisHNSW TYPE FLOAT32 M=16 EF_CONSTRUCTION=128, EF_RUNTIME=100 per query, cosine; exact mode = FLAT index built on first exact query11,3570.350.460.672699.35027.40.530.361.0000.51824.61 MiB0 B
weaviateHNSW maxConnections(M)=16 efConstruction=128, ef=-1 (dynamic: limit x 8 clamped 100..500), cosine, no quantization; approximate only (no exact mode)1,0255.1810.311.4173.6315.60.590.611.0000.518156.9 MiB2.88 MiB
sql-diskannDiskANN (preview) via VECTOR_SEARCH, cosine, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; the exact mode scans the same table6043.584.035.19275.4690.01.031.090.9650.526531.8 MiB4.52 MiB
mongodbvectorSearch index, HNSW maxEdges=16 numEdgeCandidates=128, float32 binData, cosine, numCandidates=20x hits (min 100); exact mode = $vectorSearch exact:true3,2751.351.631.95722.32095.50.310.301.0000.518911 MiB0 B
duckdbHNSW (vss extension) FLOAT[n] metric=cosine m=16 ef_construction=128, ef_search=100 per connection, persistent (hnsw_enable_experimental_persistence=true, checkpoint_threshold=256MB); exact mode = array_cosine_similarity sequential scan; score = 1 - cosine distance1,5433.553.935.11278.8280.14.874.941.0000.518-2.9 MiB
qdrantexact scan: the builder's sink sends exact=true on every search, so no HNSW graph is used whether or not Qdrant has built one (see the index state)4,6660.870.991.461125.83303.10.740.541.0000.51839.43 MiB196.08 MiB
sqlexact VECTOR_DISTANCE cosine, no vector index (full scan)6413.854.395.09253.0625.61.221.191.0000.518529.9 MiB5.15 MiB
opensearchfaiss HNSW float32, no compression, m=16, ef_construction=128, cosinesimil; search k=top, ef_search=100; 1 shard, 0 replicas; graph built at any segment size (approximate_threshold=0); force-merged to one segment after the load3881.982.192.73496.11422.10.470.521.0000.5182.58 GiB9.64 MiB
pgvectorHNSW vector_cosine_ops m=16 ef_construction=128, hnsw.ef_search=100 per query, float32 vector(n), cosine; exact mode = same query with index scans off (sequential scan)6160.850.991.291157.54116.00.690.541.0000.518100.2 MiB7.59 MiB
chromaHNSW M=16 ef_construction=128, ef_search=100 (Chroma default), cosine; approximate only (no exact mode)8822.042.292.55484.5805.90.470.471.0000.51890.18 MiB414.16 KiB
vespaHNSW float32 tensor, prenormalized-angular (cosine), max-links-per-node=16, neighbors-to-explore-at-insert=128; search targetHits=top, ef=100 via exploreAdditionalHits; exact mode = approximate:false; vectors held in memory3211.872.282.60520.21550.00.960.901.0000.5182.93 GiB31.23 MiB
qdrant-hnswHNSW m=16 ef_construct=100, hnsw_ef=server default, cosine; indexing_threshold_kb 1 and full_scan_threshold_kb 10 (server defaults are 10,000 each) so a small collection builds and walks its graph9,1520.911.021.491080.13467.10.730.531.0000.51836.52 MiB164.1 MiB
elasticsearchHNSW float32, no quantization, m=16, ef_construction=128, cosine; search k=top, num_candidates=100; 1 shard, 0 replicas; force-merged to one segment after the load (at 1,024 dimensions a segment under 1,043 vectors gets no graph)4991.321.481.78746.82632.60.470.511.0000.5182.53 GiB2.38 MiB
typesenseHNSW float32 (hnswlib), m=16, ef_construction=128, cosine; search k=top, ef=100; exact mode = filter ordinal:>=0 with flat_search_cutoff; index held in memory3544.044.446.68243.2586.80.510.581.0000.518171.7 MiB0 B
mariadbVECTOR INDEX (HNSW variant) DISTANCE=cosine, M=16 (no ef_construction setting exists), mhnsw_ef_search=100 per statement (the ef 100 most engines here use, so the search effort matches; MariaDB's own default is 20; recall@10 at ef 100 falls as the set grows (random 1024-dimension vectors, measured 2026-10-04: 0.99 at 524, 0.89 to 0.92 at 2,000; an earlier run gave about 0.09 at 100,000 [Correction 4])), mhnsw_max_cache_size 4G; exact mode = IGNORE INDEX full scan1,0890.630.710.891557.75909.40.490.381.0000.518156.3 MiB22.01 MiB

Details per target

ClickHouse clickhouse
Oracle 23ai Free oracle
Milvus milvus
sqlite-vec sqlitevec
Redis redis
Weaviate weaviate
SQL Server 2025 + DiskANN sql-diskann
MongoDB Atlas Local mongodb
DuckDB duckdb
Qdrant (exact) qdrant
SQL Server 2025 sql
OpenSearch opensearch
pgvector
Chroma chroma
Vespa vespa
Qdrant (HNSW) qdrant-hnsw
Elasticsearch elasticsearch
Typesense typesense
MariaDB mariadb

Notes

Raw files

results.md is kept unedited. It still holds the sentences this page leaves out of its copy. Count: 1

The raw files below hold the recorded statements that the corrections above refer to, as written.