Tobias,

On 25/06/07, Tobias Kremer <[EMAIL PROTECTED]> wrote:
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->as_xml(); } );

but nevertheless:

(widget) timethis 1000:  7 wallclock secs ( 7.26 usr +  0.35 sys =
7.61 CPU) @ 131.41/s (n=1000)
(formfu) timethis 1000: 63 wallclock secs (59.00 usr +  2.99 sys =
61.99 CPU) @ 16.13/s (n=1000)

Thanks for these figures, I'm setting some time aside today to look into this.
First step will be to create some benchmarking scripts that can be
kept in the repository, and then start profiling.

Cheers,
Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to