GoLand 2026.1 Help

Run profiling

Run profiling

You can start profiling in several ways. All options run your application with the Go profiler.

Run profiling

  • To run profiling, do one of the following:

    • Open the run configuration selector on the toolbar, click the More icon, and select Profile with Go Profiler.

      Run profiling from the toolbar
    • Open a file that contains a main function or a test, click the Run icon (The Run gutter icon) in the gutter, and select Profile with Go Profiler.

      Run profiling from the gutter
    • Open the Go Performance Optimization tool window, select a configuration in the Profiling with pprof tab, and click Run with Profiler.

      Run profiling from the tool window

Use the Go Performance Optimization tool window

The Go Performance Optimization tool window provides a central place to run profiling and manage profiling sessions.

Tool window overview

The tool window contains sections to start profiling and to manage results.

  • Configuration selector lets you choose a run configuration.

  • Run with Profiler starts profiling for the selected configuration.

  • Running processes shows active profiling sessions.

  • Recent profiles lists saved profiling results.

Work with profiling sessions

After you run profiling, GoLand stores the results as profiling sessions.

View and open profiles

Use the Recent profiles section in the tool window to access recorded sessions.

Click a profile to open it in the profiler view.

Remove profiles

To remove a profile, use the context menu in the Recent profiles section.

Import profiles

You can import profiling data that was collected outside the IDE.

Import a profile

  1. In the Go Performance Optimization tool window, click Import Profile.

  2. Select a profiling file.

  3. Open the imported profile from the Recent profiles section.

How profiling runs

When you start profiling, GoLand builds and runs your application with profiling enabled.

The IDE uses a temporary build configuration and does not modify your source files.

20 April 2026