Hey,
I have automated a portable Hello World test suite, but its not
CPAN ready, so if any would like to contribute, run, and comment
on the sources, give me a holler & I'll send them to you. What
it does is fire up a lean apache on a high port with only the
config necessary to run the benchmark.
RESULTS:
[hello]# ./bench.pl -time=60
...
Test Name Test File Hits/sec Total Hits Total Time Total
Bytes
------------ ------------ ------------ ------------ ------------
------------
Apache::ASP hello.asp 416.9 25016 hits 60.00 sec 4478401
byte
Apache::Registry CGI Raw hello_raw.re 736.9 44214 hits 60.00 sec 2299284
byte
Apache::Registry CGI.pm hello.reg 501.3 30080 hits 60.00 sec 4632628
byte
HTML Static hello.html 1211.6 50000 hits 41.27 sec 12450249
byt
HTML::Embperl hello.epl 510.7 30647 hits 60.01 sec 4843016
byte
HTML::Mason hello.mas 382.2 22934 hits 60.00 sec 3086640
byte
ModPerl Handler hello.bench 888.9 50000 hits 56.25 sec 6700268
byte
Template Toolkit hello.tt 181.6 10895 hits 60.01 sec 1481992
byte
**AxKit --> need someone to run benchmark suite with this working
Apache::ASP v2.07
HTML::Embperl 1.3.0
HTML::Mason 0.89
Template Toolkit 2.0
mod_perl 1.24
apache 1.3.14
linux 2.2.14
PIII 450x2
localhost interface
Note, this is the first benchmark that I've run of Apache::ASP on
Linux, which is nice to see because Linux is one of the faster OS's,
and it now looks bit more of a player, compared to what's listed at
http://www.chamas.com/bench/ when I benched it on Solaris x86.
Also, Mason seems to have improved significantly since I last
benched it. Good job Jonathan.
Lastly, I was unable to get AxKit to run without segfaulting ...
I had wanted to get at least a XPathScript benchmark, and maybe
Sablotron driven XSLT. The simple XSLT hello world is at
http://www.chamas.com/bench/#xml. The XPathScript HelloWorld
that I came up with was: <% print "Hello "; %>World ... but
maybe it should have been more like the XSLT hello world?
-- Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051