Interesting...

There are a couple of other tests that PHP does poorly on.
http://www.bagley.org/~doug/shootout/lang/php/ might be worth looking
at. --enable-inline-optimization only made a small difference for me.
Generally my results matched up pretty closely with Dougs for the few tests
I did on my machine and I didn't catch a lot of unoptimized code.

While these are clearly synthetic tests, that looping was similar actually
to something I did for a big reference tree of 400,000 odd users that would
take up to an hour to complete. Web apps in the end are made up of a bunch
of these synthetics. What was suprising to me is that other scripting
players like perl did reasonably well on some of them. Java has a more
impressive showing than I would I have thought as well. Certainly some
interesting food for thought.

- August

Curious looking forward (ZE2) where PHP is moving performance wise. My sense
is that the focus is more feature oriented.

----- Original Message -----
From: "Zeev Suraski" <[EMAIL PROTECTED]>
To: "August Zajonc" <[EMAIL PROTECTED]>
Cc: "Sterling Hughes" <[EMAIL PROTECTED]>; "Markus Fischer"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, December 29, 2001 9:27 AM
Subject: Re: [PHP-DEV] Re: Shootout


> Taking that code and coupling the Zend Optimizer, PHP and Perl were
> approximately the same speed (Perl was 8% faster, but that probably varies
> across platforms).
>
> W/o the optimizer PHP was 2 times slower, but again, that's only because
> this is not a very real-world piece of code, at least for our space
> (scripting languages).
>
> Zeev
>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to