On Mon, 14 Jan 2013 11:22:18 +0700
budi pearl <[email protected]> wrote:
> Is there any way to reduce the processor usage by perl?
> I am trying to use nice -19 but proc usage is still 100%
Depends what your code is doing. If you're doing a continuous loop or
something, yes, you'll eat up CPU.
Devel::NYTProf can be awesome to see where your code is spending most
of its time, so you know where to focus.
--
David Precious ("bigpresh") <[email protected]>
http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan www.preshweb.co.uk/github
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/