Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to cart much slower in Commerce 3 vs. Commerce 2 (and other requests) #1520

Closed
bossanova808 opened this issue Jun 19, 2020 · 3 comments
Closed
Assignees

Comments

@bossanova808
Copy link
Contributor

Description

Adding items to cart...was near enough to instant with Commerce 2.

With Commerce 3, takes a minimum of a few seconds every time, same server and templates etc. It's just a lot slower.

Indeed, am noticing a distinct slow down in all cart related operations - increasing qtys, removing items, etc. Definitely a noticeable performance drop across the board on the front end.

In the profiler for these ajax operations, I am seeing a great number of queries that are slower than I'd expect (16ms+), and many of them repeated...including, e.g., ones summing refunds (which seems unnecessary for a not-yet-completed order!)

image

Any tips of trying to work out where the issues are coming from and what I can do to re-gain performance would be great. It's slow enough and different enough I am quite sure we're going to be getting issues from customers about it.

@lukeholder lukeholder self-assigned this Jun 19, 2020
@lukeholder lukeholder added 🔎 status: investigating Trying to reproduce and removed New labels Jun 19, 2020
@lukeholder
Copy link
Member

Should be fixed in #1543

@lukeholder lukeholder added 🛒 checkout and removed 🔎 status: investigating Trying to reproduce labels Jul 1, 2020
@bossanova808
Copy link
Contributor Author

Do you folks know when you might cut a release? Debating going to the develop version in the meantime....

@lukeholder
Copy link
Member

@bossanova808 will be tonight/in the morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants