Performance.
Blazing fast performance with minimal resource usage. Built for production at scale.
Key Performance Metrics
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.
| Metric | SiroPHP | Laravel 11 | Symfony 7 | Slim 4 |
|---|---|---|---|---|
| Boot Time | 2.4ms cold / 0.5ms OPcache | 30-60ms | 50-100ms | 5-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 Size | Niche (debug-testing) | Massive | Very large | Small |
| Zero Dependencies | Yes | ~60 packages | ~100+ | ~20 |
Stress Test Results
Concurrent Requests
Response Time Distribution
Design Philosophy
Every framework makes trade-offs. Here's where SiroPHP deliberately differs.
| Aspect | SiroPHP | Laravel 11 | Symfony 7 |
|---|---|---|---|
| Focus | API + Debug workflow | Full-stack web | Enterprise web |
| Template Engine | None (API-first) | Blade | Twig |
| ORM | Minimal, no deps | Eloquent | Doctrine |
| Dependencies | Zero | ~60 packages | ~100+ |
| Learning Curve | Low | Medium | Steep |
| Ecosystem | Niche | Massive | Very 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.
Try It Yourself
composer create-project sirosoft/api my-api