Re: [nyphp-talk] Performance testing advice

2007-11-08 Thread Cliff Hirsch
On 11/7/07 10:09 PM, "Rob Marscher" <[EMAIL PROTECTED]> wrote: > On Nov 2, 2007, at 1:28 PM, Cliff Hirsch wrote: >> ...snip... one strange bug. My first access can take upwards of 30 seconds >> for anything to happen ‹ just a blank white browser while I wait...and >> wait... After that first hit,

Re: [nyphp-talk] Performance testing advice

2007-11-08 Thread csnyder
On 11/7/07, Rob Marscher <[EMAIL PROTECTED]> wrote: > > On Nov 2, 2007, at 1:28 PM, Cliff Hirsch wrote: > ...snip... one strange bug. My first access can take upwards of 30 seconds > for anything to happen — just a blank white browser while I wait...and > wait... After that first hit, things are fi

Re: [nyphp-talk] Performance testing advice

2007-11-08 Thread Rob Marscher
On Nov 2, 2007, at 1:28 PM, Cliff Hirsch wrote: ...snip... one strange bug. My first access can take upwards of 30 seconds for anything to happen — just a blank white browser while I wait...and wait... After that first hit, things are fine, regardless of whether I use different browsers, dif

Re: [nyphp-talk] Performance testing advice

2007-11-02 Thread Cliff Hirsch
> Are you using any caching engines like smarty? I dont really see how, > but that may cause a problem like this. Caching all over the place: apc, Smarty, cache_lite > You can also put in debug statements using microtime() into your code to > see how long execution of certain components takes

Re: [nyphp-talk] Performance testing advice

2007-11-02 Thread Max Gribov
Cliff Hirsch wrote: >> >> May be your code needs to initiate a DB connection? You could try using >> persistent connections. >> DNS lookups could be it too. >> > > It does initiate a DB connection. Bt thru a socket on the same server. > Shouldn't take that long. No persistent DB connections. I

Re: [nyphp-talk] Performance testing advice

2007-11-02 Thread Cliff Hirsch
>> Its almost like the server is sleeping (remember this is a new site and is >> locked down so its possible that hours may go by between hits). Or maybe >> there are caches, like APC, that need to be filled up. Or Apache is on a >> cigarette break. Or DNS is doing lookup using the yellow pages. I

Re: [nyphp-talk] Performance testing advice

2007-11-02 Thread Max Gribov
On Fri, Nov 02, 2007 at 01:28:05PM -0400, Cliff Hirsch wrote: > I have an interesting problem with my site. I?m using Firebug and yslow > (awesome tool and book) to evaluate my page load times. Things are fairly > reasonable, given that there has been little optimization so far. But there > is one

[nyphp-talk] Performance testing advice

2007-11-02 Thread Cliff Hirsch
I have an interesting problem with my site. I¹m using Firebug and yslow (awesome tool and book) to evaluate my page load times. Things are fairly reasonable, given that there has been little optimization so far. But there is one strange bug. My first access can take upwards of 30 seconds for anythi