Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: help speeding up my perl code

by thezip (Vicar)
on Aug 31, 2011 at 20:10 UTC ( [id://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

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 (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://923499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-16 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found