Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.4 ms 722 rq/sec 1.2 ms 4,012 rq/sec 2.3 ms 4,375 rq/sec 4.7 ms 4,265 rq/sec
7,940
REST API 2 ms 504 rq/sec 1.8 ms 2,743 rq/sec 3.4 ms 2,984 rq/sec 6.7 ms 2,994 rq/sec
15,252

Performance tools

Doctrine read only hydrator

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

steevanb/doctrine-read-only-hydrator
Doctrine entity merger

Add hint MERGE_ENTITY to merge fields retrieved by many queries with PARTIAL.

steevanb/doctrine-entity-merger
Symfony container introspection

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

steevanb/symfony-container-introspection
Blackfire

Profile & optimize PHP apps.

blackfire.io