> I ran oprofile for 30 minutes on my laptop today.  After visiting
> roughly 300 urls from my bookmarks file, I ran opreport on polipo.  My
> polipo binary is built from a darcs pull this morning.

More or less what I expected.  Early versions of Polipo spent 60% of
their time in the HTTP parser.  After I rewrote the HTTP parser to be
more efficient, it disappeared in the background, and now the only
hot-spot is timeval_cmp, which is called whenever we enqueue a new
event handler into the event queue.

Any ideas to make timeval_cmp more efficient are warmly welcomed.

> I also ran valgrind against the same polipo binary at a different point
> in time.  It appears polipo has zero memory leaks.

I know :-)

                                        Juliusz

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to