Reproduce the workload
Capture route, request shape, timing and concurrency. A global CPU number is not enough to explain a slow commerce journey.
Performance guide →Performance work should protect transaction correctness and identify the real bottleneck—database, application, provider, network, asset or browser—before adding complexity.
Capture route, request shape, timing and concurrency. A global CPU number is not enough to explain a slow commerce journey.
Performance guide →Separate application time, database time, provider wait time and frontend work before changing infrastructure.
Architecture →Do not trade idempotency, validation or reconciliation away for superficial speed. Move expensive work off the critical path when safe.
Reliability →Record latency distribution, query evidence and provider timing before an optimization so the effect can be verified.
After change, verify the same commerce journey and protected routes—not only the new code path.