2008年11月25日星期二

Re: [fw-mvc] Zend_Form_Element_Multi addMultiOptions() performance

-- Marco Pracucci <pracucci@gmail.com> wrote
(on Tuesday, 25 November 2008, 09:18 AM +0100):
> > BTW, 0.2s is not terrible. I had a user report they were adding 250
> > elements to a form, and it was taking *8s* to generate. After I made
> > the
> > above optimizations, we were able to cut that down to under 1s.
>
> I don't agree with you. I know you've done a great improvement in the
> latest version, however I believe that 0.2s spent creating a form
> element is too much.

I misread you -- I thought you were referring to the complete form. 0.2s
is definitely a bit long for a single element. How many options are you
adding to the element?

Also, have you tested with 1.7.0? You still haven't indicated this
information...

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: