summaryrefslogtreecommitdiff
path: root/benchmarks-external.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-23 20:17:34 +0100
committerJakob Unterwurzacher2016-01-23 20:18:13 +0100
commite799ae672d64e6d3f943f79cda67be12a2b999e1 (patch)
treee3654deb6e277c4c490e11ab14135fe648f6d719 /benchmarks-external.bash
parent142ed8b2b6e0549188c0651a2a077b37f2ae6da0 (diff)
Show new benchmark.bash in README
The old benchmark is in benchmark-builtin.bash. renamed: benchmarks-builtin.bash -> benchmark-builtin.bash renamed: benchmarks-external.bash -> benchmark.bash
Diffstat (limited to 'benchmarks-external.bash')
-rwxr-xr-xbenchmarks-external.bash34
1 files changed, 0 insertions, 34 deletions
diff --git a/benchmarks-external.bash b/benchmarks-external.bash
deleted file mode 100755
index f48c7ac..0000000
--- a/benchmarks-external.bash
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-TIME="/usr/bin/time -f %e"
-
-# Setup
-cd /tmp
-wget -q -c https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
-DIR1=$(mktemp -d)
-DIR2=$(mktemp -d)
-gocryptfs -q -init -extpass="echo test" $DIR1
-gocryptfs -q -extpass="echo test" $DIR1 $DIR2
-cd $DIR2
-echo
-
-# Benchmarks
-echo -n "WRITE: "
-dd if=/dev/zero of=zero bs=128K count=1000 2>&1 | tail -n 1
-rm zero
-sleep 1
-echo -n "UNTAR: "
-$TIME tar xzf ../linux-3.0.tar.gz
-sleep 1
-echo -n "LS: "
-$TIME ls -lR linux-3.0 > /dev/null
-sleep 1
-echo -n "RM: "
-$TIME rm -Rf linux-3.0
-
-# Cleanup
-cd ..
-fusermount -u $DIR2 -z
-rm -Rf $DIR1 $DIR2