Skip to main content
Multilingual TursoDB, MVCC & AI Agent database guides Read Engine Guide →
Real-Hardware Verification Lab Verified Real-Hardware Run Loaded

TursoDB Real-Hardware Benchmarks & Verification

Open, reproducible real-hardware benchmarks across Node.js, Bun, Rust, and Shell. Zero fabricated numbers—every chart renders directly from verified Linux hardware JSON runs.

Verified Environment Fingerprint

linux-kvm-xeon-e2288g-v2 · 2026-12-05T19:14:15Z
CPU / RAM
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz (8c / 7.8GB)
Virt / Kernel
kvm · 6.8.0-147-generic
io_uring Probe
ENABLED · io_uring_setup(8) succeeded
Filesystem
ext4

8 Reproducible Verification Scenarios (E1–E8)

Each scenario isolates one real production question—from container io_uring seccomp checks and equal-FULL MVCC writes to 1,000 isolated AI agent databases.

E1 VERIFIED
Node.js Bun

Concurrent Writes: TursoDB MVCC vs SQLite WAL

1 / 4 / 8 / 16 concurrent writers across low-contention append and hot-row contention workloads.

Engines
TursoDB (BEGIN CONCURRENT) vs better-sqlite3 & bun:sqlite (WAL)
Measured
Write TPS · p50 / p95 / p99 latency · SQLITE_BUSY & conflict retry rate
Reproduce
bash benchmarks/run-suite.sh --only e1 --runtime all

Concurrent Read-Compute(2ms)-Write TX @ 16w (bun 1.4.5)

Higher is better · tx/s
TursoDB BEGIN CONCURRENT · 16w (p99 44.894ms · retries 0%) 1,795 tx/s
bun:sqlite (WAL FULL) BEGIN IMMEDIATE · 16w (p99 933.177ms · busy 170) 261.6 tx/s

Concurrent Read-Compute(2ms)-Write TX p99 Latency @ 16w (bun 1.4.5)

Lower is better · ms
TursoDB BEGIN CONCURRENT · 16w 44.9 ms
bun:sqlite (WAL FULL) BEGIN IMMEDIATE · 16w (pessimistic writer lock queue) 933.2 ms

Durable Append Throughput — Verified FULL Sync (bun 1.4.5)

Higher is better · ops/s
TursoDB MVCC · 1w (bun 1.4.5) (sync=2 · retries 0%) 2,853 ops/s
bun:sqlite (WAL FULL) · 1w (sync=2 · busy 0) 2,463 ops/s
TursoDB MVCC · 4w (bun 1.4.5) (sync=2 · retries 0%) 2,700 ops/s
bun:sqlite (WAL FULL) · 4w (sync=2 · busy 14) 2,141 ops/s
TursoDB MVCC · 8w (bun 1.4.5) (sync=2 · retries 0%) 2,793 ops/s
bun:sqlite (WAL FULL) · 8w (sync=2 · busy 26) 2,431 ops/s
TursoDB MVCC · 16w (bun 1.4.5) (sync=2 · retries 0%) 2,399 ops/s
bun:sqlite (WAL FULL) · 16w (sync=2 · busy 89) 1,464 ops/s

Durable Append p99 Latency — Verified FULL Sync (bun 1.4.5)

Lower is better · ms
TursoDB MVCC · 1w (bun 1.4.5) 0.61 ms
bun:sqlite (WAL FULL) · 1w 0.78 ms
TursoDB MVCC · 4w (bun 1.4.5) 2.94 ms
bun:sqlite (WAL FULL) · 4w 1.17 ms
TursoDB MVCC · 8w (bun 1.4.5) 3.59 ms
bun:sqlite (WAL FULL) · 8w 1.31 ms
TursoDB MVCC · 16w (bun 1.4.5) 46.6 ms
bun:sqlite (WAL FULL) · 16w 258.8 ms

Concurrent Read-Compute(2ms)-Write TX @ 16w (node v22.23.5)

Higher is better · tx/s
TursoDB BEGIN CONCURRENT · 16w (p99 57.322ms · retries 0%) 1,353 tx/s
better-sqlite3 (WAL FULL) BEGIN IMMEDIATE · 16w (p99 916.636ms · busy 169) 268.1 tx/s

Concurrent Read-Compute(2ms)-Write TX p99 Latency @ 16w (node v22.23.5)

Lower is better · ms
TursoDB BEGIN CONCURRENT · 16w 57.3 ms
better-sqlite3 (WAL FULL) BEGIN IMMEDIATE · 16w (pessimistic writer lock queue) 916.6 ms

Durable Append Throughput — Verified FULL Sync (node v22.23.5)

