Benchmarks

How White Tree’s engine performs today, how we measured it, and where it is slower than general-purpose databases.

What we measured

OperationResultWhat it means
Write throughput122,000 records a secondLoading one million records, durable commits
Point read17 microseconds (median)Includes the permission check and a signed receipt; the receipt is 10.4 of the 17
Durable single commit4.2 msOne write, flushed to disk
Group commit1,840 commits a second16 concurrent writers; about 220 a second one at a time
Reads during writes0.43 ms (99th percentile)Snapshot reads while writes continue; 45 ms before snapshotting
Trajectory read167 microseconds (median)A ten-part trajectory over the agent protocol, on one machine
Proof991 bytes, verified in 0.1 msShows a record belongs to the signed history and has not been altered
Storage263 bytes a record263 MB for one million records
Search713 to 749 ms (99th percentile)Top ten results with an exact count: slow today, and a known area of work

How we measured it

  • White Tree’s native engine, in a release build.
  • An Apple M3 Max laptop. Figures for Linux servers will follow.
  • One million records, with durable commits: each write is flushed before it is acknowledged.
  • Every read includes a permission check and a signed receipt, as in production use.
  • Correctness: 261 tests across four components, with state checked against an independent reference model at every point in history. At one million records, 120 reference checks found no mismatches.
  • The full method and raw results are available on request.

Against general-purpose databases

The same one million records. SQLite and RocksDB are faster on raw reads and smaller on disk. The extra time and space buy retained history, a permission check and a signed receipt on every read.

MeasureWhite TreeSQLiteRocksDB
Load, one million records122,000 a second179,000 to 201,000211,000 to 228,000
Point read (median)17 microseconds1.7 microseconds2.8 microseconds
Durable single commit4.2 ms4.2 ms4.2 ms
Size on disk263 MB101 MB73 MB

Against our earlier engine

These compare White Tree with its own previous engine, not with other databases.

MeasureEarlier engineNative engine
Write throughput42 records a second122,000 a second (about 2,900x)
Point read with policy and receiptAbout 3 ms17 microseconds (about 180x)
Storage per recordAbout 13 KB263 bytes (about 50x smaller)
How load time growsQuadraticallyLinearly

Ready to get started?