GoLand 2025.3 Help

Profiling

Profiling helps you understand how your Go application performs and where optimizations can be made. You can use the built-in profilers in GoLand to analyze CPU, memory, mutex, and blocking behavior without leaving the IDE. Profiling data can reveal performance bottlenecks, memory leaks, and inefficient code paths that affect application responsiveness and scalability.

GoLand collects and visualizes CPU profiles, traces, and heap profiles. To collect all the necessary data, GoLand uses the pprof package. GoLand includes four profilers that you can run from the user interface: CPU, memory, blocking (contention), and mutex.

Profiling results help you locate performance issues, but code improvements must be implemented manually. For more information, see the Profiling at go.dev and the description of the pprof package at pkg.go.dev.

The following profilers are available in GoLand:

  • Run CPU profiling to detect performance bottlenecks in computation-heavy code.

  • Use Memory profiling to locate excessive allocations and leaks.

  • Apply Blocking and Mutex profilers to analyze concurrency and synchronization issues.

14 October 2025