Stephen Bardsley wrote:
> Joshua:
> 
> I was wondering if you or anyone else have run any benchmarks
> lately. I looked back and the most recent I find are from
> mid November 2001.  That's good enough if its the latest,
> but I thought I would ask.
> 
> If I can find some time, I will attempt to run the benchmarks
> on my system.  Unfortunately there is a low likelihood of that
> happening in the near term.

The benchmark suite is here which you can run on your own
hardware for best results:

   http://www.chamas.com/bench/hello.tar.gz

What follows are running the test for 30 seconds on my system
with this command:

   ./bench.pl -version -dso --time=30 --mem

Some notes about what is being benchmarked:

   * this apache web server is the one that came with RedHat 7.2
   * Embperl 2.x does not install on this server, using slower 1.3.4 instead
   * AxKit does not run on this server
     ( need to build custom apache with expat disabled )
   * HTML::Mason was configured out of the box with HTML::Mason::ApacheHandler
     and no special optimizations were done to that handler.  Future performance
     enhancements to that module will be seen in the benchmark results.
   * I have not had time to reinstall any java web environments
     like tomcat, caucho, or jserv for testing.
   * Results tend to vary more at 30 seconds, try a longer test period
     for more accuracy.

There are 4 different kinds of test below: h2000, hello, hxsltbig,
and hxslt. They are run in order for natural grouping.  I believe
the h2000 test to most closely resemble a real world HTML page,
where the hello test shows you the startup cost for an environment,
or the fastest a page could execute there.

Test Name                           Test File Hits/sec  # of Hits Time(sec) secs/Hit  
Bytes/Hit Mem(KB)
---------                           --------- --------- --------- --------- --------- 
--------- ---------
Apache::ASP v2.37 2000              h2000.asp  184.4      5537     30.04    0.005424  
29013     32548
Apache::Registry v2.01 2000 mod_per h2000.reg  347.2     10417     30.00    0.002880  
28194     16632
HTML::Embperl v1.3.4 2000           h2000.epl  105.0      3154     30.02    0.009520  
28870     22592
HTML::Mason v1.10 2000              h2000.mas   59.7      1792     30.01    0.016747  
28803     81720
HTML::Template v2.5 2000            h2000.htm   85.0      2552     30.01    0.011760  
29167     21104
HTML::Template::JIT v0.02 2000      h2000.htm  288.5      8661     30.03    0.003467  
29167     35116
mod_php PHP 2000                    h2000.php  209.9      6302     30.02    0.004764  
28878     8728
Template v2.07 Toolkit 2000         h2000.tt   128.0      3840     30.00    0.007814  
28904     60380
Apache::ASP v2.37                   hello.asp  286.8      8606     30.01    0.003487  
257       26732
Apache::Dispatch v0.09 handler      hello/wor  607.8     18243     30.01    0.001645  
212       12188
Apache::Registry v2.01 CGI Raw      hello.cgi  705.2     21164     30.01    0.001418  
52        12692
Apache::Registry v2.01 CGI.pm       hello.cgi  445.0     13358     30.02    0.002247  
232       22296
Apache::SSI v2.17                   hello.sht  528.8     15876     30.02    0.001891  
215       14156
CGI::SpeedyCGI CGI Raw              hello.scg  174.4      5233     30.01    0.005734  
212       8768
CGI::SpeedyCGI CGI.pm               hello.scg  151.1      4534     30.00    0.006618  
232       8360
HTML static                         hello.htm 1563.6     46922     30.01    0.000640  
328       6940
HTML::Embperl v1.3.4                hello.epl  443.4     13315     30.03    0.002255  
250       18724
HTML::Mason v1.10                   hello.mas   85.5      2567     30.01    0.011690  
214       77888
HTML::Template v2.5                 hello.htm  559.0     16781     30.02    0.001789  
214       16144
mod_cgi CGI Raw                     hello.cgi  141.9      4261     30.02    0.007046  
212       7844
mod_cgi CGI.pm                      hello.cgi    9.7       293     30.24    0.103222  
232       25016
mod_include SSI                     hello.sht 1158.9     34774     30.01    0.000863  
214       8136
mod_perl handler                    hello.ben  922.1     27671     30.01    0.001084  
212       8700
mod_php PHP                         hello.php  612.7     18389     30.01    0.001632  
238       7392
mod_python Python                   hello.py   251.3      7547     30.03    0.003979  
213       18784
Template v2.07 Toolkit              hello.tt   475.3     14270     30.02    0.002104  
214       53308
Apache::ASP v2.37 XSLT Hello        hxslt.xml  152.3      4570     30.01    0.006566  
308       36952
Apache::ASP v2.37 XSLT Big          hxsltbig.  112.6      3380     30.01    0.008878  
21537     49824

Apache Server Header Tokens
---------------------------
(Red-Hat/Linux)
(Unix)
Apache/1.3.20
Embperl/1.3.4
PHP/4.0.6
Python/1.5.2
mod_perl/1.26
mod_python/2.7.6

PERL Version: 5.006001

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

Operating System: Linux 2.4.7-10smp (bhcompile@stripples) (gcc 2.96 20000731 ) #1 2CPU 
[gate]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to