Skip to content

Benchmark Results & Methodology ​

This page summarizes DataVo's performance across BenchmarkDotNet microbenchmarks, systems workloads (durability, concurrency, reactive IVM, vector search, and 1M-row SQL), and cross-platform CI runners (macOS Apple Silicon, Linux x64, Windows x64), along with the methodology and caveats behind every number.

Looking for the latest v0.4 SQL & hybrid vector numbers? See DataVo vs SQLite: When Each Engine Wins for the 28-query 1M-row SQL matrix and 5 filtered vector shapes.

Executive Summary ​

Headline rows below are dated per run. Point lookups and [Columnar] aggregates reflect the 20 November 2026 Apple M4 Pro refresh (02fa240f, --job short, matching Part 1 and Part 2); row-scan and systems rows cite their respective November 2026 runs.

WorkloadDataVo ResultComparisonRun & Notes
PK point lookup (100k rows)55.0 ns (InMemory, 56 B) · 216.2 ns (LSM, 144 B)SQLite: 716 ns / 1,654 ns (608 B) · DuckDB 1t: 62.7–63.6 µsM4 Pro (02fa240f, 20 Nov 2026), compiled LINQ (FlatRowStore compact layout)
Filtered aggregates (200k rows, [Columnar])27.1–89.6 µs (0 B alloc, InMemory & LSM)SQLite: 3,656–5,640 µs · DuckDB 1t: 123–701 µsM4 Pro (02fa240f, 20 Nov 2026); 2.6–8.4× faster than 1-thread DuckDB, 55–162× faster than SQLite
Filtered aggregates (200k rows, row scan)386–526 µs (InMemory, 0 B) · 2.0–2.3 ms (LSM)SQLite: 3.7–5.9 ms · DuckDB 1t: 137–716 µsM4 Pro (ce818d4, 13 Nov 2026 full-job baseline); 8.8–9.8× faster than SQLite on M4 Pro, 3.5–4.7× on x64 CI
Reactive IVM (3-table join, 50k updates)191.7 ms (3.1 µs P50)DuckDB: 34.3 s (179×) · SQLite: 126.1 s (658×)M4 Pro (12 Nov 2026); incremental Z-set updates vs. full-query polling
Durable commits (fsync per update)4.04 ms P50 (Mac) · 2.42 ms (Win) · 0.223 ms (Linux)SQLite full+fullfsync: 4.04 ms (Mac) · 2.51 ms (Win) · 0.097 ms (Linux)12 Nov 2026 baseline; hardware flush dominates on Mac/Win, SQLite leads 2.3× on fast-flush Linux VM
Relaxed YCSB 80/20 (12 threads)510,695 ops/s (0.66 ms write P99)SQLite WAL NORMAL: 261,618 ops/s (3.77 ms write P99)M4 Pro (12 Nov 2026); 1.95× throughput, 5.7× lower write tail; neither mode is power-loss durable
Disk footprint (1M rows)27.7 MB (LSM)SQLite: 29.1 MB · LiteDB: 154.5 MBM4 Pro (02fa240f, 21 Nov 2026); 5% smaller than SQLite, warm reopen in 1.7–4.5 ms

Part I: BenchmarkDotNet Microbenchmarks ​

Measured with benchmarks/DataVo.Benchmarks (Apple M4 Pro, .NET 10, 99.9% CI half-width ≤ 3% for DataVo/SQLite). Every benchmark verifies identical query answers across all engines before timing. The plots and expanded tables below record the 13 November 2026 full-job baseline (ce818d4); the 20 November 2026 (02fa240f) short-job refresh used in the Executive Summary is archived under docs/public/benchmarks/2026-11-21-m4pro/.

Filtered aggregates over 200,000 rows

Point lookup and bulk insert

Full Part I Tables (13 Nov 2026 Full-Job Baseline: Row Scan, Columnar Index, Out-of-Core SSTable, Point Lookup, Bulk Load)

Filtered Aggregates (Row Scan, 200,000 rows, mean µs, 0 B alloc for DataVo) ​

