如何在 Goland 中使用分析 IDE
How to use profiling in Goland IDE
我按下 Run
按钮开始我的程序工作,然后我按下按钮 Start CPU Usage Profiling
。最后我得到一个像 GO-version_username_time.zip
这样的文件。
接下来我该做什么?我怎样才能得到最昂贵的函数列表?
更新:
从 GoLand 2019.1 开始,可以分析 Go 应用程序或 Go 测试。有关如何执行此操作的详细信息,请参阅 this article。
旧 post:
目前,IDE 没有任何 Go 分析支持。您可以 watch/vote for this issue for when profiling will be integrated into IDE.
您提到的功能 Start CPU Usage Profiling
与分析 IDE 本身有关,以防出现性能问题并需要向开发人员报告。
我按下 Run
按钮开始我的程序工作,然后我按下按钮 Start CPU Usage Profiling
。最后我得到一个像 GO-version_username_time.zip
这样的文件。
接下来我该做什么?我怎样才能得到最昂贵的函数列表?
更新:
从 GoLand 2019.1 开始,可以分析 Go 应用程序或 Go 测试。有关如何执行此操作的详细信息,请参阅 this article。
旧 post:
目前,IDE 没有任何 Go 分析支持。您可以 watch/vote for this issue for when profiling will be integrated into IDE.
您提到的功能 Start CPU Usage Profiling
与分析 IDE 本身有关,以防出现性能问题并需要向开发人员报告。