Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 2.3 ms 431 rq/sec 1.9 ms 2,612 rq/sec 3.8 ms 2,624 rq/sec 7.6 ms 2,641 rq/sec
4,893
REST API 3.5 ms 286 rq/sec 3.4 ms 1,476 rq/sec 6.8 ms 1,480 rq/sec 13.3 ms 1,499 rq/sec
8,069

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