Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.4 ms 691 rq/sec 1.3 ms 3,810 rq/sec 2.4 ms 4,136 rq/sec 4.9 ms 4,121 rq/sec
7,579
REST API 2.5 ms 401 rq/sec 2.5 ms 2,020 rq/sec 4.6 ms 2,189 rq/sec 9.2 ms 2,167 rq/sec
11,455

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
Doctrine entity merger

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

steevanb/doctrine-entity-merger
Blackfire

Profile & optimize PHP apps.

blackfire.io