On Wed, 04 Mar 2015 07:53:36 +1100, Terry Duell <
tdu...@iinet.net.au>
wrote:
[snip]
> I haven't run a timer. I'll see if I can do that.
OK, just run my script on my test project, and the result of running the
script via the 'time' command, are as follows;
each run of ais run as background task.
[terry@localhost mytest]$ time ./ais-script3.sh mytest
align_image_stack -a mytest1 IMGP2041.JPG IMGP2042.JPG IMGP2043.JPG
align_image_stack -a mytest2 IMGP2044.JPG IMGP2045.JPG IMGP2046.JPG
align_image_stack -a mytest3 IMGP2047.JPG IMGP2048.JPG IMGP2049.JPG
align_image_stack -a mytest4 IMGP2050.JPG IMGP2051.JPG IMGP2052.JPG
Written aligned images to files with prefix "mytest3"
Written aligned images to files with prefix "mytest2"
Written aligned images to files with prefix "mytest1"
Written aligned images to files with prefix "mytest4"
done
real 0m28.325s
user 3m31.727s
sys 0m2.357s
each run if ais as sequential task.
[terry@localhost mytest]$ time ./ais-script3.sh mytest
Written aligned images to files with prefix "mytest1"
align_image_stack -a mytest1 IMGP2041.JPG IMGP2042.JPG IMGP2043.JPG
Written aligned images to files with prefix "mytest2"
align_image_stack -a mytest2 IMGP2044.JPG IMGP2045.JPG IMGP2046.JPG
Written aligned images to files with prefix "mytest3"
align_image_stack -a mytest3 IMGP2047.JPG IMGP2048.JPG IMGP2049.JPG
Written aligned images to files with prefix "mytest4"
align_image_stack -a mytest4 IMGP2050.JPG IMGP2051.JPG IMGP2052.JPG
done
real 0m40.361s
user 3m26.731s
sys 0m2.041s
'real' time is the 'wall clock' time, so running the ais tasks as
background in the shell script is quite a bit quicker.