Where the time goes
| Step | Usual time sink | How to see it |
|---|---|---|
| Opening checkout | Large JS bundle, many RequireJS files, third-party scripts | Network tab, waterfall |
| Entering the address | estimate-shipping-methods calls live carrier APIs | Request time in Network |
| Choosing shipping | Totals collectors: tax, rules, gift cards | shipping-information time |
| Place Order | Payment provider calls, fraud checks, order emails sent synchronously | payment-information time |
Time each request in the Network tab with a real cart. The slow one is usually obvious, and almost always one of these four.
Fix the usual suspects
- Carrier APIs. Cache rates, set timeouts on carrier calls, and keep a flat-rate fallback.
- Order emails. Turn on asynchronous sending, Stores → Configuration → Sales Emails → General → Asynchronous sending, so Place Order does not wait for SMTP.
- Cart price rules. Many active rules with complex conditions slow every totals call; disable expired ones.
- Third-party scripts. Load chat, analytics and A/B tools after checkout is interactive, or not on checkout at all.
- Production mode and bundling. Production mode with compiled DI; measure before enabling JS bundling, which can make checkout heavier.
bin/magento deploy:mode:show
bin/magento config:show sales_email/general/async_sendingWith async sending on, emails go out from cron. If cron stops, confirmations stop too.
Measure the purchase
Page speed tools measure the first page load. Checkout is a sequence of requests after it, so measure the whole purchase: time per step, every run, from the same place. A rate call that drifts from one second to eight over a week is a carrier problem coming.
Set a limit and alert on it
Pick a limit per step, for example shipping rates within three seconds, and alert when it is passed several runs in a row. MageSentinel records the time of every checkout step on each run, so you see which step slowed down. Related: hosting limits under load and third-party scripts on checkout.
Check your own store now with the free Magento checkout test: it walks the checkout in a real browser, Luma or Hyvä, and shows the step where it stops.
Find out your checkout broke before your customers do.
Real checkout checks for Magento and WooCommerce · free plan · no card requiredMagento checkout monitoring →