Performance Benchmarks

Independent, verifiable performance testing using industry-standard tools. All benchmarks are reproducible and conducted with production configurations.

Synthetic Benchmarks

Minimal "hello world" tests using autocannon - the same methodology used by Fastify's official benchmarks.

MoroJS68,392 req/sec
Fastify46,400 req/sec
+47% faster

• Same hardware, same methodology

• Production configurations

• 100 connections, 40s duration

Real-World Performance

Production-ready API with TypeScript validation, JSON processing, and intelligent routing.

GET Endpoints52,992 req/sec
POST + Validation37,863 req/sec
Average Latency4-6ms

• Full Zod validation included

• TypeScript end-to-end

• Zero error rate

Testing Methodology

Tools & Environment

  • Autocannon (industry standard)
  • MacBook Studio M2 Ultra
  • Node.js v22.12.0
  • Production configuration

Test Parameters

  • 100 concurrent connections
  • 40 second duration
  • 10 pipelined requests
  • Multiple test runs

Important Note

These are synthetic benchmarks designed to measure framework overhead. Real-world performance depends on your application logic, database queries, external API calls, and other factors. Always benchmark your specific use case.

Reproduce These Results

# Clone the repository

git clone https://github.com/Moro-JS/moro.git

cd moro

# Install dependencies and build

npm install

npm run build

# Run synthetic benchmark

cd benchmark

npm install

npm run hello-world &

npm run bench

# Run real-world benchmark

cd ../examples/simple-api

npm install && npm run build

npm start &

cd ../../benchmark && npm run bench-real