On Fri, Jan 14, 2000 at 10:40:54AM +0000, Donncha O Caoimh mentioned:
> The load on the machine went up to 73.26 and the tests took 53 seconds.
> Out of the 10000 requests, 4471 failed. It did 185.36 requests per
> second, and transfered 87.68 kb/s.
> The load on the machine went to 5.9 and the tests took 35 seconds. All
> requests completed.
> It did 285.19 requests per second, and transfered 61.32 kb/s.
> As a comparision, I created the same script in php3.
> The load on the machine went up to 18.69 and the tests took 35 seconds.
> All requests completed. It did 284.62 requests per second, and
> transfered 61.20 kb/s.
Just as a matter of interested, I benchmarked it on my desktop, running
AOLServer. AOLServer uses tcl as it's interpreter, and you can do ASP/PHP
style "embedded TCL" using "ADP", so I made a file called test.adp:
ns_puts "<HTML><BODY BGCOLOR=\"#ff5050\">"
ns_puts "this is a test"
And did the same. The answer: 12.733 seconds. This was on a dual-celeron
400, with 96MB RAM.
On the same machine, I re-ran the test on cgi-perl, mod perl, and php.
cgi-perl: 144 seconds
Microsoft. The best reason in the world to drink beer.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!