GenericVectorBuilder

Benchmark

Summary and all runs

Vector engine benchmark: eshoponweb

Run started 7 Oct 2026, 23:35 UTC. Data: eShopOnWeb, 524 vectors. Queries: 20 labelled questions.

Used by: published-2026-10-08 (v8, basis)

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; Code commit 9b924200abc3f2c3e41c2a9520e5c7bb16748e6c; Exact mode seconds 60.

Warm-up, as this run's notes record it: Warm-up and settle check, untimed, right before every timed pass: the pass's own search at the pass's own number of searchers for at least 15 s and at least 20 searches (at most 120 s), read in windows of at least 2 s and 100 searches; then a 3 s trial of the same pass.

Clock: pinned true; pinnedMhz 3500; ceilingBeforeMhz 3600; noTurbo atEnd=1, before=0, during=1; uncoreMsr620 atEnd=0x1e1e, before=0xc1e, during=0x1e1e; throttle atEnd=coreEvents=0, packageEvents=0, perCpu=coreCount=0, cpu=0, packageCount=0, packageId=0, siblings=0,4,coreCount=0, cpu=1, packageCount=0, packageId=0, siblings=1,5,coreCount=0, cpu=2, packageCount=0, packageId=0, siblings=2,6,coreCount=0, cpu=3, packageCount=0, packageId=0, siblings=3,7,coreCount=0, cpu=4, packageCount=0, packageId=0, siblings=0,4,coreCount=0, cpu=5, packageCount=0, packageId=0, siblings=1,5,coreCount=0, cpu=6, packageCount=0, packageId=0, siblings=2,6,coreCount=0, cpu=7, packageCount=0, packageId=0, siblings=3,7, readUtc=2026-10-08T00:56:40.521Z, atStart=coreEvents=0, packageEvents=0, perCpu=coreCount=0, cpu=0, packageCount=0, packageId=0, siblings=0,4,coreCount=0, cpu=1, packageCount=0, packageId=0, siblings=1,5,coreCount=0, cpu=2, packageCount=0, packageId=0, siblings=2,6,coreCount=0, cpu=3, packageCount=0, packageId=0, siblings=3,7,coreCount=0, cpu=4, packageCount=0, packageId=0, siblings=0,4,coreCount=0, cpu=5, packageCount=0, packageId=0, siblings=1,5,coreCount=0, cpu=6, packageCount=0, packageId=0, siblings=2,6,coreCount=0, cpu=7, packageCount=0, packageId=0, siblings=3,7, readUtc=2026-10-07T23:35:51.750Z; toleranceBp 100; rule every CPU's clock is read from /sys/devices/system/cpu/cpuN/cpufreq/scaling_cur_freq every 250 ms; each CPU's median over a pass is taken, then the median of those medians per CPU group: the engine CPUs (2-3,6-7) and the client CPUs (0-1,4-5) are judged as two groups; a pass is 'clock off' (clockOff) when a group's median differs from the pinned clock by more than 100 bp (1%), and 'clock not read' (clockRead false) when a group has no reading; either counts as not at the pinned clock. Limited power: a CPU's median hides off-clock readings while they are fewer than half of its readings, and the median of 4 CPU medians hides 1 CPU(s) off the clock for the whole pass. This rule reads the kernel's figures only; the independent check of the clock is APERF/MPERF, read by the run's observer outside this tool. Thermal throttle counters (thermal_throttle/core_throttle_count and package_throttle_count of every CPU) are read at the start and the end of the run and at each target's start, first warm-up line and end, never by the clock sampler and never inside a timed pass; the core counter is counted once per physical core (thread_siblings_list) and the package counter once per package (physical_package_id), a rise on any CPU counts, a counter that went down counts as a rise, and only a rise against no rise means anything. They count thermal events only: no power-limit counters are read, so power capping (RAPL) and AVX clock drops are not seen..

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.07478791-0.47200 of 200
ClickHouse4.861973496.600.86199 of 200UnNh
DuckDB3.642725834.105.01200 of 200
Elasticsearch1.327422,6941.260.45200 of 200Ix
MariaDB0.621,5765,9561.610.49200 of 200
Milvus2.244231,266-0.54200 of 200
MongoDB Atlas Local1.397052,0981.210.30200 of 200
OpenSearch1.984951,5072.560.47200 of 200
Oracle 23ai Free0.931,0502,7922.420.89200 of 200
Qdrant (HNSW)0.921,0723,4680.900.73200 of 200
Qdrant (exact)0.891,1093,296-0.72200 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.392,5595,2580.360.56200 of 200
SQL Server 20253.93245589-1.21200 of 200
SQL Server 2025 + DiskANN3.572786943.631.00193 of 200
Typesense4.162375725.630.52200 of 200
Vespa1.875171,5821.870.92200 of 200
Weaviate5.33167306-0.56200 of 200
pgvector0.851,1474,0192.190.68200 of 200
sqlite-vec1.865291,1401.871.98200 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.

  • Un unsettled-target The engine did not pass its own settle check before a timed pass. The evidence names the check.
  • Ix index-not-ready The engine did not report a finished index after the load or after the searches.
  • Nh not-held The run recorded a timed pass of this engine as NOT HELD: the engine was still changing when it was timed. The evidence gives the figures. The row is shown, not ranked.
