http://www.perlmonks.org?node_id=270566


in reply to Speed of 5.8.0 versus 5.6.1

Suggestion: Profile a couple of the scripts that show the greatest difference, under 5.61 and 5.8. That should highlight were the differences are and may allow you to make specific changes to redress the balance.

If you post your findings here, then somebody may be able to suggest work-arounds for specific areas. I have noted a certain amount of slowdown between the 2 versions, but nothing like 50%. That really does sound like you have a specific problem that could probably be addressed.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


Replies are listed 'Best First'.
Re: Re: Speed of 5.8.0 versus 5.6.1
by waswas-fng (Curate) on Jul 01, 2003 at 18:16 UTC
    Depending on the keys you are using for hashes 5.6.1 -> 5.8.x can be just about 50% slower, so look for tight loops with hash keys being set as the culprit. If they can't be refactored consider having a 5.6.1 tree somewhere for those apps. (unless you need unicode support or stable threading)

    -Waswas