Hey,

I have released the latest Hello World benchmark suite, which you 
can find at http://www.chamas.com/bench/hello.tar.gz ... Enjoy!

--Josh

CHANGES
 1) Apache::Registry Hello World 2000 benchmark added, fastest of group,
    showing perl's raw template rendering power!
 2) New XSLT AxKit and Apache::ASP benchmarks with XML::Sablotron

DISCLAIMER: Like any benchmarks, these test no more than they test for.  
Fortunately you have can run them for yourself on YOUR hardware, and 
recommend any improvements as you see fit to the benchmark suite, or 
even add some tests for environments not covered already!

SPEED NOTES:  
  1) These were run on a dual proc CPU PIII 450 which seems to have a 
     lower relative bench for the HTML static test than on sincle proc CPU
  2) HTML::Embperl v2.x is much faster than 1.3.0 on the h2000 bench,
     last I remember faster than Apache::ASP, about the same as PHP
     I decided to run 1.3.0, since its what I get from a CPAN install.
  3) HTML::Mason was about as fast as Apache::ASP on the h2000
     benchmark, but since 1.x was released, is much slower.

BENCHMARK RESULTS

hello]# ./bench.pl -time=60 -version

Test Name                           Test File  Hits/sec   Total Hits Total Time 
sec/Hits   Bytes/Hit  
------------                        ---------- ---------- ---------- ---------- 
---------- ---------- 
Apache::ASP v2.15 2000              h2000.asp   224.5     13479 hits 60.04 sec  
0.004454   28997 byte 
Apache::Registry v2.01 2000 mod_per h2000.reg   335.0     20102 hits 60.01 sec  
0.002985   28178 byte 
HTML::Embperl v1.3.0 2000           h2000.epl   107.7     6463 hits  60.02 sec  
0.009287   28840 byte 
HTML::Mason v1.03 2000              h2000.mas    82.5     4954 hits  60.02 sec  
0.012114   28798 byte 
mod_caucho JSP 2000                 h2000.jsp   315.3     18928 hits 60.03 sec  
0.003171   28964 byte 
mod_php PHP 2000                    h2000.php   257.3     15448 hits 60.04 sec  
0.003886   28865 byte 
Template v2.00 Toolkit 2000         h2000.tt     53.7     3223 hits  60.02 sec  
0.018621   28888 byte 
Apache::ASP v2.15                   hello.asp   371.9     22324 hits 60.02 sec  
0.002689   241 bytes  
Apache::Dispatch v0.08 handler      hello/worl  635.0     38107 hits 60.01 sec  
0.001575   196 bytes  
Apache::ePerl                       hello.eper  337.3     20239 hits 60.01 sec  
0.002965   217 bytes  
Apache::Registry v2.01 CGI Raw      hello_raw.  686.1     41172 hits 60.01 sec  
0.001458   52 bytes   
Apache::Registry v2.01 CGI.pm       hello.cgi   449.6     26985 hits 60.02 sec  
0.002224   216 bytes  
Apache::SSI v2.16                   hello.shtm  546.6     32802 hits 60.01 sec  
0.001829   199 bytes  
HTML static                         hello.html 1148.1     50000 hits 43.55 sec  
0.000871   311 bytes  
HTML::Embperl v1.3.0                hello.epl   466.4     27996 hits 60.02 sec  
0.002144   220 bytes  
HTML::Mason v1.03                   hello.mas   361.5     21702 hits 60.02 sec  
0.002766   197 bytes  
HTML::Template v2.0                 hello.htmp  551.3     33089 hits 60.02 sec  
0.001814   198 bytes  
mod_caucho JSP                      hello.jsp   835.6     50000 hits 59.84 sec  
0.001197   230 bytes  
mod_include SSI                     hello.shtm  979.5     50000 hits 51.05 sec  
0.001021   198 bytes  
mod_perl handler                    hello.benc  831.2     49887 hits 60.02 sec  
0.001203   196 bytes  
mod_php PHP                         hello.php   716.2     42975 hits 60.01 sec  
0.001396   225 bytes  
mod_speedycgi                       hello.cgi   294.4     17673 hits 60.03 sec  
0.003397   216 bytes  
Template v2.00 Toolkit              hello.tt    509.7     30594 hits 60.02 sec  
0.001962   198 bytes  
Apache::ASP v2.15 XSLT Hello        hxslt.xml   218.5     13113 hits 60.00 sec  
0.004576   279 bytes  
AxKit v1.4 XSLT Hello               hxslt.xml   200.7     12046 hits 60.01 sec  
0.004981   398 bytes  

Apache Server Header Tokens
---------------------------
(Unix)
Apache/1.3.14
AxKit/1.4
OpenSSL/0.9.6
PHP/4.0.3pl1
Resin/1.2.1
mod_perl/1.24
mod_ssl/2.7.1

PERL Version: 5.00503

JAVA Version: java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc))

Operating System: Linux 2.2.14-9.0 (root@gate) (gcc egcs-2.91.66) #1 2CPU [gate.]

Reply via email to