Skip to content

Commit

Permalink
ci: update PGO
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Feb 12, 2024
1 parent 96905a2 commit ad3cd17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Binary file modified default.pgo
Binary file not shown.

0 comments on commit ad3cd17

Please sign in to comment.