urllib's performance

Aahz Maruch aahz at panix.com
Thu May 10 10:44:29 EDT 2001


In article <9dbmuo$978$1 at harvester.transas.com>,
Michael Sobolev <mss at transas.com> wrote:
>
>Two days ago I tried to create a small script that should help me to
>estimate a performance of a web system we created.  But I found that
>using the python script does not allow to get as many requests as I was
>able to with plain shell with wget.  It was a little bit surprising as
>I thought that python's performance is rather good.  Maybe I am just
>missing something.  I am using python 1.5.2 and the urllib that comes
>with it.

If you're testing performance, you probably want a threaded "hammer"
script.  See http://starship.python.net/crew/aahz/
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"Don't be so humble -- you are not that great."  --Golda Meir



More information about the Python-list mailing list