Benchmarks — Proof in the Numbers
Real-world tests show MonkeysLegion outruns bulky stacks while sipping CPU and memory.
We don’t just claim speed—we measure it. All benchmarks are repeatable, run on PHP 8.3 with OPcache, inside Docker on a single vCPU, and compare MonkeysLegion’s core against popular full-stack frameworks. The results reveal why lean architecture matters: higher requests-per-second, lower latency, and slimmer RAM use without sacrificing DX or features.

Router Throughput
> 200 k req/s dispatching dynamic routes—4× faster than Laravel Sail in the same container.
Cold-Boot Time
38 ms from index.php to first byte with DI, config, and autoload—no warmed cache needed.
Memory Footprint
9 MB resident set after full app bootstrap—less than half the footprint of Symfony full-stack.
Benchmarks
Detailed Insights
Sustained Throughput
Benchmarked under constant load, MonkeysLegion maintains > 200 k requests per second with sub-millisecond route resolution. Even as payload size and middleware layers increase, the trie-based router never becomes the bottleneck—so your API stays snappy at scale.
Instant Cold Start
Traditional full-stack frameworks often lean on warmed OPCache or pre-boot daemons. We avoid that complexity: on an uncached PHP 8.3 process, MonkeysLegion boots from zero to first byte in just 38 ms, thanks to compile-time DI and zero-reflection hydration.
Ultra-Lean Memory
After wiring up your services, loading configs, and registering event listeners, the resident memory sits at a mere 9 MB. That compact footprint lets you pack more instances per host or spin up ephemeral containers without the usual RAM tax.
Why It Matters
By quantifying these real-world numbers—under identical Docker + vCPU conditions—you get transparent evidence that a modular, no-magic core translates directly into operational savings, faster time-to-market, and superior developer experience without compromise.