summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2024-02-10 11:10:11 +0100
committerDaniel Milde <daniel@milde.cz>2024-02-12 01:15:29 +0100
commita984049f580210310b0f2aa700316f73af70ce53 (patch)
treeca6620b835338956c937cf126f69cd2458b3cda0
parent565b4fe7bbb73c1c19662a5887a31714ad063119 (diff)
ci: add heap profile target
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2ae9db1..c931719 100644
--- a/Makefile
+++ b/Makefile
@@ -98,6 +98,9 @@ coverage-html: coverage
gobench:
go test -bench=. $(PACKAGE)/pkg/analyze
+heap-profile:
+ go tool pprof -web http://localhost:6060/debug/pprof/heap
+
benchmark:
sudo cpupower frequency-set -g performance
hyperfine --export-markdown=bench-cold.md \