On May 6, 2007, at 11:55 AM, Travis Swicegood wrote:
>> Here are my results for your scripts on a
MacBookPro 2.33 Ghz Core
>> Duo:
>>
>> Proc: Requests per second: 3127.15 [#/sec]
(mean)
>> Pear: Requests per second: 585.43 [#/sec]
(mean)
>>
>> That's 5 times slower. It is, I think, a lot closer
to truth than
>> your own results...
>> For other tests, I am in line with Greg's results.
>
> I'm wondering what the difference between the Mac
(maybe it's at
> the BSD level) and Linux is.
Travis,
Include is relatively more expensive on a mac because the
system
calls that PHP makes during the include process are slower
on OS X
than on linux. Also, that machine is a laptop with a slow
(but
quiet) hard drive, although that shouldn't matter because it
should
be cached after the first request.
Best Regards,
Jeff
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|