summaryrefslogtreecommitdiff
path: root/benchmark-reverse.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-04-01 15:40:09 +0200
committerJakob Unterwurzacher2017-04-01 15:40:34 +0200
commitc87439b4e691f55f79241bc7d9c2bf64a67abe14 (patch)
tree51414a0812c0068b81e2c51428e9b7e4248cceb5 /benchmark-reverse.bash
parent3cd18f288f487f0dfc8bd8de1288ed3b92cc5ca5 (diff)
benchmark-reverse: add file reads
Note: find currently complains like this: find: failed to read file names from file system at or below ‘/tmp/linux-3.0.reverse.mnt.vNI’: No such file or directory I have analyzed this and it is caused by the non-stable inode numbers that gocryptfs -reverse uses. Will be fixed in a later commit.
Diffstat (limited to 'benchmark-reverse.bash')
-rwxr-xr-xbenchmark-reverse.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmark-reverse.bash b/benchmark-reverse.bash
index 3e50a62..75e0dda 100755
--- a/benchmark-reverse.bash
+++ b/benchmark-reverse.bash
@@ -44,6 +44,7 @@ function etime {
time "$@" > /dev/null
}
-echo -n "LS: "
+echo -n "LS: "
etime ls -lR $MNT
-
+echo -n "CAT: "
+etime find $MNT -type f -exec cat {} +