Timeline for Magento 2.4.4 add to cart very slow (php 8.1)
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2023 at 14:01 | comment | added | Michael Mussulis | @SohelRana I debugged further and it doesn't call any 3rd party system in real time, but it does have a 3rd party module which adds a cities dropdown for the regions. The module's helper overrides the core Magento helper, and is not very optimized. It loops over the cities for every country when only 1 is needed. I updated the code and reduced the time from 0.9m to 0.04m. Further optimization is possible but it will do for now. Thanks for your input, it helped identify the offending code. | |
Jun 13, 2023 at 9:13 | comment | added | Sohel Rana | Maybe directoryHelper calls 3rd party system in real time. It's hard to guess, but your above shouldn't take much time. | |
Jun 13, 2023 at 4:53 | answer | added | MP Raj | timeline score: 0 | |
Jun 13, 2023 at 2:41 | history | edited | Michael Mussulis | CC BY-SA 4.0 |
added 3 characters in body
|
Jun 13, 2023 at 2:34 | history | asked | Michael Mussulis | CC BY-SA 4.0 |