summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-03-18 16:23:33 +0100
committerJakob Unterwurzacher2017-03-18 16:23:33 +0100
commit61502f9b9487f04145c4b07a3f756bdcd12e02e6 (patch)
tree6440b3d482da903334f44cb1b4836167884cdd6e /tests
parent00df0771e3dd9fba0992cbc9a7d347f25aff856a (diff)
benchmark: add md5sum read performance benchmark
Diffstat (limited to 'tests')
-rwxr-xr-xtests/canonical-benchmarks.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/canonical-benchmarks.bash b/tests/canonical-benchmarks.bash
index 1a5bf3a..8472c9a 100755
--- a/tests/canonical-benchmarks.bash
+++ b/tests/canonical-benchmarks.bash
@@ -8,6 +8,7 @@
cd "$(dirname "$0")"
MYNAME=$(basename "$0")
+MD5="$PWD/stress_tests/linux-3.0.md5sums"
if [ $# -ne 1 ]; then
echo "usage: $MYNAME TESTDIR"
@@ -36,6 +37,9 @@ sleep 1
echo -n "UNTAR: "
etime tar xzf /tmp/linux-3.0.tar.gz
sleep 1
+echo -n "MD5: "
+etime md5sum --quiet -c $MD5
+sleep 1
echo -n "LS: "
etime ls -lR linux-3.0
sleep 1