2016-12-08 11:00:05 +00:00
|
|
|
build:
|
2017-01-16 20:29:53 +00:00
|
|
|
@go1.8rc1 build .
|
2016-12-08 11:00:05 +00:00
|
|
|
|
2016-12-20 23:02:37 +00:00
|
|
|
bench: build
|
2016-12-08 11:00:05 +00:00
|
|
|
@echo ">> running benchmark"
|
2017-01-16 20:29:53 +00:00
|
|
|
@./tsdb bench write --metrics=$(NUM_METRICS) testdata.1m
|
2016-12-20 23:02:37 +00:00
|
|
|
@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
|