Closed shochdoerfer closed 7 years ago
Thank your for the quick PR! I am curious how much it improves Disco's performance!
Anyway, I prefer to put compiled containers in the "resource" directories in the repo because it is easier to analyze them like that. Would you mind if I changed the path of the generated container for Disco too?
Sure, not a problem. Go ahead. The change improved the performance a lot, using the stored configuration helps even more. But somehow the results seem a bit random. Need to dig into the why a bit more.
Do you run the tests with Docker? Unfortunately, with Docker for Mac they also seemed to be random for me too, so I had to install PHP-FPM on my host machine. This way, results are much more in line to what I supposed.
Yes I did run the tests in Docker. Good to know that this might be "problematic" ;)
Yeah, it is a bit sad thing to learn :/ I will try to use another image, and in the worst case, update the read me :D
But in any case, it's good to see that the new config improved Disco's performance a lot!
By configuring the proxy autoloader Disco will not re-generate the cache files on every request.