in reply to Wisdom for building an Efficient Perl/PerlMagick?
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Wisdom for building an Efficient Perl/PerlMagick?
by BrianP (Acolyte) on Mar 17, 2016 at 03:07 UTC | |
by Anonymous Monk on Mar 17, 2016 at 19:10 UTC | |
by BrianP (Acolyte) on Mar 18, 2016 at 23:08 UTC |