Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.3 ms 743 rq/sec 1.2 ms 4,223 rq/sec 2.2 ms 4,457 rq/sec 4.5 ms 4,486 rq/sec
8,238
REST API 2.3 ms 433 rq/sec 2.5 ms 2,026 rq/sec 4.6 ms 2,175 rq/sec 9.1 ms 2,187 rq/sec
11,765

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