Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 3.4 ms 294 rq/sec 3.5 ms 1,409 rq/sec 7.2 ms 1,388 rq/sec 14.2 ms 1,403 rq/sec
2,788
REST API 9 ms 111 rq/sec 6.3 ms 788 rq/sec 12.6 ms 795 rq/sec 25.5 ms 783 rq/sec
3,912

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