Kenenbek Arzymatov
Kenenbek Arzymatov

Reputation: 9119

How to use profiling in Goland IDE

I press Run button to start my program work then I press button Start CPU Usage Profiling. At the end I get a file like GO-version_username_time.zip.

What should I do next? How can I get a list of most expensive functions?

Upvotes: 5

Views: 7731

Answers (1)

dlsniper
dlsniper

Reputation: 7477

Update:

As of GoLand 2019.1, it is possible to profile Go applications or Go tests. See this article for more information on how to do this.

Old post:

Currently, the IDE does not have any Go profiling support. You can watch/vote for this issue for when profiling will be integrated into the IDE.

The functionality you've mentioned, Start CPU Usage Profiling, relates to profiling the IDE itself, in case performance problems occur and need to be reported to the developers.

Upvotes: 8

Related Questions