feature/add-profiler (#42)

This commit is contained in:
T. von Dein
2026-06-18 08:54:00 +02:00
parent 5d345aaa9a
commit 802217158c
4 changed files with 37 additions and 3 deletions

View File

@@ -106,5 +106,8 @@ show-versions: buildlocal
@echo "### go version used for building:"
@grep -m 1 go go.mod
# lint:
# golangci-lint run -p bugs -p unused
.PHONY: profile
profile: buildlocal
./esctl api ls --profile-file cpu.profile
go tool pprof -text esctl cpu.profile
go tool pprof --http localhost:8888 ./esctl cpu.profile