List Info

Thread: How to run benchmark.py for cherrypy http server?




How to run benchmark.py for cherrypy http server?
user name
2006-12-29 04:54:26
vizcayno wrote:
> I got "ab" program from Apache site (my
intention was never to use
> Apache so, I beg your pardon if I get confussed with
the command) and
> ran it in one cmd.exe session; previously I executed
benchmark.py on a
> second cmd.exe session. I show you the results:

Yeah, the detail you seem to be missing is that benchmark.py
RUNS AB
FOR YOU. So you don't need to run ab yourself, but you do
have to have
it installed. Now that you *do* have it installed,
benchmark.py finds
it and uses it to generate the tables of response statistics
you saw.

> -Benchmark.py continues hung but shows the results I
attached.

This was a problem until very recently:
http://www.ch
errypy.org/changeset/1561. So if you have a copy of CP 3
that's even a week old, I expect it to hang. Just hit
"Ctrl-C" after
the 3 report tables are printed, and it'll terminate
normally.

> -Web page http://localhost:8080/
continues showing the msg "Internet
> Explorer cannot display the webpage".

I can't explain that one, unless you're trying to access the
page after
the reports have all printed (and the server has shut down).

It looks like you're 99% of the way there.


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en

-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )