Re: deep investigation of PHP_Callback
| From: | Jeff Moore | Date: | Sun, 06 May 2007 16:32:17 +0000 |
| Subject: | Re: deep investigation of PHP_Callback | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46644@lists.php.net to get a copy of this message | ||
On May 6, 2007, at 11:55 AM, Travis Swicegood wrote:
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, JeffHere are my results for your scripts on a MacBookPro 2.33 Ghz Core Duo:I'm wondering what the difference between the Mac (maybe it's at the BSD level) and Linux is.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.