Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.1 ms 871 rq/sec 0.9 ms 5,307 rq/sec 1.8 ms 5,655 rq/sec 3.5 ms 5,665 rq/sec
10,215
REST API 2 ms 508 rq/sec 1.9 ms 2,639 rq/sec 3.4 ms 2,917 rq/sec 6.9 ms 2,908 rq/sec
14,975

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
PHP backtrace

Show nice equivalent to debug_backtrace(), with caller, code preview etc.

steevanb/php-backtrace