Re: The INI framework in PHP 4.0
| From: | Sascha Schumann | Date: | Fri, 26 May 2000 18:26:14 +0000 |
| Subject: | Re: The INI framework in PHP 4.0 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19540@lists.php.net to get a copy of this message | ||
On Fri, 26 May 2000, Zeev Suraski wrote:
> On Fri, 26 May 2000, Sascha Schumann wrote:
>
> > > How did you benchmark? I find it hard to believe that 12 hash lookups,
> > > malloc's and memcpy's on every request, don't make a significant
> > > difference. Was that time you checked it after the session module was in
> > > place and with that slow startup?
> >
> > Sure.
> >
> > The benchmark was created to show the potential benefit of reducing
> > startup costs. Or expressed in a script, <? echo "hello world"; ?>
> >
> > While there are lies, damn lies and benchmarks, I was not tricky enough
> > to produce a benchmark which showed more than 3% or so difference.
>
> You tested in a 'real' environment? With something like 'ab'?
A 'real' benchmark environment with 'real' computers and a 'real' web
server and 'real' clients like 'http_load' and 'ab'.
Now let's get rid of whatever clutters the code.