Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.9 ms 536 rq/sec 1.3 ms 3,762 rq/sec 2.6 ms 3,796 rq/sec 5.2 ms 3,840 rq/sec
6,838
REST API 2.6 ms 381 rq/sec 1.9 ms 2,624 rq/sec 3.8 ms 2,664 rq/sec 7.6 ms 2,642 rq/sec
13,184

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