It`s great to hear that performance audit is planning.
I`ll definitely share everything I`ve noticed and benchmarked.

Thanks for info Matthew.




Matthew Weier O'Phinney-3 wrote:
> 
> -- Michał Zieliński <[EMAIL PROTECTED]> wrote
> (on Tuesday, 05 August 2008, 06:20 AM -0700):
>> 
>> Yes but caching doesn`t answer the question why this operation is so
>> slow.
> 
> You're right, it doesn't.
> 
> We're planning on doing a performance audit for 1.7, and this is one
> area I've already marked (others have noted similiar issues with Multi
> elements that have large sets).
> 
> Please file an issue for this, and indicate:
> 
>   * What operating system you're using
>   * What version of PHP you're using
>   * Whether or not you're using an opcode cache (you should!)
>   * The size of the data set you're looping over
>   * What benchmarks you may have run
> 
> This will help us better understand the problem set so that we can have
> accurate profiling -- which will hopefully lead to some optimizations.
> 
> 
>> Matthew Weier O'Phinney-3 wrote:
>> > 
>> > -- Michał Zieliński <[EMAIL PROTECTED]> wrote
>> > (on Tuesday, 05 August 2008, 01:00 AM -0700):
>> >> I`d like to generate a form which lists products and provides one
>> field
>> >> for
>> >> each product.
>> >> Seems to be easy, so I do sth like: http://paste2.org/p/55571
>> >> 
>> >> Unfortunately it is slow! For 10 products it takes 0.6 sec. to
>> generate.
>> >> Is there a better (more efficient) method to build such forms via
>> >> Zend_Form?
>> >> 
>> >> The same I noticed when tried to create a select element which
>> contained
>> >> many options (i.e. list of countries). Without ajax (autocomplete) it
>> >> takes
>> >> ages to generate and seems to be useless in this case. Shame.
>> >> 
>> >> I wonder if Zend_Form can be used when it comes to generate a lot of
>> >> inputs/options in select or I`m forced to create it by hand?
>> > 
>> > Have you considered caching?
>> > 
>> > -- 
>> > Matthew Weier O'Phinney
>> > Software Architect       | [EMAIL PROTECTED]
>> > Zend Framework           | http://framework.zend.com/
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Zend_Form-and-generating-fields-tp18826312p18830980.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>> 
> 
> -- 
> Matthew Weier O'Phinney
> Software Architect       | [EMAIL PROTECTED]
> Zend Framework           | http://framework.zend.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Form-and-generating-fields-tp18826312p18831763.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to