Benchmark Config Concurrency 1 Concurrency 5 Concurrency 10 Concurrency 20 Score
Hello world 1.9 ms 515 rq/sec 1.4 ms 3,488 rq/sec 2.8 ms 3,523 rq/sec 5.7 ms 3,521 rq/sec
6,373
REST API 3.2 ms 317 rq/sec 2.8 ms 1,789 rq/sec 5.5 ms 1,803 rq/sec 11.1 ms 1,802 rq/sec
9,500

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
Composer overload class

Allow to overload autoloaded classes, to include your files instead of supposed ones.

steevanb/composer-overload-class
Blackfire

Profile & optimize PHP apps.

blackfire.io