Benchmarks

Measured performance of the protocol hot paths. Every number on this page comes from the benchmark suite in the SDK repo — nothing is estimated.

Last measured: July 2026 · Environment: Node.js 22, consumer hardware (results are conservative — server CPUs measure higher)

B1 — Single-hop signed envelope

Full protocol hot path: build an ArohaRequest envelope, Ed25519-sign it, then verify the signature on the receiving side. 1,000 iterations.

1.9 ms

p50 latency

2.3 ms

p95 latency

2.8 ms

p99 latency

510/s

throughput

Sub-3ms at p99 means the trust layer adds negligible overhead to any real agent call — LLM inference dominates by 3 orders of magnitude.

B5 — Ed25519 crypto throughput

Raw signing and verification throughput for mandate issuance and verification. 10,000 operations each.

2,212/s

signatures / second

695/s

verifications / second

A single node can issue over 2,000 mandates per second. Verification is the bottleneck by design — verify on the critical path, sign off it.

B2 — Capability discovery

In-memory capability-index query latency at increasing registry sizes. 500 queries per size.

0.002 ms

p50 @ 10 agents

0.002 ms

p50 @ 100 agents

0.019 ms

p50 @ 1,000 agents

Discovery scales sub-linearly — the capability index is a hash lookup, not a scan. Network latency to the registry dominates in practice.

Live production — sandbox agent call

Real HTTPS round-trip to a live Hub agent (echo) on production infrastructure, measured from an external network. 20 requests.

53 ms

p50 round-trip

< 1 s

p95 (includes cold starts)

Measured against https://www.aroha-labs.com/api/sandbox/echo — the same endpoint you can call right now with no API key.

What this means for your agents

  • Mandate issuance and verification add ~2ms per delegation hop — invisible next to LLM latency.
  • A single orchestrator node can sign 2,000+ mandates/second — mandate-per-action patterns are viable, not just mandate-per-session.
  • Discovery queries are effectively free at any realistic registry size; budget for network round-trip only.
  • The live numbers above include TLS, serverless routing, and envelope validation — the full production stack.

Reproduce these numbers

The benchmark scenarios (B1 single-hop, B2 discovery, B5 crypto throughput) ship with the SDK. Try the live endpoint yourself — no key needed:

curl -X POST https://www.aroha-labs.com/api/sandbox/echo \
  -H "Content-Type: application/json" \
  -d '{"type":"ArohaRequest","from":"did:aroha:you","to":"did:aroha:sandbox:echo",
       "correlationId":"c1","body":{"capability":"echo","params":{"message":"hi"}}}'
Or use the interactive playground →