Skip to content
Permalink
Browse files

Prepare for future implementation of 7z

  • Loading branch information...
NEMS Linux
NEMS Linux committed May 1, 2019
1 parent f630366 commit 45493abba4f1a70170c478c485cac2daab907a06
Showing with 4 additions and 3 deletions.
  1. +4 −3 benchmark.sh
@@ -164,11 +164,12 @@ rm -f $tmpdir/test_file.*
echo "---------------------------------" >> $tmpdir/nems-benchmark.log

printf "Performing 7z Benchmark: " >> $tmpdir/nems-benchmark.log
7z=$(which 7za || which 7zr)
taskset -c 0 "$7z" b
prog=$(which 7za || which 7zr)
taskset -c 0 "$prog" b > $tmpdir/7z.log
if (( $cores > 4 )); then
taskset -c $(( $cores - 1 )) "$7z" b
taskset -c $(( $cores - 1 )) "$prog" b >> $tmpdir/7z.log
fi
echo " Done." >> $tmpdir/nems-benchmark.log

echo "---------------------------------" >> $tmpdir/nems-benchmark.log

0 comments on commit 45493ab

Please sign in to comment.
You can’t perform that action at this time.