aboutsummaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rwxr-xr-xbench8
1 files changed, 8 insertions, 0 deletions
diff --git a/bench b/bench
new file mode 100755
index 0000000..d3f2a1f
--- /dev/null
+++ b/bench
@@ -0,0 +1,8 @@
+benchout="benches/$(./describe)"
+echo
+echo writing "$benchout"
+echo
+go test -bench . -benchtime 3s -benchmem | tee "$benchout"
+echo
+echo wrote "$benchout"
+echo