Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.4 ms 717 rq/sec 0.9 ms 5,326 rq/sec 1.8 ms 5,410 rq/sec 3.7 ms 5,367 rq/sec
9,550
REST API 2.8 ms 359 rq/sec 2.1 ms 2,413 rq/sec 4.1 ms 2,449 rq/sec 8.2 ms 2,449 rq/sec
12,231

Performance tools

Doctrine stats

Get Doctrine stats : managed entities, lazy loaded entities, hydration time etc.

steevanb/doctrine-stats
Doctrine read only hydrator

Add SimpleObject and ReadOnly hydrators do Doctrine (3,5x faster).

steevanb/doctrine-read-only-hydrator
Symfony container introspection

View Symfony Container instantiated services, public / private services etc.

steevanb/symfony-container-introspection
Blackfire

Profile & optimize PHP apps.

blackfire.io