Re: [html-formfu] Performance

2007-06-25 Thread Tobias Kremer
Am 25.06.2007 um 21:46 schrieb Tobias Kremer: my $widget = HTML::Widget->new(); $widget->element('Textfield')->name('text')->label('Text')->size (30) for( 1..20 ); timethis( 1000, sub { $widget->process } ); Hmmm ... I suppose that last line should be: timethis( 1000, sub { $widget->process-

Re: [html-formfu] Performance

2007-06-25 Thread Tobias Kremer
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/:a