Higher is better · ops/s
TursoDB MVCC · 1w (node v22.23.5) (sync=2 · retries 0%) 2,410 ops/s
better-sqlite3 (WAL FULL) · 1w (sync=2 · busy 0) 2,259 ops/s
TursoDB MVCC · 4w (node v22.23.5) (sync=2 · retries 0%) 2,748 ops/s
better-sqlite3 (WAL FULL) · 4w (sync=2 · busy 13) 2,272 ops/s
TursoDB MVCC · 8w (node v22.23.5) (sync=2 · retries 0%) 2,670 ops/s
better-sqlite3 (WAL FULL) · 8w (sync=2 · busy 27) 2,149 ops/s
TursoDB MVCC · 16w (node v22.23.5) (sync=2 · retries 0%) 2,406 ops/s
better-sqlite3 (WAL FULL) · 16w (sync=2 · busy 93) 1,403 ops/s

Durable Append p99 Latency — Verified FULL Sync (node v22.23.5)

Lower is better · ms
TursoDB MVCC · 1w (node v22.23.5) 0.96 ms
better-sqlite3 (WAL FULL) · 1w 0.91 ms
TursoDB MVCC · 4w (node v22.23.5) 2.51 ms
better-sqlite3 (WAL FULL) · 4w 1.07 ms
TursoDB MVCC · 8w (node v22.23.5) 5.42 ms
better-sqlite3 (WAL FULL) · 8w 102.6 ms
TursoDB MVCC · 16w (node v22.23.5) 42.0 ms
better-sqlite3 (WAL FULL) · 16w 207.8 ms
E2 VERIFIED
Shell Node.js Bun

Linux I/O Stack & Virtualization: io_uring × fsync × seccomp

Probes real io_uring_setup syscall availability and measures 4 KiB WAL fsync latency plus decoupled fio queue-depth IOPS.

Engines
Linux KVM / Bare-Metal (io_uring qd=1 & qd=8) vs blocking psync (qd=1) & container seccomp check
Measured
io_uring syscall result · 4K fsync p50/p95/p99 · decoupled fio IOPS
Reproduce
bash benchmarks/run-suite.sh --only e2

4KiB WAL fsync Latency (kvm · ext4)

Lower is better · ms
fsync p50 0.35 ms
fsync p95 0.49 ms
fsync p99 0.58 ms

fio 4K Random Write + fsync: io_uring (qd=8/1) vs psync (qd=1) (kvm)

Higher is better · IOPS
fio io_uring (qd=8 · kvm) (fsync p99 1.09ms · write clat p99 0.444ms) 16,641 IOPS
fio io_uring (qd=1 · kvm) (fsync p99 0.758ms · write clat p99 0.092ms) 2,391 IOPS
fio psync (qd=1 · kvm) (fsync p99 0.618ms · write clat p99 0.023ms) 2,926 IOPS
E3 VERIFIED
Node.js Bun

Database-per-Agent Density: 100 / 1,000 / 5,000 Isolated DBs

Measures cold provisioning speed, RSS memory, disk footprint, and concurrent random reads across thousands of DB files.

Engines
TursoDB per-agent files vs PostgreSQL shared-schema multi-tenant baseline
Measured
Provisioning time · RSS RAM (MB) · disk footprint · 100-concurrency read p99
Reproduce
bash benchmarks/run-suite.sh --only e3 --runtime all

Per-Agent DB Provisioning Time (1000 DBs · bun 1.4.5)

Lower is better · ms
Avg create + schema + seed per DB 3.30 ms

Resource Footprint Across 1000 Isolated DBs (bun 1.4.5)

Lower is better · MB
Process RSS (1000 warm handles open) (base 39.62MB / create 58.71MB / closed 169.09MB) 2,165 MB
Total disk footprint (.db + WAL) 24.0 MB

Multi-Tenant Read p99 @ 50 concurrency (bun 1.4.5)

Lower is better · ms
TursoDB 1000 Isolated DBs — Warm Cache (bun 1.4.5) (p50 0.395ms · in-process (0 TCP)) 0.56 ms
PostgreSQL 16 Shared Table — Warm Pool (1000 tenants) (p50 2.255ms · max=50 TCP named-prepared) 7.55 ms
TursoDB 1000 Isolated DBs — Fresh Open+Close (zero-cache serverless handle open) 30.3 ms

Per-Agent DB Provisioning Time (1000 DBs · node v22.23.5)

Lower is better · ms
Avg create + schema + seed per DB 2.72 ms

Resource Footprint Across 1000 Isolated DBs (node v22.23.5)

Lower is better · MB
Process RSS (1000 warm handles open) (base 58.99MB / create 72.87MB / closed 182.73MB) 2,185 MB
Total disk footprint (.db + WAL) 24.0 MB

Multi-Tenant Read p99 @ 50 concurrency (node v22.23.5)

