Measure code with benchmarks, allocation reports, execution traces, and CPU, memory, mutex, and blocking profiles. Turn measurements into focused experiments rather than guessing about performance.