Back to Labs
Performance lab

Reduce API latency

Tune a request path and measure the impact on response time.

Topic intro

Performance work is about finding the slowest steps, then making the smallest safe change that improves the total time. This lab keeps it focused on tradeoffs.

Scenario

A checkout request is slow. You can apply a few safe optimizations.

Baseline total: 810 ms

Timeline

Auth90 ms
Database260 ms
Payment provider320 ms
Render140 ms
Total time: 810 ms

Results

Baseline total: 810 ms

Latest total: 810 ms

Improvement: 0 ms

Choose the smallest set of changes that still improves the curve.

Decision log

Write a short note about which optimizations you chose and why.