Re: Re: Calling performance geeks

From: Date: Tue, 14 Mar 2006 11:48:33 +0000
Subject: Re: Re: Calling performance geeks
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-22405@lists.php.net to get a copy of this message
It's probably not measurable, but a lot of small improvements like these may be measurable. I don't know how often this situation occurs per request, but if it happens for all apache config flags and php.ini flags, it may be worth improving. If an improvement is not measurable per request (but is measurable as an isolated case), is that a reason not to do it? I don't think so. But I'm not the one to judge :) So I'll just leave this up to the big kahuna's, and I don't really feel like something this small justifies any big discussions. Ron "Edin Kadribasic" <edink@emini.dk> schreef in bericht news:4416A492.9070909@emini.dk... > Ron Korving wrote: >> Oh right, okay. For a moment I thought you were talking about a >> variable-length case insensitive string compare based on this principle >> :) Your macro seems like a good idea to me. The function I was talking >> about was an apache-flag checking function, not php.ini, but I guess this >> could just as well be applied for php.ini. >> >> Like I said, the speedup is about 5x, so I think it's worth it. > > The speedup of a single function might as well be 5x, but how many time is > it called and can the performance increase be measured in benchmark test > such as the that was posted by Rasmus? > > Edin

« previous php.internals (#22405) next »