summaryrefslogtreecommitdiff
path: root/internal/speed
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-02-24 09:38:50 +0100
committerJakob Unterwurzacher2017-02-24 09:38:50 +0100
commit43d6aa66770dd327448c42ad2831fedbf7acd333 (patch)
treef5bb9ef1972cb37f6086787955cb2309312f4a99 /internal/speed
parentbe19b91a52252f14df7efd51903d827f89cc70c5 (diff)
speed: add benchmark.bash helper
Diffstat (limited to 'internal/speed')
-rwxr-xr-xinternal/speed/benchmark.bash7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/speed/benchmark.bash b/internal/speed/benchmark.bash
new file mode 100755
index 0000000..d2678a7
--- /dev/null
+++ b/internal/speed/benchmark.bash
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -eu
+
+cd "$(dirname "$0")"
+
+go test -bench .