Lower is better · ms
TursoDB 1000 Isolated DBs — Warm Cache (node v22.23.5) (p50 0.785ms · in-process (0 TCP)) 1.23 ms
PostgreSQL 16 Shared Table — Warm Pool (1000 tenants) (p50 3.898ms · max=50 TCP named-prepared) 8.02 ms
TursoDB 1000 Isolated DBs — Fresh Open+Close (zero-cache serverless handle open) 28.4 ms
E4 VERIFIED
Shell Node.js Bun

Native Encryption Overhead: Plaintext vs AEGIS-256 vs AES-256-GCM

Verifies page-level encryption overhead on AES-NI hardware and checks raw ciphertext boundary on disk.

Engines
TursoDB Plaintext vs --experimental-encryption (aegis256 / aes256gcm)
Measured
Read / Write overhead % · ciphertext verification · key-less open rejection
Reproduce
bash benchmarks/run-suite.sh --only e4

Bulk Write Latency: Plaintext vs Native Encryption (50,000 rows · median)

Lower is better · ms
TursoDB Plaintext (50,000 rows bulk write) (Baseline (unencrypted)) 195.0 ms
TursoDB AEGIS-256 (50,000 rows bulk write) (+40.0% vs Plaintext) 273.0 ms
TursoDB AES-256-GCM (50,000 rows bulk write) (+64.1% vs Plaintext) 320.0 ms

Full-Table Decrypt Scan Latency (50,000 rows · fresh open median)

Lower is better · ms
TursoDB Plaintext (full-table decrypt scan) (Baseline (unencrypted)) 14.0 ms
TursoDB AEGIS-256 (full-table decrypt scan) (+42.9% vs Plaintext) 20.0 ms
TursoDB AES-256-GCM (full-table decrypt scan) (+135.7% vs Plaintext) 33.0 ms
E5 VERIFIED
Node.js Bun

Native Vector Precision: vector32 vs vector8 vs vector1bit

10k / 50k / 100k 384-dim embeddings benchmarked for storage compression, cosine latency, and Recall@10.

Engines
TursoDB vector32 (Float32) vs vector8 (Int8) vs vector1bit (Binary)
Measured
DB file size (MB) · cosine top-10 query ms · Recall@10 accuracy
Reproduce
bash benchmarks/run-suite.sh --only e5 --runtime all

Vector Storage Footprint (10000 × 384d · WAL-checkpointed · bun 1.4.5)

Lower is better · MB
TursoDB vector32 (10000 × 384d) (float32 baseline (1.0×)) 19.6 MB
TursoDB vector8 (10000 × 384d) (5.0× smaller vs float32) 3.92 MB
TursoDB vector1bit (10000 × 384d) (34.1× smaller vs float32) 0.57 MB

Cosine Top-10 p50 Latency & Recall@10 (bun 1.4.5)

Lower is better · ms
TursoDB vector32 Top-10 Cosine (bun 1.4.5) (p99 7.707ms · Recall@10 100%) 6.88 ms
TursoDB vector8 Top-10 Cosine (bun 1.4.5) (p99 5.892ms · Recall@10 97.2%) 5.79 ms
TursoDB vector1bit Top-10 Cosine (bun 1.4.5) (p99 2.22ms · Recall@10 10.5%) 2.17 ms

Vector Storage Footprint (10000 × 384d · WAL-checkpointed · node v22.23.5)

Lower is better · MB
TursoDB vector32 (10000 × 384d) (float32 baseline (1.0×)) 19.6 MB
TursoDB vector8 (10000 × 384d) (5.0× smaller vs float32) 3.92 MB
TursoDB vector1bit (10000 × 384d) (34.1× smaller vs float32) 0.57 MB

Cosine Top-10 p50 Latency & Recall@10 (node v22.23.5)

Lower is better · ms
TursoDB vector32 Top-10 Cosine (node v22.23.5) (p99 7.341ms · Recall@10 100%) 6.89 ms
TursoDB vector8 Top-10 Cosine (node v22.23.5) (p99 6.007ms · Recall@10 97.2%) 5.72 ms
TursoDB vector1bit Top-10 Cosine (node v22.23.5) (p99 2.255ms · Recall@10 10.5%) 2.15 ms
E6 VERIFIED
Node.js Bun

OLTP + OLAP Hybrid: TursoDB vs DuckDB + Direct ATTACH

Compares 100k OLTP point writes vs 1M-row analytical GROUP BY, plus zero-copy DuckDB ATTACH on TursoDB files.

Engines
TursoDB (Row OLTP) vs DuckDB (Columnar OLAP) + Hybrid ATTACH pipeline
Measured
Point-write TPS · 1M-row aggregation ms · zero-copy ATTACH scan latency
Reproduce
bash benchmarks/run-suite.sh --only e6

