aboutsummaryrefslogtreecommitdiff
path: root/benchmark-builtin.bash
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark-builtin.bash')
-rwxr-xr-xbenchmark-builtin.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmark-builtin.bash b/benchmark-builtin.bash
new file mode 100755
index 0000000..145fcfd
--- /dev/null
+++ b/benchmark-builtin.bash
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Run the synthetic benchmarks that are built into gocryptfs using
+# "go test".
+
+set -eu
+
+source build.bash
+
+go test ./integration_tests -bench=. -defaultonly