I load two libraries via composer:
azure-sdk-for-php. By only loading those libraries I slow down my application's RPS almost by 50%. I don't event instantiate those libraries in my code. They are only loaded by:
require __DIR__ . '/../vendor/autoload.php';
Results with Composer libraries
$ ab -n 1000 -c 50 http://127.0.0.1 Requests per second: 813.27 [#/sec] (mean)
Results without Composer libraries:
$ ab -n 1000 -c 50 http://127.0.0.1 Requests per second: 1509.20 [#/sec] (mean)
Is there any way to speed things up but still use libraries available in Composer or do I simply need to live with this performance decrease?