DM
Engineering journal
Production LessonLearned in productionAll levels

Measure before optimizing

Performance work without a baseline often improves the wrong thing.

Last reviewed July 2026

My rule

Start with a user-visible symptom and a repeatable measurement. Profile the path, change one meaningful constraint, and compare the result under the same conditions.

  • Prefer percentiles over averages for user latency
  • Measure production-like devices and data volumes
  • Watch for shifting cost to another service or stage
  • Keep regression protection after the improvement
#performance#observability