ImageMagick very slow

Have you tried to run ImageMagick and think it is slow?
Then we have a solution for you. The multiprocessor support in ImageMagic really do not work well in this type of container. All you need to do is to disable the multithread feature and it will be fast.

CT-40673-bash-4.1# time convert -resize 100x100 openssl_button.gif xx.gif

real 0m5.178s
user 0m3.666s
sys 0m0.069s

CT-40673-bash-4.1# export MAGICK_THREAD_LIMIT=1
CT-40673-bash-4.1# time convert -resize 100x100 openssl_button.gif xx.gif

real 0m0.117s
user 0m0.043s
sys 0m0.073s

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.