You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2000/12/11 20:56:06 UTC
Fw: Linux Hello World Benchmarks...
Jashua Chamas has run some benchmarks, which messure the startup overhead of
different ways the generate HTML output.
For those who are not on the mod_perl list I append the mail and as you see
Embperl is the fastest of all templating solutions :-)
Enjoy Gerald
----- Original Message -----
From: "Joshua Chamas" <jo...@chamas.com>
To: "Mod Perl" <mo...@apache.org>
Sent: Monday, December 11, 2000 11:13 AM
Subject: Linux Hello World Benchmarks...
> 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
>
>
Re: Fw: Linux Hello World Benchmarks...
Posted by Isak Johnsson <is...@hypergene.com>.
> Jashua Chamas has run some benchmarks, which messure the startup overhead of
> different ways the generate HTML output.
For me it would be very interresting to see the results for php too. I
think it's (aside from perl) one of the most used languages for
generating html on the fly.
Anyone has tried?
Peace on Earth!
Isak
Re: Fw: Linux Hello World Benchmarks...
Posted by Michael Stevens <mi...@iii.co.uk>.
On Tue, Dec 12, 2000 at 12:49:32PM +0100, Gerald Richter wrote:
> > For the sake of accuracy I have to point out that a later message
> > shows template toolkit can be a serious competitor (when properly
> configured,
> > which is, from the sound of it, more difficult than configuring
> > embperl):
> Yes, I saw this this morning too, but the correction was after my post to
> the embperl list, so I didn't know it at the time I send my first mail. The
> other question what does this optimazion mean and if you loose any feature
> in the optimzed mode?
It is a little vague. I've mailed joshua requesting more information
and a copy of the test suite. Will try to report back. While I'm
thinking about it, some benchmarks on embperl for various combinations
of optimisations would be interesting - might reveal something about tuning
for performance. I may have a go at this.
Michael
Re: Fw: Linux Hello World Benchmarks...
Posted by Gerald Richter <ri...@ecos.de>.
>
> For the sake of accuracy I have to point out that a later message
> shows template toolkit can be a serious competitor (when properly
configured,
> which is, from the sound of it, more difficult than configuring
> embperl):
>
Yes, I saw this this morning too, but the correction was after my post to
the embperl list, so I didn't know it at the time I send my first mail. The
other question what does this optimazion mean and if you loose any feature
in the optimzed mode?
Gerald
> http://www.davin.ottawa.on.ca/archive/modperl/2000-12/msg00631.phtml
>
> Test Name Test File Hits/sec Total Hits Total
Time sec/Hits
> ------------ ------------ ------------ ------------ ---------
--- ------------
> Template Toolkit hello.tt 560.3 33622 hits 60.01 sec
0.001785
>
>
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>
Re: Fw: Linux Hello World Benchmarks...
Posted by Michael Stevens <mi...@iii.co.uk>.
On Mon, Dec 11, 2000 at 08:56:06PM +0100, Gerald Richter wrote:
> Jashua Chamas has run some benchmarks, which messure the startup overhead of
> different ways the generate HTML output.
> For those who are not on the mod_perl list I append the mail and as you see
> Embperl is the fastest of all templating solutions :-)
For the sake of accuracy I have to point out that a later message
shows template toolkit can be a serious competitor (when properly configured,
which is, from the sound of it, more difficult than configuring
embperl):
http://www.davin.ottawa.on.ca/archive/modperl/2000-12/msg00631.phtml
Test Name Test File Hits/sec Total Hits Total Time sec/Hits
------------ ------------ ------------ ------------ ------------ ------------
Template Toolkit hello.tt 560.3 33622 hits 60.01 sec 0.001785
Michael