-- 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/

Reply via email to