Performance issue with composer
-
Thanks for this plugin.
I have reached out previously regarding a performance issue with composer which appears to be worse.
The plugin is using PSR4 filesystem-based discovery which means it’s including each file in the autoload using file_exists checks which can have an impact on performance.
On a page load it’s performing 990 file exist checks within the findFileWithExtension function in wpforms-lite/vendor/composer/ClassLoader.php file instead of directly loading the files. 688 of these files don’t exist and are being called needlessly.
To address this can you please set composer to use authoritative autoloading (–classmap-authoritative) as per https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-2-a-authoritative-class-maps
You must be logged in to reply to this topic.