Feature benchmarks
GET / — dispatches a request through the router and returns a rendered template — no database access. The `/echo` band runs the same path with a constant handler instead, so what the template render costs can be read off directly rather than inferred.
GET /items — loads one page of the 1,000 seeded rows through each framework's ORM / Active Record layer: 20 items plus a COUNT for the pagination total. The `-fast` band repeats that page with hydration switched off, so the cost of building one object per row can be read directly instead of inferred.
GET /api/items — serves the same page of items as a JSON response rather than HTML, which adds serialization to the ORM work. The `-fast` band repeats that response with hydration switched off, so serialization cost and hydration cost can be told apart.
Latency by endpoint (ms, trimmed mean — lower is better) — the worker is never recycled (one long-lived worker), so each number is the measured request with no boot in it
| Request | Workload | Azera | Laravel | Symfony | Spiral | CodeIgniter | CakePHP |
|---|---|---|---|---|---|---|---|
GET / | no DB — routing + template only | 0.190 | 0.395 | 0.245 | 0.480 | 0.651 | 0.294 |
GET /echo | no DB — routing + dispatch only | 0.175 | 0.357 | 0.224 | 0.459 | 0.523 | 0.243 |
GET /items | 20 of 1000 items (page 1, + COUNT) | 0.302 | 0.909 | 0.849 | 0.814 | 1.03 | 0.713 |
GET /items-fast | 20 of 1000 items (page 1, + COUNT), hydrated rows not built | 0.271 | 0.717 | 0.795 | 0.732 | 0.981 | 0.665 |
GET /items/1 | 1 item by id | 0.229 | 0.688 | 0.500 | 0.625 | 0.912 | 0.554 |
POST /items | 1 row upserted (sentinel #999999) | 0.334 | 0.683 | 0.695 | 0.711 | 1.01 | 0.740 |
GET /items-qb | 20 of 1000 items (page 1, + COUNT) | 0.287 | 0.712 | 0.550 | 0.664 | 0.946 | 0.609 |
GET /items-qb/1 | 1 item by id | 0.234 | 0.633 | 0.417 | 0.557 | 0.900 | 0.521 |
POST /items-qb | 1 row upserted (sentinel #999997) | 0.285 | 0.719 | 0.575 | 0.631 | 1.09 | 0.571 |
GET /api/items | 20 of 1000 items as JSON | 0.266 | 0.781 | 0.519 | 0.624 | 0.908 | 0.495 |
GET /api/items-fast | 20 of 1000 items as JSON, rows not hydrated | 0.233 | 0.581 | 0.469 | 0.613 | 0.820 | 0.452 |
GET /api/items/1 | 1 item by id as JSON | 0.217 | 0.662 | 0.449 | 0.628 | 0.865 | 0.449 |
POST /api/items | 1 row upserted (sentinel #999998) | 0.250 | 0.663 | 0.616 | 0.688 | 0.904 | 0.580 |
GET /features/aop | no DB — interceptor pipeline | 0.326 | 0.625 | 0.481 | 0.825 | — | — |
GET /features/cache | COUNT(*) of 1000 rows, cached 10s (miss = query) | 0.181 | 0.475 | 0.251 | 0.569 | 0.635 | 0.245 |
GET /features/log | no DB — buffered log handlers | 0.183 | 0.438 | 0.249 | 0.558 | — | — |
GET /features/retry | no DB — retry policy | 0.179 | 0.458 | 0.256 | 0.650 | — | — |
GET /features/pipeline | no DB — middleware pipeline | 0.182 | 0.459 | 0.252 | 0.576 | — | — |
GET /features/db-events | 1 event row INSERTed per request | 0.248 | 0.697 | 0.505 | 0.802 | 0.983 | 0.512 |
GET /features/events | no DB — in-process listeners | 0.238 | 0.513 | 0.353 | 0.615 | 0.921 | 0.410 |
GET /features/validation | no DB — validator run | 0.184 | 1.09 | 0.456 | 0.621 | 0.864 | 0.387 |
GET /features/config | no DB — config lookup | 0.169 | 0.435 | 0.242 | 0.552 | 0.663 | 0.255 |
GET /features/request-scoped | no DB — scoped service resolve | 0.176 | 0.429 | 0.251 | 0.576 | 0.654 | 0.260 |
GET /features/rate-limit | no DB — cache-backed limiter | 0.176 | 0.493 | 0.265 | 0.592 | 0.647 | 0.273 |
Full comparison
This page is a summary. The complete report, with every feature chart and the endpoint table for all six frameworks, is published at: