mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
10 lines
353 B
Makefile
10 lines
353 B
Makefile
build:
|
|
@go build .
|
|
|
|
bench: build
|
|
@echo ">> running benchmark"
|
|
@./tsdb bench write --out=benchout/ --metrics=$(NUM_METRICS) testdata.100k
|
|
@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 -svg ./tsdb benchout/block.prof > benchout/blockprof.svg
|