update benchmark

we used to lock the tile size to 64x64 for compatibility, let it float
now
This commit is contained in:
John Cupitt 2013-01-23 13:23:27 +00:00
parent 90709538e6
commit d094ed23d9

View File

@ -29,7 +29,6 @@ echo "max cpus = $max_cpus"
echo "starting benchmark ..." echo "starting benchmark ..."
echo /usr/bin/time -f %e vips \ echo /usr/bin/time -f %e vips \
--vips-concurrency=xx \ --vips-concurrency=xx \
--vips-tile-width=64 --vips-tile-height=64 \
im_benchmarkn temp.v temp2.v $chain im_benchmarkn temp.v temp2.v $chain
echo reported real-time is best of three runs echo reported real-time is best of three runs
echo cpus real-time echo cpus real-time
@ -37,7 +36,6 @@ echo cpus real-time
for((cpus = 1; cpus <= max_cpus; cpus++)); do for((cpus = 1; cpus <= max_cpus; cpus++)); do
t1=`/usr/bin/time -f %e vips \ t1=`/usr/bin/time -f %e vips \
--vips-concurrency=$cpus \ --vips-concurrency=$cpus \
--vips-tile-width=64 --vips-tile-height=64 \
im_benchmarkn temp.v temp2.v $chain 2>&1` im_benchmarkn temp.v temp2.v $chain 2>&1`
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "benchmark failed -- install problem?" echo "benchmark failed -- install problem?"
@ -45,11 +43,9 @@ for((cpus = 1; cpus <= max_cpus; cpus++)); do
fi fi
t2=`/usr/bin/time -f %e vips \ t2=`/usr/bin/time -f %e vips \
--vips-concurrency=$cpus \ --vips-concurrency=$cpus \
--vips-tile-width=64 --vips-tile-height=64 \
im_benchmarkn temp.v temp2.v $chain 2>&1` im_benchmarkn temp.v temp2.v $chain 2>&1`
t3=`/usr/bin/time -f %e vips \ t3=`/usr/bin/time -f %e vips \
--vips-concurrency=$cpus \ --vips-concurrency=$cpus \
--vips-tile-width=64 --vips-tile-height=64 \
im_benchmarkn temp.v temp2.v $chain 2>&1` im_benchmarkn temp.v temp2.v $chain 2>&1`
# echo $t1 $t2 $t3 # echo $t1 $t2 $t3