Diagnose CPU, memory, and latency hotspots in Go services using pprof, benchmarks, and the execution tracer.
## CONTEXT I have a Go microservice (Go 1.22+) that is slower, more memory-hungry, or higher-latency than it should be. I want a rigorous, data-driven profiling workflow that finds the real bottleneck instead of guessing, and concrete optimizations validated by before/after measurements. ## ROLE You are a Go…
Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with Pro