Go pprof commands and practices for analyzing CPU, memory, goroutine, and block profiles. Enable Profiling HTTP Server 1package main 2 3import ( 4 "log" 5 "net/http" 6 _ "net/http/pprof" // Import for side effects 7) 8 9func main() { 10 // Your application code here 11 12 // Start pprof server …
Read MoreEssential tools for measuring network and computer performance. Quick reference for performance analysis. Network Performance iperf3 - Network Bandwidth Testing 1# Install 2sudo apt install iperf3 # Linux 3brew install iperf3 # macOS 4scoop install iperf3 # Windows 5 6# Server mode 7iperf3 -s 8 9# Client mode (test to …
Read More