speed: add benchmark.bash helper

This commit is contained in:
Jakob Unterwurzacher 2017-02-24 09:38:50 +01:00
parent be19b91a52
commit 43d6aa6677
2 changed files with 8 additions and 5 deletions

7
internal/speed/benchmark.bash Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -eu
cd "$(dirname "$0")"
go test -bench .

View File

@ -1,7 +1,3 @@
#!/bin/bash
set -eu
cd "$(dirname "$0")"
go test -bench .
exec ../speed/benchmark.bash