Cleanup benchmarks

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2019-08-30 15:47:55 -07:00
committed by whyrusleeping
parent 054f0fc0ef
commit 2e9d4301e1
4 changed files with 53 additions and 10 deletions
+3 -3
View File
@@ -87,9 +87,9 @@ build: $(BUILD_DEPS)
.PHONY: build
benchmarks:
go get github.com/whyrusleeping/bencher
bencher ./... > bench.json
curl -X POST 'http://benchmark.kittyhawk.wtf/benchmark' -d '@bench.json' -u ${benchmark_http_user}:${benchmark_http_pw}
go run github.com/whyrusleeping/bencher ./... > bench.json
curl -X POST 'http://benchmark.kittyhawk.wtf/benchmark' -d '@bench.json' -u "${benchmark_http_cred}"
.PHONY: benchmarks
pond: build
go build -o pond ./lotuspond