OLTP Single-Row Point Writes (Prepared · 5000 tx · bun 1.4.5)

Higher is better · ops/s
TursoDB Row OLTP (bun 1.4.5) 2,519 ops/s
DuckDB Columnar (Prepared) 1,174 ops/s

OLAP GROUP BY Aggregation (100,000 rows · median · bun 1.4.5)

Lower is better · ms
TursoDB OLAP GROUP BY (100,000 rows) 33.2 ms
DuckDB Native Columnar (100,000 rows) 3.80 ms
DuckDB ATTACH → TursoDB .db (zero-copy) (Verified 100,000 rows) 20.2 ms

OLTP Single-Row Point Writes (Prepared · 5000 tx · node v22.23.5)

Higher is better · ops/s
TursoDB Row OLTP (node v22.23.5) 2,324 ops/s
DuckDB Columnar (Prepared) 1,191 ops/s

OLAP GROUP BY Aggregation (100,000 rows · median · node v22.23.5)

Lower is better · ms
TursoDB OLAP GROUP BY (100,000 rows) 32.6 ms
DuckDB Native Columnar (100,000 rows) 3.55 ms
DuckDB ATTACH → TursoDB .db (zero-copy) (Verified 100,000 rows) 21.5 ms
E7 VERIFIED
Rust Shell

Modern Embedded Rust & Go: TursoDB vs Stoolap vs ChaiSQL

Native Cargo & Go harness measuring cold start, 100k batch inserts, primary-key lookup p99, and sqlite3 CLI interop.

Engines
TursoDB (Rust) vs Stoolap (Rust) vs ChaiSQL (Pure Go)
Measured
Cold open ms · 100k insert TPS · point lookup p99 · SQLite file compatibility
Reproduce
bash benchmarks/run-suite.sh --only e7

Native Batch Insert Throughput (50,000 rows · Prepared · Rust --release)

Higher is better · rows/s
TursoDB 0.8.4 (Rust SQLite Format) (WAL + FULL · prepared) 696,035 rows/s
C SQLite 3.54.1 (rusqlite bundled) (WAL + FULL · prepared) 2,764,592 rows/s
Stoolap 0.5.1 (Rust HTAP) (file:// default sync (normal) · prepared) 492,556 rows/s

Native Primary-Key Point Lookup p99 (2,000 verified queries · Prepared)

Lower is better · ms
TursoDB 0.8.4 Point Lookup p99 (p50 0.0014ms) 0.0017 ms
C SQLite 3.54.1 Point Lookup p99 (p50 0.0012ms) 0.0014 ms
Stoolap 0.5.1 Point Lookup p99 (p50 0.0004ms) 0.0008 ms
E8 VERIFIED
Shell Bun Node.js

AgentFS Sandbox: Spin-Up, CoW Writes, Snapshots & SQL Audit

Measures single-file POSIX sandbox creation, 1,000 file mutations, instant cp snapshot, and SQL timeline queries.

Engines
AgentFS CLI / SDK single-file CoW sandbox vs host directory baseline
Measured
Sandbox init ms · 1k file write throughput · snapshot ms · SQL audit query ms
Reproduce
bash benchmarks/run-suite.sh --only e8

AI Sandbox Snapshot (Uncompressed): AgentFS Single-File vs Host Dir (100 files)

Lower is better · ms
AgentFS Single-File Snapshot (`cp` after WAL checkpoint) (76.0 KiB · integrity_check=ok) 0.30 ms
Host Directory Snapshot (`cp -r`, 100 files) (19.1× vs single-file cp) 5.73 ms
Host Directory Archive (uncompressed `tar`, 100 files) (33.5× vs single-file cp) 10.1 ms

AgentFS Sandbox Operations & SQL Audit Latency

Lower is better · ms
AgentFS `init` (single .db) 20.9 ms
AgentFS CLI writes (100× fork/exec) (~8.76ms per CLI subprocess) 876.3 ms
AgentFS SQL Timeline Audit 16.3 ms

Reproduce on Your Own Linux Host

Clone the repository onto a Linux server or KVM VM (Linux >= 6.8, CPU host passthrough) and run the environment probe plus the full or selective verification suite.

Linux Real-Hardware · Node.js + Bun + Rust + Shell
# 1. Probe CPU flags (AES-NI/AVX2), Linux kernel, ZFS & real io_uring syscall
bash benchmarks/env-probe.sh

# 2. Install Node.js / Bun benchmark dependencies
(cd benchmarks && bun install)   # or: (cd benchmarks && npm install)

# 3. Run selected or all 8 scenarios across Node.js, Bun & Rust
bash benchmarks/run-suite.sh --all --runtime all

# 4. Import real hardware JSON report into website charts
npm run benchmarks:import benchmarks/results/<report>.json
Search
Press Esc to close · Powered by Pagefind