Am 25.06.2007 um 21:41 schrieb Tobias Kremer:
I'm not sure if what my script is measuring is comparable, but if
it is, the results are devastating IMHO. Here's the source:
Err, that was a little bit too quick :) Let's try that again ...
use HTML::FormFu;
use HTML::Widget;
use Benchmark qw/:all/;
my $formfu = HTML::FormFu->new();
$formfu->element( { type => 'text', name => 'text', size => 30, label
=> 'Text' } ) for( 1..20 );
timethis( 1000, sub { "$formfu" } );
my $widget = HTML::Widget->new();
$widget->element('Textfield')->name('text')->label('Text')->size(30)
for( 1..20 );
timethis( 1000, sub { $widget->process } );
--Tobias
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu