Perrin Harkins wrote:
> 
> on 11/19/01 8:05 PM, Joshua Chamas at [EMAIL PROTECTED] wrote:
> > It has been a while, but here's a new set of Hello World benchmarks!
> 
> There was a recent announcement of HTML::Template::JIT, and Template Toolkit
> has an XS option now.  Any chance you could put those into the next round?
> - Perrin

OK, I upgraded Template Toolkit to version 2.06 with XS option on 
for all templates, and performance is much improved!!  

However, HTML::Template::JIT will likely not work on my system any 
time soon, because it was written for perl 5.6, and I only run 5.00503 
currently. Someone else can submit a test & config specifically for 
HTML::Template::JIT, I'd suggest the h2000 type where speed matters, and 
I'll add it to the test suite even it I can't run the benchmark myself.

[hello]# ./bench.pl -type=2000 -ram -time=60

Test Name                           Test File Hits/sec  # of Hits Time(sec) secs/Hit  
Bytes/Hit Mem(KB)   
---------                           --------- --------- --------- --------- --------- 
--------- --------- 
Apache::ASP 2000                    h2000.asp  209.4     12566     60.02    0.004776  
28998     33200     
Apache::Registry 2000 mod_perl API  h2000.reg  327.0     19622     60.02    0.003059  
28179     15300     
HTML::Embperl 2000                  h2000.epl  107.5      6465     60.12    0.009299  
28841     20048     
HTML::Mason 2000                    h2000.mas   80.8      4849     60.00    0.012374  
28799     110292    
HTML::Template 2000                 h2000.htm   95.4      5724     60.01    0.010484  
29152     49932     
mod_php PHP 2000                    h2000.php  247.6     14862     60.02    0.004038  
28866     10384     
Template Toolkit 2000               h2000.tt   125.5      7533     60.02    0.007967  
28889     55748     

-- Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to