RE: [PHP-DEV] Re: Calling performance geeks
| From: | Dmitry Stogov | Date: | Tue, 14 Mar 2006 14:23:17 +0000 |
| Subject: | RE: [PHP-DEV] Re: Calling performance geeks | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22407@lists.php.net to get a copy of this message | ||
Php.ini is parsed only on php startup (not on each request).
So this improvement will not give to much.
Dmitry.
> -----Original Message-----
> From: Ron Korving [mailto:r.korving@xit.nl]
> Sent: Tuesday, March 14, 2006 2:49 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: Calling performance geeks
>
>
> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>