Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 3.4 ms 295 rq/sec 3.6 ms 1,373 rq/sec 7.3 ms 1,371 rq/sec 14.7 ms 1,364 rq/sec
2,748
REST API 8.5 ms 117 rq/sec 6.5 ms 771 rq/sec 12.9 ms 776 rq/sec 26 ms 770 rq/sec
3,904

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