Skip to content
~/docs/benchmarks
DOCUMENTATION

Overview

Performance benchmarks overview

Performance benchmarks for KiteDB across graph operations, vector search, and bindings. Latest run: February 3, 2026. Raw logs live in docs/benchmarks/results/.

Benchmark Categories

Test Environment

  • Apple M4, 16GB RAM
  • macOS 15.3 (Darwin 25.3.0)
  • Rust 1.88.0
  • Node 24.12.0
  • Bun 1.3.5
  • Python 3.12.8

Highlights (p50)

Graph Operations

OperationRust Core
Key lookup (random existing)125ns
1-hop traversal (out)208ns
Edge exists (random)83ns
Batch write (100 nodes)45.62us

View detailed graph benchmarks →

Vector Index

OperationRust Core
Set vectors (10k)833ns
build_index()801.95ms
get (random)167ns
search (k=10, nProbe=10)557.54us

View detailed vector benchmarks →

Bindings Snapshot (Single-File Raw, p50)

OperationRustPython
Key lookup (random existing)125ns208ns
1-hop traversal (out)208ns375ns
Edge exists (random)83ns125ns
Batch write (100 nodes)45.62us253.08us

View cross-language benchmarks →

Parallel Write Scaling (Single-File)

Writes don’t scale linearly with more writer threads. Commits must serialize WAL ordering and delta application (see commit_lock), so the best ingest pattern is usually: parallelize batch prep, funnel into 1 writer doing batched transactions.

Measured February 5, 2026 on local dev machine (10 CPUs). Full details and configs are in docs/BENCHMARKS.md.

Running Benchmarks

CommandDescription
cargo run --release --example single_file_raw_bench --no-default-featuresRust single-file raw benchmark
python3 benchmark_single_file_raw.pyPython single-file raw benchmark
node --import @oxc-node/core/register benchmark/bench-fluent-vs-lowlevel.tsTypeScript fluent vs low-level overhead
cargo run --release --example vector_bench --no-default-featuresRust vector index benchmark