Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.5 ms 651 rq/sec 1.2 ms 4,113 rq/sec 2.4 ms 4,128 rq/sec 4.8 ms 4,126 rq/sec
7,612
REST API 2.3 ms 431 rq/sec 1.8 ms 2,704 rq/sec 3.7 ms 2,725 rq/sec 7.2 ms 2,765 rq/sec
13,968

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