mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-26 13:11:11 -08:00
Create alloc and inuse space heap profile
This commit is contained in:
parent
ffb24a98f4
commit
cc0a7c8279
|
@ -5,5 +5,6 @@ bench: build
|
|||
@echo ">> running benchmark"
|
||||
@./tsdb bench write --metrics=$(NUM_METRICS) testdata.1m
|
||||
@go tool pprof -svg ./tsdb benchout/cpu.prof > benchout/cpuprof.svg
|
||||
@go tool pprof -svg ./tsdb benchout/mem.prof > benchout/memprof.svg
|
||||
@go tool pprof --inuse_space -svg ./tsdb benchout/mem.prof > benchout/memprof.inuse.svg
|
||||
@go tool pprof --alloc_space -svg ./tsdb benchout/mem.prof > benchout/memprof.alloc.svg
|
||||
@go tool pprof -svg ./tsdb benchout/block.prof > benchout/blockprof.svg
|
||||
|
|
Loading…
Reference in a new issue