Re: GCC/CFLAGS Benchmark for HEAD and PHP_5_0
| From: | Marcus Boerger | Date: | Mon, 04 Oct 2004 19:26:51 +0000 |
| Subject: | Re: GCC/CFLAGS Benchmark for HEAD and PHP_5_0 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13153@lists.php.net to get a copy of this message | ||
Hello Sterling, hello Sebastian,
Monday, October 4, 2004, 9:18:47 PM, you wrote:
> On Mon, 04 Oct 2004 15:05:04 -0400, Ilia Alshanetsky <ilia@prohost.org> wrote:
>> Very interesting numbers, I'd like to second Marcus' request for a 4.3
>> benchmark.
>>
>> I was somewhat surprised by O2 and O1 being slower then Os, while O3 in
>> some cases may end over optimizing which would it explain it's poor
>> showing. However, it could be that it makes simple situations slower,
>> while more complex operations that are generally more CPU intensive will
>> in fact become faster. If you don't mind, could you please all include
>> data for "time make test" as it seems to cover a much greater quantity
>> of code.
>>
> Thies and I found the same thing when we did our patch. It relates to
> the size of the executor loop that is generated, if you have too much
> inlining you end up blowing your instruction cache.
That means not using all opcodes could result in faster execution with
the function based executor. Maybe sebastian could try that too?
--
Best regards,
Marcus mailto:helly@php.net