Run benchmarks when running tests

This commit is contained in:
Jakob Borg
2015-05-23 15:08:17 +02:00
parent a2b94f4e06
commit 8dd7e4e6b5
6 changed files with 115 additions and 95 deletions

View File

@@ -18,7 +18,9 @@ case "${1:-default}" in
ulimit -d 512000 &>/dev/null || true
ulimit -m 512000 &>/dev/null || true
go run build.go "$1"
go run build.go test
echo
LOGGER_DISCARD=1 go run build.go bench | go run benchfilter.go
;;
tar)