QueryStorageDataVo (row scan)SQLiteDuckDB (1 thread)DuckDB (default)
COUNT(*)Memory3863,695137203
SUM(Gold)Memory5264,817204226
MIN(Gold)Memory5254,607201269
MAX(Ratio)Memory5034,955418417
COUNT(*)File1,9734,543245270
SUM(Gold)File2,1155,935374327
MIN(Gold)File2,1365,377360346
MAX(Ratio)File2,2675,656716564

With a Columnar Index ([Columnar] on Level, Gold, Ratio, mean µs, 0 B alloc) ​

QueryStorageDataVo ([Columnar])SQLiteDuckDB (1 thread)DuckDB (default)
COUNT(*)Memory27.53,915141188
SUM(Gold)Memory77.84,777204228
MIN(Gold)Memory73.04,598200258
MAX(Ratio)Memory89.54,996421417
COUNT(*)File27.54,730246294
SUM(Gold)File78.25,574365331
MIN(Gold)File73.45,393362358
MAX(Ratio)File90.16,051740554

Out-of-Core Columnar Scans from SSTable Files (1,000,000 rows, LSM, mean µs, 0 B alloc) ​

QueryColumns in MemoryColumns in SSTable Files (mmap)
COUNT(*)135.8135.7
SUM(Gold)388.9388.2
MIN(Gold)361.8362.6
MAX(Ratio)453.9460.8

Point Lookup by Primary Key (100,000 rows, shuffled keys) ​

StorageDataVoSQLiteDuckDB (1t)DuckDBDataVo allocSQLite allocDuckDB alloc
Memory52.1 ns735.6 ns65,945 ns75,158 ns56 B608 B2,144 B
File236.0 ns1,609.4 ns64,877 ns72,314 ns144 B608 B2,144 B

Loading 100,000 Rows (10 timed runs ± SD) ​

StorageDataVoSQLiteDuckDB (1t)DuckDBDataVo allocSQLite allocDuckDB alloc
Memory35.0 ± 6.8 ms82.2 ± 37.2 ms28.7 ± 5.6 ms38.5 ± 4.9 ms55 MB94 MB19 MB
File133.4 ± 35.4 ms76.8 ± 26.5 ms31.1 ± 5.9 ms29.0 ± 5.8 ms62 MB94 MB19 MB

Part II: Systems Workloads ​

Application-shaped scenarios from demos/Research.Benchmark (single run per scenario; treat differences under ~20% as not established).

Streamed Risk Views (Incremental View Maintenance) ​

Inserting 50,000 orders one-by-one and reading a live dashboard after each insert. DataVo maintains the view incrementally via Z-sets; SQLite and DuckDB re-run indexed queries.

Streamed risk, complex VIP exposure

Streamed risk, simple exposure

  • Complex VIP 3-table join: DataVo finishes in 191.7 ms (3.1 µs P50), 179× faster than DuckDB (34.3 s) and 658× faster than SQLite (126.1 s), because incremental work is O(1) per order rather than O(N) re-joining.
  • Simple single-table exposure: DataVo (526.9 ms, 6.4 µs P50) and SQLite (574.1 ms, 8.9 µs P50) are closely matched (1.1–1.4× across 4 runs), while DuckDB pays per-query setup overhead (52.95 s).

Durability, Concurrency & Space ​

Disk CRUD total time

Thread scaling

YCSB write P99

  • Strict durability (fsync per commit): DataVo LSM Production (84.6 s, 4.04 ms P50) and SQLite WAL + full + fullfsync (84.9 s, 4.04 ms P50) tie on Apple Silicon because both wait on the same SSD cache flush. Group commit scales Production throughput 3.7× from 1 to 32 threads.
  • Relaxed durability (OS buffer): DataVo Relaxed beats SQLite WAL NORMAL by 1.4× on serial updates (113 ms vs 155 ms) and 1.95× on 12-thread YCSB 80/20 (510.7k vs 261.6k ops/s, with 5.7× lower write P99).

Vector Search (10,000 × 1,536d) ​

Vector search total time

HNSW versus Flat

  • On uniform random 1,536d vectors at 10k scale, exact Flat search (298.7 ms total, 1.96 ms P50) beats both sqlite-vec (472.8 ms) and HNSW (1,634 ms total, 63.5% recall) because uniform high-dimensional distances concentrate.
  • On clustered embeddings (realistic workloads), HNSW is 8× faster per query at 10k vectors (0.25 ms, 95.9% recall) and 15× faster at 50k (0.68 ms, 90.2% recall). Since v0.4, enable_diversity_heuristic is enabled by default, raising clustered Recall@10 to 100% on the hybrid benchmark dataset.
