Akan.js Benchmark
Run: 2026-05-30T17-11-35-780Z
Akan.js benchmark results
Akan.js was measured on a MacBook M4 Pro to check the practical performance of its HTTP, Signal API, document DB, and realtime WebSocket paths. The goal is simple: show how fast it is, where it sits next to familiar baselines, and whether the results clear practical service-level targets.
Summary
- All measured Akan scenarios passed their throughput and p99 latency SLOs.
- Pure HTTP reached 119,571 RPS, placing Akan in the same practical range as Bun-native minimal router baselines.
- Signal API reached 33,845 RPS while still running Akan's API lifecycle, which is the more relevant number for application code.
- Document DB APIs stayed within the target range, including list and relation-style reads.
- WebSocket fan-out delivered 50k messages/sec to 1,000 local subscribers with p99 delivery latency at 11ms and no dropped messages.
Performance at a glance
The bars below summarize two questions readers usually ask first: how much room each Akan path has against its SLO, and how the raw HTTP path compares with familiar framework baselines.
SLO margin by scenario
Pure HTTP
pure_http_no_db
2.4x RPS target, 6.2x p99 headroom
Signal API
signal_no_db
1.7x RPS target, 3.4x p99 headroom
DB Find
db_find_one
1.6x RPS target, 3.8x p99 headroom
DB List
db_list
1.1x RPS target, 1.3x p99 headroom
DB Relation
db_relation
10.8x RPS target, 11.5x p99 headroom
