
Power of NestJS, More Throughput
Recommended reading: Moost without the ceremony — the framework architecture being benchmarked here. Performance claims from framework authors usually mean a hello-world endpoint. One route, no auth, no cookies — nothing like a real app. This benchmark tests the full HTTP lifecycle: 21 routes, cookie parsing (~20 cookies per request), auth guards, body parsing, error responses — all through each framework's DI layer. Traffic is weighted to match real SaaS patterns. Full source: prostojs/router-benchmark . DI overhead: 6% vs 12% DI framework Base layer Base req/s With DI Overhead Moost Wooks 70,332 66,049 6% NestJS (Fastify) Fastify 68,273 60,196 12% NestJS (Express) Express 47,147 42,359 10% Same features — decorators, DI, guards, interceptors. Moost's DI costs roughly half of what NestJS's does. Overall throughput Moost is ~10% faster than NestJS on Fastify across 20 weighted scenarios. But the overall number hides the real story. Cookie-auth routes: 14% faster The bulk of SaaS traffi
Continue reading on Dev.to
Opens in a new tab



