Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.7 ms 578 rq/sec 1.3 ms 3,964 rq/sec 2.5 ms 4,039 rq/sec 5 ms 4,002 rq/sec
7,241
REST API 2.2 ms 452 rq/sec 1.9 ms 2,649 rq/sec 3.6 ms 2,767 rq/sec 7.2 ms 2,773 rq/sec
14,143

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