Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: help speeding up my perl code

by thezip (Vicar)
on Aug 31, 2011 at 20:10 UTC ( #923499=note: print w/ replies, xml ) Need Help??


in reply to help speeding up my perl code

This looks like a job for a profiler!

Try Devel::NYTProf on for size...


What can be asserted without proof can be dismissed without proof. - Christopher Hitchens


Comment on Re: help speeding up my perl code
Replies are listed 'Best First'.
Re^2: help speeding up my perl code
by a217 (Novice) on Aug 31, 2011 at 20:18 UTC

    That seems like an interesting package, but I already know that the slow part is the foreach loop within the while loop.

Re^2: help speeding up my perl code
by BrowserUk (Pope) on Aug 31, 2011 at 20:13 UTC

    You do not need an over-engineered profiler to see the obvious. Try using your eyes first!

      BrowserUK,

      What may be obvious to your well-experienced eyesight might not be within the realm of experience of a relatively new Perl programmer.

      It was with humble intentions that I offered a vehicle to broaden their Perl exposure...

      Fair enough?


      What can be asserted without proof can be dismissed without proof. - Christopher Hitchens

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://923499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-07-30 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls