diff --git a/docs/proposal/23062906-关于开启pgo编译优化.md b/docs/proposal/23062906-关于开启pgo编译优化.md index 4623c6a9..7622c3f4 100644 --- a/docs/proposal/23062906-关于开启pgo编译优化.md +++ b/docs/proposal/23062906-关于开启pgo编译优化.md @@ -11,7 +11,7 @@ Beginning in Go 1.20, the Go compiler supports profile-guided optimization ([PGO 1. 为什么要添加`pprof`功能特性? 使用 net/http/pprof 在线获取CPU profile信息,用于 [PGO](https://go.dev/doc/pgo) 编译优化。 -2. 如何开启`pgo`编译优化? +2. 如何开启`pgo`编译优化? The standard approach is to store a pprof CPU profile with filename default.pgo in the main package directory of the profiled binary, and build with go build -pgo=auto, which will pick up default.pgo files automatically. 3. 常见命令