Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.6 ms 614 rq/sec 1.2 ms 4,021 rq/sec 2.4 ms 4,085 rq/sec 4.8 ms 4,149 rq/sec
7,454
REST API 2.2 ms 452 rq/sec 1.9 ms 2,671 rq/sec 3.6 ms 2,795 rq/sec 7.2 ms 2,778 rq/sec
14,208

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