Full Part II Raw Tables (IVM, Disk CRUD, Thread Scaling, YCSB, Space, Vector Recall, Flat/Doc/Concurrent)

Streamed Risk Views (50,000 insert + read iterations) ​

ProfileEngineTotal (ms)P50P99GC Allocated
Simple ExposureDataVo526.96.4 µs21.3 µs364.6 MB
Simple ExposureSQLite574.18.9 µs24.6 µs200.7 MB
Simple ExposureDuckDB52,954.0983 µs3,311 µs208.3 MB
Complex VIP JoinDataVo191.73.1 µs4.0 µs106.6 MB
Complex VIP JoinDuckDB34,339.1660 µs974 µs131.3 MB
Complex VIP JoinSQLite126,064.42,527 µs4,375 µs115.6 MB

Disk CRUD WAL (20,000 inserts + 20,000 committed updates) ​

EngineTotal (ms)P50P99GC Allocated
DataVo (LSM Production)84,6164.04 ms6.13 ms30.8 MB
SQLite (WAL, full, fullfsync)84,8574.04 ms6.08 ms22.3 MB
DataVo (LSM Relaxed)1134.5 µs7.5 µs22.9 MB
SQLite (WAL, normal)1555.4 µs9.2 µs23.2 MB

Thread Scaling (ops/s, 100k reads + 10k updates) ​

ThreadsDataVo ProductionDataVo RelaxedSQLite (WAL, normal)LiteDB
12,6861,333,227335,28149,027
45,5061,101,274589,92168,873
88,7771,025,118577,69167,864
329,8401,011,191555,35766,020

YCSB Mixed 80/20 (12 threads, 100k ops) ​

EngineTotal (ms)Ops/sRead P99Write P99GC Allocated
DataVo (LSM Relaxed)195.8510,6950.9 µs0.66 ms34.7 MB
SQLite (WAL, normal)382.2261,6188.2 µs3.77 ms57.2 MB
LiteDB2,640.137,8772.59 ms2.79 ms4,315.1 MB
DataVo (LSM Production)23,118.64,32625.7 µs27.83 ms37.2 MB

Space & Warm Reopen (1,000,000 records) ​

EngineInsert (ms)Disk (MB)Reopen (ms)First Read (ms)GC Allocated
DataVo (LSM Production)731.827.74.33.6400.7 MB
DataVo (LSM Relaxed)473.227.71.50.0332.9 MB
SQLite (WAL, normal)712.529.10.361.2633.4 MB
LiteDB2,987.1154.50.619.415,107.2 MB

Vector Search (10k × 1,536d, 100 top-10 queries) & Held-Out Recall ​

EngineTotal (ms)Query P50Query P99GC Allocated
DataVo-Flat298.71.96 ms2.41 ms61.7 MB
SQLite (sqlite-vec)472.82.37 ms2.43 ms63.4 MB
DataVo (HNSW)1,634.01.77 ms2.25 ms62.8 MB
LiteDB76,706.5747.4 ms778.0 ms208,914.6 MB
NDistributionFlat QueryHNSW QueryHNSW Recall@10HNSW BuildFlat Build
1,000uniform0.24 ms0.45 ms99.9%238 ms27 ms
10,000uniform2.06 ms1.92 ms63.5%1,169 ms135 ms
50,000uniform10.1 ms3.0 ms23.8%10,414 ms162 ms
1,000clustered0.24 ms0.31 ms100%63 ms10 ms
10,000clustered2.00 ms0.25 ms95.9%548 ms34 ms
50,000clustered10.3 ms0.68 ms90.2%5,658 ms236 ms

Other Workloads (Flat CRUD, Deep Document, Concurrent Ops) ​

  • Flat CRUD (50k insert + 50k lookup, in-memory): DataVo 63.9 ms (0.54 µs P50) vs SQLite 128.8 ms (1.17 µs) vs LiteDB 1,322.8 ms.
  • Deep document (5k nested orders): DataVo 83.6 ms (5.0 µs P50) vs SQLite 140.8 ms (7.8 µs) vs LiteDB 431.2 ms.
  • Concurrent ops (8 readers + 2 writers, 5 s, M4 Pro): DataVo 1,852,526 ops/s (48 µs read P99, 0.11 ms write P99) vs SQLite 372,220 ops/s (120 µs read P99, 5.13 s write P99).

