Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 2 ms 506 rq/sec 1.6 ms 3,142 rq/sec 3.2 ms 3,152 rq/sec 6.4 ms 3,131 rq/sec
5,832
REST API 3.2 ms 310 rq/sec 2.8 ms 1,807 rq/sec 5.6 ms 1,794 rq/sec 11.2 ms 1,787 rq/sec
9,434

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