There is this fantastic new feature in php 7.4 called preloading that appears to dramatically speed up performance.
“Using preloading without any code modification I got ~30% speed-up on ZF1_HelloWorld (3620 req/sec vs 2650 req/sec) and ~50% on ZF2Test (1300 req/sec vs 670 req/sec) reference applications. However, real world gains will depend on the ratio between the bootstrap overhead of the code and the runtime of the code, and will likely be lower”.
I’m not sure if we have a performance rig already for yii. But if yes it would firstly be interesting to see how we perform and secondly would be a great way to learn about preloading. There is bound to be best coding practises to get the most out of it. In which case we implement during the year getting ready for php 7.4 in Dec.
Who knows, maybe we could grab some headlines as one of the first optimised preloading frameworks out there