Performance.

Blazing fast performance with minimal resource usage. Built for production at scale.

Key Performance Metrics

~1ms (Linux+OPcache) / ~8ms (Windows, no OPcache)
Cold Boot (no OPcache)
~0.5ms with OPcache
~0.5 MB
Base Framework Memory
~1.2 MB with middleware stack
239K
Static Route Dispatch (ops/sec)
14,971 dynamic · 120,481 middleware 5-layer

How We Compare

Laravel and Symfony are full-stack powerhouses with massive ecosystems. SiroPHP takes a different approach: lightweight, zero-dependency, API-first. These numbers reflect our different design goals — not a competition. Choose the right tool for your project.

MetricSiroPHPLaravel 11Symfony 7Slim 4
Boot Time2.4ms cold / 0.5ms OPcache30-60ms50-100ms5-10ms
Memory/Request~0.5 MB base~84 MB~55 MB~7 MB
Route Dispatch (static)239K ops/sec~500 ops/sec~1.2K ops/sec~3K ops/sec
Ecosystem SizeNiche (debug-testing)MassiveVery largeSmall
Zero DependenciesYes~60 packages~100+~20

Stress Test Results

Concurrent Requests

100 concurrent✓ Stable
500 concurrent✓ Stable
1000 concurrent⚠ Degraded

Response Time Distribution

P50 (Median)2ms
P958ms
P9915ms

Design Philosophy

Every framework makes trade-offs. Here's where SiroPHP deliberately differs.

AspectSiroPHPLaravel 11Symfony 7
FocusAPI + Debug workflowFull-stack webEnterprise web
Template EngineNone (API-first)BladeTwig
ORMMinimal, no depsEloquentDoctrine
DependenciesZero~60 packages~100+
Learning CurveLowMediumSteep
EcosystemNicheMassiveVery large

Methodology

Hardware: Ubuntu 22.04, AMD EPYC 2.6GHz, 8GB RAM

PHP Version: 8.2.30 with OPcache enabled (except cold boot test)

Benchmark Tool: PHPBench 1.3, 1,000 iterations per test, median reported

Route Dispatch: Measured using benchthroughput.php — pure routing, no middleware, no DB

Framework versions: Laravel 11.0, Symfony 7.0, Slim 4.14 — default install, no optimizations

Note: Laravel and Symfony are mature, full-featured frameworks with massive ecosystems, extensive documentation, and large communities. SiroPHP is not a replacement — it is a niche tool for teams who prioritize API debugging workflow, zero dependencies, and minimal resource usage. Each framework excels in its own domain. Choose what fits your project.

Full benchmark report →

Try It Yourself

composer create-project sirosoft/api my-api