Magento2: Large Cart Issue

Created on 2 Jan 2020  路  6Comments  路  Source: magento/magento2

Preconditions (*)

  1. Magento 2.3.3 CE with sample data

Steps to reproduce (*)

  1. Add more than 80 products in the cart as logged in user
  2. Then the next click of Add to cart in product detail page takes lot of time
  3. Logging In with 80 or more product takes lot of time to login
  4. Shopping Cart page also takes lot of time to load

Expected result (*)

  1. Add to cart with large cart should take same/little more time as empty cart
  2. Logging In with huge cart shouldn't take lot of time
  3. Shopping cart also shouldn't take lot of time

Actual result (*)

  1. Add to cart with huge cart takes lot of time
  2. Logging In with huge cart takes lot of time to login
  3. Shopping cart with huge cart takes lot of time to load

Login

AddToCart

Cart

Format is valid needs update Reported on 2.3.3

Most helpful comment

Calling load times in cart and checkout of around 8-10 seconds a "very good perfomance" is ludicrous.

All 6 comments

Hi @kkhebbar89. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@kkhebbar89 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Add label Issue: Confirmed once verification is complete.

  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

Hello @kkhebbar89
Thank you for your report.

We have rechecked this on Magento 2.4- develop with over 90 products in the Cart.
The processes take some time to accomplish, but not as much time as on the screenshots you've attached.
For example, the Sign In takes about 4 seconds, Cart Checkout, about 8 seconds, Adding to Cart, about 4 seconds.

Can you please confirm that you are experiencing the same performance on Magento 2.4-develop ?

Hello @engcom-Bravo
Checked the same in Magento 2.4- develop, there I see very good perfomance. Please find below the screeshots.

Login
AddToCart
Cart

Are any changes done for enhancing perfomance in Magento 2.4.0. Can you please share the commit for the same.

Thanks & Regards,
Karthik S.

@kkhebbar89
Thank you for the response.
I tried to find a related task for it by keywords but unfortunately, with no result.
Probably it was done in scope on some bug fix or other task (internal or external)

So if the issue is not reproducible on 2.4-develop, we have to close this issue.
Thank you for your collaboration.

Calling load times in cart and checkout of around 8-10 seconds a "very good perfomance" is ludicrous.

Was this page helpful?
0 / 5 - 0 ratings