/install/upgrade.php too slow
Any idea how to speed up /install/upgrade.php ? I have mentioned issues with performance after upgrade to 6.7.79 and although the cache was cleared a minute ago, next call takes about 1 minute sometimes more.
Do you run it with multi instance?
Yes and no, the same issue is also on dev with debug. Earlier I mentioned it took some time on instances where were a lot of changes however second call was much faster. Currently every install/upgrade call with the intention to reload caches etc take too long
Strange, I don't see the same thing. Perhaps you can use xdebug to produce a profile?
Fixed at least on my dev - one cron task which was managed externally by supervisor hadnt session write close in it. However it didnt help on productuion. Anyway closing because it looks like nothing related to GO self :-)
Hmm too early - 347 240x EntityType->clearCache and 346 276x EntityType->__wakeup are huge numbers
that's odd, I tried it here but EntityType::clearCache() is only called 87 times (for each entity I guess). Can you dive into the stack trace?
Or are you running this on sse.php?
Thanks for bringing this to my attention. There was a huge inefficiency in the SSE process which will be fixed in the next release.
@mschering btw there is a bug if you are still using < PHP 8 - PushDispatcher.php:75
Instances are not the same... I still didnt migrated all modules from 6.7 to 6.8 but at first look there is huge difference in the first call.. another thing could be the difference in performance between 7.4 and 8.x
GO 6.7 + PHP 7.4
GO 6.8 + PHP 8.1
Please retest with the next releases.
The problem was found... one script was named with a capital letter at the start, which is automatically loaded by the class loader.