Performance improvements
-
Hello,
I’ve noticed a similar performance issue with the class autoloader in 4.3+, as reported previously.
This time coming from the new extendify-sdk folder specifically:
redux-framework/extendify-sdk/vendor/composer/ClassLoader.php:423Due to the way it’s loading that function via spl_autoload_register it’s looping over all the classes in the website. This results in thousands of file_exists checks however only 3 files appear to be loaded:
extendify-sdk/vendor/composer/../../app/Admin.php
extendify-sdk/vendor/composer/../../app/App.php
extendify-sdk/vendor/composer/../../app/Plugin.phpOn one particular site 4.3 adds 40% to the backend time.
Unfortunately I don’t think the previous class whitelisting condition will work as the autoloader is being requested by other plugins (such as woo-permalink-manager and woocommerce-paypal-payments) so it may need the namespace changed to be compatible with other plugins that use the composer autoload?
- The topic ‘Performance improvements’ is closed to new replies.