PerlMagick is a glue module for interfacing with ImageMagick. Heavy lifting is done by the latter. Your perl build options should be of little consequence. Check that the ImageMagick library itself is built with optimizations.
Generally speaking, for best results you'll want link-time optimization and the latest, greatest compilers. (And -march -Ofast, if suitable.) This is especially true for routines that can be autovectorized. For perl, I doubt it matters much. FWIW, the following appears to work:
cd perl-5.22.1 && ./Configure -des -Duseshrplib -Dusethreads -Duseithreads -Dcc='clang-3.8 -flto' && make install
Finally, if you feel like exploring alternative options, [http www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use|here are] some image processing benchmarks. Though I've no idea which libraries (besides ImageMagick) have perl glue...
In reply to Re: Wisdom for building an Efficient Perl/PerlMagick?
by Anonymous Monk
in thread Wisdom for building an Efficient Perl/PerlMagick?
by BrianP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |