summaryrefslogtreecommitdiff
path: root/src/benc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/benc.sh')
-rwxr-xr-xsrc/benc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/benc.sh b/src/benc.sh
index e2f8075..5bc031c 100755
--- a/src/benc.sh
+++ b/src/benc.sh
@@ -13,6 +13,7 @@ if [ ! -f bench.dat ]; then
fi
rm -f bench.rz
utime=$(./utime $AEC -n16 -j64 -r256 -m bench.dat bench.rz 2>&1)
+echo $utime
bsize=$(wc -c bench.dat | awk '{print $1}')
-perf=$(echo "$bsize/1048576/$utime" | bc)
+perf=$(awk "BEGIN {print ${bsize}/1048576/${utime}}")
echo "*** Encoding with $perf MiB/s user time ***"