But that should not be the only tricks ...
I've 2 debugger loaded :-)
with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
with Zend Debugger v5.2.14, Copyright (c) 1999-2008, by Zend Technologies
And also a lot's of extensions ( like pdflib, mapserver, clam loaded )
But I have also apc
With ZF 1.6.0 It take between 1.97 (apc cache empty) to 1.64 seconds to
generated my form with captcha image inside.
Opensuse linux 32bits Centrino 2.4Ghz 4Go Ram sata II 7200rpm hardrive (with
encryption)
apache 2.2.4 and php 5.2.6.
Matthew Lurz wrote:
> Yes. I'm sorry if I wasn't clear on this.
>
>
> Matthew Weier O'Phinney-3 wrote:
>> -- Matthew Lurz <[EMAIL PROTECTED]> wrote
>> (on Wednesday, 10 September 2008, 12:30 PM -0700):
>>> To say that I am embarrassed would be an understatement. So sorry to have
>>> wasted your time Matthew. I thought Xdebug had been disabled when I
>>> initially noticed the hit. Apparently not. I just asked my boss for the
>>> RETARD stamp for my forehead in hopes that this would provide a modicum
>>> of
>>> consolation and comic relief to you. And now it's in the historical
>>> record.
>> So I take it to mean that the debugger was the issue? :)
>>
>>
>>> How long have I been doing this? Is it time to consider a less
>>> challenging
>>> profession? I think I could still flip a burger but who the hell knows.
>>> Anyhow, thanks for your patience.
>>>
>>>
>>> Matthew Weier O'Phinney-3 wrote:
>>>> -- Matthew Lurz <[EMAIL PROTECTED]> wrote
>>>> (on Wednesday, 10 September 2008, 09:17 AM -0700):
>>>>> I recently noticed that a form using Zend_Captcha_Image was taking
>>> 15-20
>>>>> seconds to load. I reviewed my code but couldn't find the source of
>>> the
>>>>> issue though it was obviously related to the Captcha element. So, I
>>> setup
>>>>> a
>>>>> form in a test environment that does nothing more than load an image
>>>>> Captcha. The trace is 189,253 lines and the page takes over 12 seconds
>>> to
>>>>> load. This wasn't always the case. Did I miss something or is this a
>>> bug?
>>>> A couple of things: first off, GD and imagick typically suffer a pretty
>>>> large performance hit when you have a debugger enabled in your PHP
>>>> profile. Try benching with no debugger enabled (disable it in your
>>>> php.ini and restart the web server).
>>>>
>>>> Second, what OS are you on, and what version of PHP?
>> --
>> Matthew Weier O'Phinney
>> Software Architect | [EMAIL PROTECTED]
>> Zend Framework | http://framework.zend.com/
>>
>>
>
--
Bruno Friedmann
Ioda-Net Sàrl
2830 Vellerat - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch
Centre de Formation et de Coaching En Ligne
www.cfcel.com