Perl slowness
Noam Meltzer
tsnoam at gmail.com
Tue Sep 8 17:27:04 IDT 2009
the time output does looks like you have higher cpu usage for some reason,
so i agree with Shachar on this.
you can also try to pinpoint the place the cpu is spent.
strace and/or ltrace with the '-f -c' flags can help.
On Tue, Sep 8, 2009 at 5:24 PM, Shachar Shemesh <shachar at shemesh.biz> wrote:
> Noam Rathaus wrote:
>
> I know the time difference doesn't look too bad, but take a bigger code
> set:
>
> Fast:
> real 0m1.682s
> user 0m1.584s
> sys 0m0.064s
>
> Slow:
> real 0m16.730s
> user 0m9.345s
> sys 0m0.096s
>
> These times spell "CPU intensive". Does your library do anything special?
> If you try to import a dummy library, does this still happen?
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.http://www.lingnu.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090908/6c48e876/attachment.html>
More information about the Linux-il
mailing list