Evidence behind the flags
  • ClickHouse unsettled-target latency had NOT settled when timing began for default@8 (each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it). exact: warm-up 15.0 s and 2,204 searches (0 failed) at 1 searcher; p50 of the last windows 6.584, 6.565, 6.581 ms (windows of at least 2 s and 100 searches); trial of 443 searches in 3.0 s at 1 searcher: p50 6.622 ms against the settled p50 6.581 ms, 1% apart (limit 10%); the timed pass p50 6.603 ms, 0% from the settled p50 6.581 ms (limit 10% or 0.1 ms; 0.022 ms); default@8: warm-up 15.0 s and 6,591 searches (0 failed) at 8 searchers; QPS of the last windows 472, 465, 405 (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 1,295 searches in 3.0 s at 8 searchers: 431 QPS against the settled 465 QPS, 8% apart (limit 10%), so the warm-up was EXTENDED once (30.0 s and 12,492 searches (0 failed) at 8 searchers; QPS of its older 6 windows 427 (windows 436, 399, 412, 462, 462, 391) and of its newer 6 416 (windows 400, 458, 446, 411, 409, 370), 2.7% apart (limit 5%) (windows of at least 2 s and 100 searches)); second trial of 1,078 searches in 3.0 s at 8 searchers: 358 QPS against the settled 416 QPS, 16% apart (limit 10%), outside its newer windows' range 370 to 458 QPS; still disagreeing after the extension; the timed pass 349 QPS, 19% from the settled 416 QPS (limit 10%), NOT HELD: the engine was still changing when it was timed; default@1: warm-up 15.0 s and 2,479 searches (0 failed) at 1 searcher; p50 of the last windows 5.497, 5.449, 5.221 ms (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 466 searches in 3.0 s at 1 searcher: p50 6.861 ms against the settled p50 5.449 ms, 21% apart (limit 10%), so the warm-up was EXTENDED once (30.0 s and 5,806 searches (0 failed) at 1 searcher; p50 of its older 6 windows 4.910 ms (windows 4.850, 4.932, 5.369, 4.842, 4.893, 4.847) and of its newer 6 4.855 ms (windows 4.875, 4.849, 4.863, 4.838, 4.868, 4.838), 1.1% apart (limit 5% or 0.1 ms; 0.056 ms) (windows of at least 2 s and 100 searches)); second trial of 595 searches in 3.0 s at 1 searcher: p50 4.851 ms against the settled p50 4.855 ms, 0% apart (limit 10%), inside its newer windows' range 4.838 to 4.875 ms; settled after the extension; the timed pass p50 4.859 ms, 0% from the settled p50 4.855 ms (limit 10% or 0.1 ms; 0.004 ms). Its numbers may still include warm-up or a change the engine was still going through; rerun before quoting them.
  • ClickHouse not-held default@8: the timed pass 349 QPS, 19% from the settled 416 QPS (limit 10%), NOT HELD
  • 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-07T23:35:51Z (run-all). Command line:

~/gvb-work/v8-run/bin/GenericVectorBuilder.Bench.dll run-all --pipeline eshoponweb --queries golden --seed 803 --out ~/ForClaude/GenericVectorBuilder/bench-results --repo ~/ForClaude/GenericVectorBuilder
engineindexload rows/sp50 msp95 msp99 msQPS@1QPS@8client CPU ms/search@1client CPU ms/search@8recall@10nDCG@10RAMdisk
sqlexact VECTOR_DISTANCE cosine, no vector index (full scan)5433.934.455.56245.4589.11.211.181.0000.518529.9 MiB5.15 MiB
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 12])), mhnsw_max_cache_size 4G; exact mode = IGNORE INDEX full scan1,0200.620.700.881576.05955.80.490.381.0000.518170.2 MiB22.01 MiB
chromaHNSW M=16 ef_construction=128, ef_search=100 (Chroma default), cosine; approximate only (no exact mode)7932.072.342.58477.9790.50.470.461.0000.51852.3 MiB414.16 KiB
weaviateHNSW maxConnections(M)=16 efConstruction=128, ef=-1 (dynamic: limit x 8 clamped 100..500), cosine, no quantization; approximate only (no exact mode)9945.3310.711.8166.9306.10.560.611.0000.51894.7 MiB2.96 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)6180.851.021.301146.64018.60.680.541.0000.518100.6 MiB7.56 MiB
mongodbvectorSearch index, HNSW maxEdges=16 numEdgeCandidates=128, float32 binData, cosine, numCandidates=20x hits (min 100); exact mode = $vectorSearch exact:true2,7411.391.601.97705.32098.30.300.281.0000.518647.3 MiB10.48 KiB
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 load3141.982.212.76495.01507.30.470.501.0000.5182.6 GiB9.66 MiB
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 memory2911.872.322.66517.11581.80.920.871.0000.5182.95 GiB235.33 MiB
redisHNSW TYPE FLOAT32 M=16 EF_CONSTRUCTION=128, EF_RUNTIME=100 per query, cosine; exact mode = FLAT index built on first exact query11,8120.390.480.702559.35257.60.560.351.0000.518253.8 MiB2.43 MiB
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 distance; searches run concurrently, one connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and never overlap a search1,4333.644.065.31271.6582.85.016.831.0000.518-2.9 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 memory1,0164.164.545.20237.1572.10.520.581.0000.518118.9 MiB1.67 MiB
sql-diskannDiskANN (preview) via VECTOR_SEARCH, cosine, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; the exact mode scans the same table6193.574.004.52277.8693.81.001.080.9650.526533 MiB4.52 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 graph4,6770.921.031.501072.23467.80.730.521.0000.51837.02 MiB164.1 MiB
milvusHNSW M=16 efConstruction=128, ef=100, metric COSINE, Strong consistency searches; approximate only (no exact mode)1,1582.242.823.81423.11266.10.540.631.0000.518186.5 MiB10.95 MiB
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,7374.866.547.81196.8348.70.861.050.9950.5281011 MiB4.67 GiB
sqlitevecvec0 brute-force scan, no ANN index (exact), float32, cosine distance, default chunk_size=1024; score = 1 - cosine distance; searches run concurrently, one WAL reader connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and may overlap searches3,6871.862.082.38528.61140.01.983.501.0000.518-9.72 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)4731.321.501.77742.22693.80.450.491.0000.5182.58 GiB2.39 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)5,7380.891.001.431109.23295.90.720.541.0000.51835.61 MiB196.08 MiB
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,9510.931.091.891049.92792.40.890.641.0000.5182.14 GiB0 B

Details per target

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

Notes

Raw files

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