Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.3 ms 771 rq/sec 1.2 ms 4,010 rq/sec 2.3 ms 4,347 rq/sec 4.5 ms 4,452 rq/sec
8,143
REST API 1.9 ms 517 rq/sec 1.9 ms 2,699 rq/sec 3.3 ms 3,000 rq/sec 6.7 ms 2,982 rq/sec
15,319

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