Portable version single threaded vs multi threaded installed version

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
32d2d7ee
Posts: 11
Joined: 2016-09-19T01:00:08-07:00
Authentication code: 1151

Portable version single threaded vs multi threaded installed version

Post by 32d2d7ee »

I downloaded the ImageMagick-7.0.7-0-portable-Q16-x64.zip version.

When I run the portable version I see that only 1 thread is used, see info below.
I notice difference when using the -resize option.

Code: Select all

D:\Downloads\ImageMagick-7.0.7-0-portable-Q16-x64\convert.exe -version

Version: ImageMagick 7.0.7-0 Q16 x64 2017-09-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC HDRI
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

Code: Select all

"D:\Downloads\ImageMagick-7.0.7-0-portable-Q16-x64\convert.exe" -bench 2 XXX_20170703_4720.JPG XXX_20170703_4720.PNG
Performance[1]: 2i 0.106ips 1.000e 18.891u 0:18.920
However when I use the installed vesion I get the results below. Both version are run on the same computer, a Windows 10 home.

Code: Select all

magick.exe -version

Version: ImageMagick 7.0.3-0 Q16 x64 2016-09-05 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

Code: Select all

 magick.exe -bench 2 XXX_20170703_4720.JPG XXX_20170703_4720.PNG
Performance[1]: 2i 0.112ips 1.000e 17.766u 0:17.844
Performance[2]: 2i 0.110ips 0.495e 18.219u 0:18.218
Performance[3]: 2i 0.112ips 0.500e 17.844u 0:17.861
Performance[4]: 2i 0.113ips 0.501e 17.734u 0:17.766
Performance[5]: 2i 0.113ips 0.502e 17.719u 0:17.731
Performance[6]: 2i 0.112ips 0.501e 17.797u 0:17.808
Performance[7]: 2i 0.112ips 0.499e 17.891u 0:17.899
Performance[8]: 2i 0.111ips 0.499e 17.891u 0:17.939
I noticed that with the installed version the OpenMP feature is extra.
  • Is there a portable version with this feature.
  • Is there a setting I shoud set or is the portable version only single threaded.
Post Reply