I would go though the points listed in Nicholas Clark's "When Perl is Not Quite Fast Enough", which mostly suggests compiling a Perl without threads and some other compiler options for a "free" speed boost, provided you don't need the features. It also suggests some nastier stuff like opcode golf, but I assume that your main goal is to improve the program speed without changing the program itself.
I would also look at toggling the COW-feature and potentially switching the compiler flags to optimize for the target CPU architecture specifically.
Unfortunately, neither I nor Google seem to find the slides online. Maybe sending Nicholas an email prompts him to put the slides online somewhere.
In reply to Re: Compile perl for performance
by Corion
in thread Compile perl for performance
by learnedbyerror
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |