Skip to content
~/docs/benchmarks/cross-language
DOCUMENTATION

Cross-Language

Bindings performance comparison

Cross-language benchmarks for KiteDB bindings. Latest run: February 4, 2026. Raw logs live in docs/benchmarks/results/.

Single-File Raw (10k nodes / 50k edges)

OperationRust p50Python p50
Key lookup (random existing)125ns208ns
1-hop traversal (out)208ns458ns
Edge exists (random)83ns167ns
Batch write (100 nodes)34.08us49.71us
Batch write (100 edges)40.25us53.96us
Batch write (100 edges + props)172.33us436.58us

TypeScript Fluent vs Low-Level (NAPI)

Config: 1k nodes, 5k edges, 1k iterations.

OperationLow-level p50Fluent p50Overhead
Insert (single node + props)115.25us36.83us0.32x
Key lookup (get w/ props)208ns1.63us7.81x
Key lookup (getRef)208ns791ns3.80x
Key lookup (getId)208ns333ns1.60x
1-hop traversal (count)1.21us5.75us4.76x
1-hop traversal (nodes)1.21us5.83us4.83x
1-hop traversal (toArray)1.21us10.38us8.59x
Pathfinding BFS (depth 5)170.79us167.71us0.98x

Vector index benchmarks are published on the vector benchmarks page.

Running Benchmarks

CommandDescription
cargo run --release --example single_file_raw_bench --no-default-features -- --nodes 10000 --edges 50000 --iterations 10000Rust single-file raw benchmark
python3 benchmark_single_file_raw.py --nodes 10000 --edges 50000 --iterations 10000Python single-file raw benchmark
node --import @oxc-node/core/register benchmark/bench-fluent-vs-lowlevel.tsTypeScript fluent vs low-level overhead