Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 3.2 ms 308 rq/sec 3.5 ms 1,436 rq/sec 7 ms 1,433 rq/sec 13.9 ms 1,435 rq/sec
2,877
REST API 8.6 ms 116 rq/sec 6.1 ms 819 rq/sec 12.3 ms 811 rq/sec 24.4 ms 818 rq/sec
4,064

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