diff --git a/Makefile b/Makefile index 2b86437d8..ab1af5326 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,11 @@ gobench: heap-profile: go tool pprof -web http://localhost:6060/debug/pprof/heap +pgo: + wget -O cpu.pprof http://localhost:6060/debug/pprof/profile?seconds=30 + go tool pprof -proto cpu.pprof default.pgo > merged.pprof + mv merged.pprof default.pgo + benchmark: sudo cpupower frequency-set -g performance hyperfine --export-markdown=bench-cold.md \ diff --git a/default.pgo b/default.pgo index 4facbe765..dd55ccfd4 100644 Binary files a/default.pgo and b/default.pgo differ