Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.6 ms 622 rq/sec 1 ms 4,795 rq/sec 2 ms 4,882 rq/sec 4.2 ms 4,782 rq/sec
8,515
REST API 2.5 ms 399 rq/sec 2.1 ms 2,407 rq/sec 4.1 ms 2,418 rq/sec 8.3 ms 2,404 rq/sec
12,497

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