Start with traces and metrics to see where a service spends its time. For a concrete case, read the performance section of the Go and Postgres authorization article: a bottleneck can be in the database, not the Go loop. Then move on to SIMD and the shorter notes on memory and vector lanes as they’re published.