build(ci): implement PGO (#1812)

* build(ci): implement pgo

Implement PGO (performance guided optimizations) for Go builds.
This commit is contained in:
Kyle Sanderson 2024-11-16 14:57:41 -08:00 committed by GitHub
parent fc137f2077
commit 50f1e4e7d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 199 additions and 14 deletions

View file

@ -8,6 +8,8 @@ builds:
- id: autobrr
env:
- CGO_ENABLED=0
flags:
- -pgo=cpu.pprof
goos:
- linux
- windows