Closed
Description
Calling for feedback + experiment from the community on this topic:
on a Symfony standard edition, prod env, no-debug, PHP 7, composer -o (ie normal setup for prod),
if I comment the line requiring bootstrap.php.cache
and the call to $kernel->loadClassCache();
in web/app.php
, it looks like my setup is not slowed down, if not a bit faster.
I used ab
for benching.
That could mean we don't need these optims in PHP 7 era.
If this is confirmed, it means we could consider deprecating ClassCollectionLoader
and $kernel->loadClassCache()
.
Could any of you try the same and report some resulting numbers?
Thanks in advance!