aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-05-22 15:49:09 +0200
committerJakob Unterwurzacher2016-05-22 15:49:09 +0200
commit888e147cd8698ad13ddec6c5e35ca928ff701a7e (patch)
treef5351ec4553ee7bddb341738b886f318c71951bd /internal/stupidgcm
parente7f78135b3092bbd2479beac5b7da077cb5d1497 (diff)
stupidgcm: add benchmark.bash wrapper
Add a simple bash wrapper to make it easier to run the GCM benchmarks.
Diffstat (limited to 'internal/stupidgcm')
-rwxr-xr-xinternal/stupidgcm/benchmark.bash7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/stupidgcm/benchmark.bash b/internal/stupidgcm/benchmark.bash
new file mode 100755
index 0000000..d2678a7
--- /dev/null
+++ b/internal/stupidgcm/benchmark.bash
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -eu
+
+cd "$(dirname "$0")"
+
+go test -bench .