On Mon, 14 Jan 2013 11:22:18 +0700
budi pearl <budipe...@gmail.com> 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") <dav...@preshweb.co.uk>
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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to