I have tested with both IM 6.9.9.11 Q16 and 6.9.5.8 Q16 on my Mac OSX Sierra; 2.8 GHz Dual Core; 8 GB memory, and 500 GB solid state hard disk.
With IM 6.9.9.8 Q16 for 20 runs in a loop I get less than 0.1 sec per image (except for the first one, which was just after I started my computer and had to let ImageMagick and its delegates launch, so it is longer)
Code: Select all
img="GARAGE2_2017090516301705.jpg"
for ((i=0; i<20; i++)); do
time montage -label "label" ${img} -geometry +0+0 -background Green "${img}.annotated.jpg"
done
real 0m7.536s
user 0m2.501s
sys 0m1.169s
real 0m0.074s
user 0m0.228s
sys 0m0.014s
real 0m0.077s
user 0m0.223s
sys 0m0.014s
real 0m0.073s
user 0m0.227s
sys 0m0.014s
real 0m0.080s
user 0m0.184s
sys 0m0.031s
real 0m0.083s
user 0m0.148s
sys 0m0.028s
real 0m0.073s
user 0m0.218s
sys 0m0.016s
real 0m0.078s
user 0m0.225s
sys 0m0.016s
real 0m0.074s
user 0m0.221s
sys 0m0.016s
real 0m0.073s
user 0m0.191s
sys 0m0.026s
real 0m0.074s
user 0m0.196s
sys 0m0.027s
real 0m0.075s
user 0m0.173s
sys 0m0.032s
real 0m0.073s
user 0m0.222s
sys 0m0.017s
real 0m0.072s
user 0m0.219s
sys 0m0.015s
real 0m0.073s
user 0m0.220s
sys 0m0.016s
real 0m0.073s
user 0m0.223s
sys 0m0.016s
real 0m0.074s
user 0m0.223s
sys 0m0.017s
real 0m0.073s
user 0m0.218s
sys 0m0.017s
real 0m0.077s
user 0m0.212s
sys 0m0.023s
real 0m0.077s
user 0m0.159s
sys 0m0.034s
With IM 6.9.5.8 Q16, times were slightly longer but still around 0.1 sec
Code: Select all
img="GARAGE2_2017090516301705.jpg"
for ((i=0; i<20; i++)); do
time im6958 montage -label "label" ${img} -geometry +0+0 -background Green "${img}.annotated.jpg"
done
real 0m0.113s
user 0m0.222s
sys 0m0.029s
real 0m0.109s
user 0m0.150s
sys 0m0.043s
real 0m0.101s
user 0m0.190s
sys 0m0.037s
real 0m0.102s
user 0m0.227s
sys 0m0.025s
real 0m0.095s
user 0m0.226s
sys 0m0.024s
real 0m0.106s
user 0m0.216s
sys 0m0.029s
real 0m0.102s
user 0m0.228s
sys 0m0.026s
real 0m0.098s
user 0m0.227s
sys 0m0.026s
real 0m0.097s
user 0m0.222s
sys 0m0.028s
real 0m0.100s
user 0m0.224s
sys 0m0.025s
real 0m0.097s
user 0m0.212s
sys 0m0.029s
real 0m0.105s
user 0m0.226s
sys 0m0.031s
real 0m0.098s
user 0m0.224s
sys 0m0.026s
real 0m0.102s
user 0m0.221s
sys 0m0.028s
real 0m0.103s
user 0m0.226s
sys 0m0.028s
real 0m0.098s
user 0m0.212s
sys 0m0.031s
real 0m0.102s
user 0m0.230s
sys 0m0.027s
real 0m0.102s
user 0m0.223s
sys 0m0.024s
real 0m0.097s
user 0m0.224s
sys 0m0.026s
real 0m0.094s
user 0m0.224s
sys 0m0.025s
Fredericks-Mac-mini:desktop fred$
From what directory are you processing and storing your images? How did you install ImageMagick? From binary or from source? (From IM binary, MacPorts or Homebrew?)
What version of Freetype are you using? Perhaps it is old and needs updating?
Mine is freetype 2.8_0
P.S. Running your other command:
Code: Select all
img="GARAGE2_2017090516301705.jpg"
for ((i=0; i<20; i++)); do
time im6958 convert ${img} -background Green label:"label" +swap -gravity Center -append "${img}.annotated.jpg"
done
real 0m0.091s
user 0m0.077s
sys 0m0.022s
real 0m0.094s
user 0m0.079s
sys 0m0.022s
real 0m0.082s
user 0m0.077s
sys 0m0.020s
real 0m0.084s
user 0m0.077s
sys 0m0.020s
real 0m0.081s
user 0m0.077s
sys 0m0.022s
real 0m0.082s
user 0m0.079s
sys 0m0.021s
real 0m0.083s
user 0m0.071s
sys 0m0.021s
real 0m0.087s
user 0m0.077s
sys 0m0.024s
real 0m0.082s
user 0m0.076s
sys 0m0.021s
real 0m0.080s
user 0m0.076s
sys 0m0.020s
real 0m0.087s
user 0m0.075s
sys 0m0.021s
real 0m0.092s
user 0m0.085s
sys 0m0.023s
real 0m0.086s
user 0m0.068s
sys 0m0.024s
real 0m0.084s
user 0m0.078s
sys 0m0.022s
real 0m0.081s
user 0m0.078s
sys 0m0.021s
real 0m0.083s
user 0m0.075s
sys 0m0.020s
real 0m0.082s
user 0m0.077s
sys 0m0.022s
real 0m0.084s
user 0m0.078s
sys 0m0.022s
real 0m0.081s
user 0m0.067s
sys 0m0.026s
real 0m0.088s
user 0m0.079s
sys 0m0.023s