基準測試檔案:例如使用命令go test . -bench . -cpuprofile prof.cpu生成取樣檔案後,再通過命令go tool pprof [binary] prof.cpu 來進行分析。
確定! 回上一頁