[html-formfu] select element with options attribute slowdown

Carl Franks fireartist at gmail.com
Thu May 10 16:43:12 GMT 2007


On 10/05/07, Tobias Kremer <list at funkreich.de> wrote:
> > Hold on, I double-checked this. The error message is gone but the performance
> > is still really bad (~8 seconds). It seems like the process of setting a lot
> > of options (in my case 250 entries) on a select element takes quite some
> > time.
> > Can you confirm this?
>
> Unfortunately that doesn't seem to be the problem either as a plain perl
> script (without Catalyst) proves: setting 1000 options and rendering the form
> via TT comes out at 0.04 seconds. It's somehow Catalyst-related. I'll have
> to dig into it a little deeper but any suggestions are greatly appreciated!

I take it that was timed on one of the machines that's running slow, right?

There's no code or server stats, so can't really help any further.

If it looks Cat-related, I seem to recall either `cpan` or `cpanp`
having an option to update all installed modules... ;)

Carl



More information about the HTML-FormFu mailing list