2009/4/9 till <klimp...@gmail.com>:
> On Thu, Apr 9, 2009 at 11:11 AM, Andrei Iarus <poni1...@yahoo.com> wrote:
>> Hello everyone,
>>
>> I have noticed that Zend Form part of Framework is being executed extremely
>> slow. Comparing to the same form being implented with no framework, here are
>> the results (the layout part load time is also included here, for both
>> columns):
>>
>> Just loading the form (no submit):
>> with framework: 1.6sec - 5500KB
>> no framework: 0.1sec - 3800KB
>>
>> Submitting the form and validating it:
>> with framework: 2.8sec - 5900KB !!!!!
>> no framework: 0.12sec - 3870KB
>>
>> The form contains 15 elements (3 select and the rest - input text ) and 5
>> very simple extensions of DB abstract table.
>>
>> What would be the problem? Any tips?
>
> Hard to tell without any code. But generally, I'd create a cachegrind
> file (through xdebug) to analyze why it's so slow.
>
> One thing -- off hand -- if you're not yet caching your
> Zend_Db_Table_Abstract models, you should.
> Check out:
> Zend_Db_Table_Abstract::setDefaultMetadataCache()

Also read the performace guide see if there is anything in there that
might help you :)
>
> Till
>



-- 
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

Reply via email to