How to turn a slow Go function into a picture you can act on — benchmarks, pprof, and how to actually read a flame graph, using one real O(n) lookup as the worked example.