Slow php execution of pinterest code
-
Hi,
The Pinterest Plugin is causing major performance issues and it seems without a good reason. I checked with a code profiler where the issue lies. You can see all my findings in the google drive link attached.
The plugin slows down the front end of the shop. I also disabled all plugins for testing purposes and the issue is still present. It has something to do with hashing the password on all requests. This should be definitely cached and done only once. Also the time it takes is very abnormal almost 200ms on local m3 MacBook machine.
These are the files:
pinterest-for-woocommerce/vendor/defuse/php-encryption/src/KeyOrPassword.php@104
pinterest-for-woocommerce/vendor/defuse/php-encryption/src/Crypto.php@309
Please review my findings and improve the plugin. It is a shame for such a plugin to break so many user’s sites.
https://drive.google.com/drive/folders/1yDJSCH_NIIVC0EqmCvaFpGvy8CDwj2yR?usp=sharing
The topic ‘Slow php execution of pinterest code’ is closed to new replies.