SQL over 1,000,000 rows ​

The sql-workload scenario runs prepared SQL text over 1,000,000 file-backed rows (DataVo LSM Relaxed vs. SQLite WAL NORMAL, DuckDB, and LiteDB).

v0.4 Update: Key range scans were upgraded to SSTable seeks (12.9 µs for 100 rows vs. SQLite's 18.2 µs), and ORDER BY ... LIMIT 10 eliminated per-row sort-key boxing (48 KB vs. 84 MB). See DataVo vs SQLite for the latest v0.4 measurements across all 28 SQL shapes.

Historical 12 November sql-workload Table (0.2.0-rc.3 baseline)
OperationDataVoSQLiteDuckDBLiteDB
Load orders and customers1.87 s3.24 s538.5 ms8.94 s
Point read by INT key1.4 µs2.0 µs150.0 µs23.2 µs
Point read by GUID key1.2 µs2.2 µs126.4 µs25.2 µs
Secondary-index lookup (~100 rows)110.8 µs86.6 µs265.0 µs413.2 µs
Key range scan (100 rows)45.7 µs7.4 µs167.9 µs549.2 µs
COUNT with filter (full scan)46.8 ms26.0 ms0.40 ms382.8 ms
GROUP BY (full scan)87.2 ms225.3 ms0.91 ms2.05 s
JOIN + GROUP BY133.3 ms353.0 ms1.5 ms451.0 ms
ORDER BY ... LIMIT 1058.6 ms36.9 ms1.2 ms923.5 ms
UPDATE by key (autocommit)9.0 µs6.5 µs175.1 µs42.0 µs
DELETE by key (autocommit)13.0 µs9.7 µs187.4 µs32.6 µs
Close (flush to disk)302.6 ms4.1 ms184.9 ms9.8 ms
Size on disk73.2 MB75.3 MB99.1 MB384.2 MB
Reopen and first point read4.9 ms0.5 ms5.3 ms0.4 ms

Part III: Cross-Platform CI Results ​

To verify portability beyond Apple Silicon, the full suite runs on GitHub Actions (ubuntu-latest x64, windows-latest x64, and macos M1 VM). Latest full CI refresh: 20 November 2026 (master @ 02fa240f, run 44748508039), plus a 21 November 2026 concurrent-ops re-run (44916996459).

Mean time of a filtered COUNT and of a primary-key lookup across four machines

Median latency of one durable update on three platforms

Total time of the vector scenario on three platforms

Key cross-platform findings:

  • Point lookups (20 Nov refresh): Linux x64 130.8 ns (Memory, 56 B) / 288.3 ns (LSM, 144 B) vs. SQLite 1,398 ns / 3,643 ns. Windows x64 239.6 ns (Memory) / 666.9 ns (LSM) vs. SQLite 2,024 ns / 6,741 ns.
  • Columnar aggregates (20 Nov refresh, 200k rows): Linux x64 9.29 µs (COUNT) and 27.7–40.6 µs (SUM/MIN/MAX, 0 B alloc); Windows x64 16.2 µs and 84.3–102.9 µs, outperforming both SQLite and 1-thread DuckDB on all platforms.
  • Concurrent ops (20–21 Nov CI): The 20 Nov concurrency fixes (44748508039) eliminated writer starvation in that run, sustaining 1.53M ops/s on 4-vCPU Linux (302,878 writes, 0.125 ms write P99) and Windows (98,696 writes, 1.084 ms write P99). However, the 21 Nov re-run (44916996459, adding a file-backed SQLite WAL NORMAL comparator) still observed intermittent writer starvation under 10-worker oversubscription on the 4-vCPU Windows runner (0 writes in 9,297 ms, while Linux completed 50,986 writes at 1.55M ops/s and 0.212 ms write P99, and SQLite WAL NORMAL completed 20,592 writes on Windows). Windows 4-vCPU contention remains an open issue.
  • Durability differences: On Linux VMs with fast virtual-disk flushes (~0.1 ms), SQLite's durable update (0.097 ms) leads DataVo Production (0.223 ms). On Windows (~2.5 ms) and macOS (~4.0 ms), hardware flush latency dominates and both engines tie.
  • SIMD paths: SimdDistanceKernels auto-dispatches AVX2 (256-bit) on x64, AdvSimd/NEON (128-bit) on Arm64, and TensorPrimitives / Vector<T> on portable targets.
Cross-Platform CI Tables, Unity IL2CPP Smoke & Historical Audit (July → November)

Latest CI Refresh (20 November 2026, master @ 02fa240f, Run 44748508039) ​

  • YCSB 80/20 (4 threads): Linux DataVo Relaxed 230,912 ops/s (0.43 ms write P99) vs SQLite 98,295 ops/s (3.20 ms). Windows DataVo Relaxed 70,735 ops/s (1.05 ms write P99) vs SQLite 33,256 ops/s (7.49 ms).
  • Space & recovery (1M rows): 28.15 MB on disk vs SQLite 29.08 MB; Relaxed warm reopen 1.65 ms (Linux) / 3.86 ms (Windows).

Platform Scaling Summary (12 November CI Run 43189115522) ​

ScenarioEngineLinux x64Windows x64Apple M4 Pro (local)
Complex VIP (50k insert + read)DataVo532 ms506 ms192 ms
DuckDB116,020 ms134,356 ms34,339 ms
SQLite234,852 ms249,796 ms126,064 ms
Vector search (10k × 1,536d)DataVo Flat552 ms812 ms299 ms
SQLite + sqlite-vec2,276 ms2,681 ms473 ms
Durable update P50 (50k updates)DataVo Production0.223 ms2.42 ms4.04 ms (20k)
SQLite (full)0.097 ms2.51 ms4.04 ms (20k)

Unity IL2CPP Smoke (macOS Standalone, Aggressive Stripping) ​

scripts/run-unity-macos-il2cpp-player-smoke.sh passed on Unity 6000.5.4f1 (universal arm64/x86_64, UnityLinker --rule-set=Aggressive, 0 AOT/linker warnings), verifying Unity Vector2/Vector3/Vector4/Quaternion storage plus Lsm and Disk persistence. This is a correctness proof, not a timing benchmark.

What Changed Since July 2026 (v0.1 Alpha Audit) ​

  • Strict durability: July's 502 ms ("417× faster than SQLite") did not wait for stable storage and was withdrawn; commit befede4 enforced durable visibility (84.6 s, matching SQLite's 84.9 s).
  • Flat vector allocation: July's 10.3 MB was not reproducible; current 61.7 MB reflects one copy of the 10,000 × 6,144 B input vectors during insert.
  • Disk footprint (1M rows): Dropped from 66.4 MB to 27.7 MB (5% smaller than SQLite) after clustered primary keys landed.

