Getting Started

Benchmarking

Performance

Raptor is designed for performance at scale. Here's how it compares to other popular frameworks, benchmarked on an Apple M3 Pro running Deno 2.7.2.

ScenarioRaptorOakHono
Single middleware2.5 µs4.1 µs4.0 µs
10 middleware3.8 µs5.7 µs9.2 µs
50 middleware10.0 µs12.5 µs27.5 µs
100 middleware15.9 µs21.6 µs50.9 µs
200 middleware28.1 µs37.5 µs94.2 µs
JSON processing5.0 µs6.5 µs6.8 µs

The performance advantage increases with scale, making Raptor the clear choice for production applications with complex middleware chains.

Running Benchmarks

You can run these benchmarks yourself by forking @raptor/kernel and running the following benchmarking script:

deno bench benchmark.ts
© 2026 Raptor