Performance

Engine results

Dated results of the engine suites (memory, document format, filter, log, shards, bloom, MVCC, store, index and others) from the results log.

Source of every row: the project's benchmark results log. Machine: Windows 11 dev PC, 12 logical CPUs, rustc 1.93.0, release build. These are development numbers; the targets are to be re-run on the Linux reference machine (open item).

DateSuiteResult
2026-11-08memory-baselinestd/hashbrown 81 B per entry; slab + hashbrown table 10.49 B; slab + raftdb-table 8.75 B (8.7-12.1 for 0.3M-2M entries); reads 15.3-16.8M/s, 21M/s batched
2026-11-08doc-format111.7 B per document, 0.44 of JSON, 0.45 of BSON; 29.6M field reads/s; filter 18.4M docs/s (1 thread), 88.7M (6 threads); 52x faster than parsing JSON
2026-11-08exec-filterplan cache hit 0.03 us; compile 1.16 us; scan 15.1M docs/s (1 thread), 27.3M for a selective filter; 67M docs/s on 6 threads over 223 MB
2026-11-08walraw fsync p50 431 us; 8 workers x 32 connections: 305,903 durable records/s, ack p99 1.06 ms; recovery 1.49 GB/s; 589k/s with batches of 64; 6.3M/s without fsync. Reference run with 256 OS threads: 82.5k/s, p99 14.6 ms (scheduler-bound, no target)
2026-11-08shardring 319M msgs/s, round trip 171 ns; routed reads 41.6M/s; idle connection model 72 B
2026-11-08portableCRC: old byte-at-a-time 552 MB/s, portable slicing-by-8 2,235 MB/s (target 1,000: pass), hardware 10,292 MB/s
2026-11-09bloom0 false negatives; 0.97 % false positives and 1.25 B/key at 10 bits/key; 71.9M absent-key checks/s on a 10 MB filter (textbook layout 62.7M/s)
2026-11-09mvccheader 12 B; visibility 495M/s typical mix, 974M/s all-old, 183M/s worst case (64 running transactions)
2026-11-09sim1,000,000 schedules, 0 violations; planted bug found after 104 schedules; 5,042 schedules/s
2026-11-09store15.69 B/entry beyond key and document; reads 5.97M/s (32-key window), 4.70M/s one at a time; insert 5.3M/s; update 4.3M/s same size
2026-11-09store (scan)2M documents, filter age>30 AND active: 59.7M docs/s on 6 threads (target 50M)
2026-11-09schema1M documents, 12 fields: 3.16M docs/s validated (target 3M), 0 valid documents rejected, 100 % of wrong-type documents caught
2026-11-09dbblocking commit per 64 = 134k/s (fails the 300k target, shows the fsync-latency cap); shard thread + flusher thread = 3.43M/s; restart replay 3.23M records/s (target 2M)
2026-11-09db (open loop)300k inserts/s on a fixed schedule for 4 s: ack p50 0.70 ms, p99 6.4-14.4 ms (target 2 ms: fail), p99.9 25-44 ms; 5-29 ms stalls every 0.5-1 s from the machine; target kept, to be re-run on Linux
2026-11-09db (checkpoint)1M docs written twice: restart 503 ms; checkpoint 3.79M live docs/s (target 1M), log size ratio 0.50 (target 0.6); restart after checkpoint 315 ms
2026-11-09protoGet 49.9M ops/s (target 20M); Put (13+111 B) 37.9M/s; Found (111 B) 52.9M/s; GetBatch of 32 keys 93M keys/s
2026-11-09index2M pairs: 12.0 B/entry; equality lookup 2.23M/s (target 2M); range scan 372M entries/s; update 1.44M/s (target 1M)

Two things these rows show#

  • A target that failed. The p99 ack latency under an open loop at 300k inserts per second is 6.4-14.4 ms against a 2 ms target. The source records it as a failure, attributes the stalls to the machine, and keeps the target.
  • A design fixed after a failed target. The first store layout (offset array) read 3.1M/s and failed; it was redesigned . The first sim generator needed 1,795 schedules to find the planted bug and failed the target; the generator was fixed.

Portable against native build#

memory-baseline with --features portable against the default, two runs each (2026-11-08): single reads 11.1-12.0M/s against 15.1-15.2M/s; batched 12.4-12.9M/s against 20.2-20.5M/s; overhead 8.75 B in both.

See also#