woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 47 forks source link

[Performance] WCGatewayModule very slow. (2309) #1760

Open fitimvata opened 11 months ago

fitimvata commented 11 months ago

WCGatewayModule is degrating performance of entire site for every request. My guest is that Dhii\Container package is causing the issue.

Screenshot 2023-10-11 at 1 15 05 PM

This problem is not only for WCGatewayModule but for every other submodule.

InpsydeNiklas commented 10 months ago

Hi @fitimvata, thanks for your feedback and contribution. The currently utilized modular system in PayPal Payments (Dhii) has some limitations that can result in degraded performance. However, the PR #1759 does not directly address the issue of degraded performance, though it will be considered in the future. This modularity system will be replaced in #1860, bringing various improvements, especially regarding performance. We will leave this issue open until the linked PR was merged. If you are interested in testing an early version with the improved modulariry system, please contact our support from here with a link to this GitHub issue. Thank you!