Methodology & Known Limits ​

All benchmarks use deterministic seeded datasets, Release builds on .NET 10, and pre-timing answer verification against either DataVo (Part I) or an independent mathematical oracle (sql-matrix / hybrid-vector).

Durability LabelWhat a Commit Waits ForPower-Loss Durable
DataVo LSM Production (LsmStrictFsync = true)WAL reaches stable storage (fsync)Yes
SQLite WAL full + fullfsync=1WAL reaches stable storage (fsync)Yes
DataVo LSM Relaxed (LsmStrictFsync = false)OS page-cache write onlyNo
SQLite WAL NORMALOS page-cache write onlyNo

Only configurations with matching durability should be compared. Key caveats:

  • Managed vs. native memory: GC.GetAllocatedBytesForCurrentThread and GC.GetTotalAllocatedBytes(precise: true) measure .NET managed allocations only; SQLite's page cache and DuckDB's native buffers are excluded.
  • Warm OS page cache: Reopen benchmarks run immediately after writing in the same process; they verify zero-scan open time, not cold-disk boot or crash replay.
  • Single-run variance: Part I (BenchmarkDotNet) provides 99.9% confidence intervals; Part II and CI scenarios run once per workload, so treat margins under ~20% as noise.
  • API overhead: SQLite and DuckDB are measured through ADO.NET (the standard .NET client path), while DataVo uses its native compiled LINQ and prepared-statement APIs.

See Also ​