Re: [PHP4BETA] fast is good
| From: | Zeev Suraski | Date: | Fri, 16 Jul 1999 21:42:40 +0000 |
| Subject: | Re: [PHP4BETA] fast is good | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2138@lists.php.net to get a copy of this message | ||
On Fri, 16 Jul 1999, Brian Schaffner wrote:
> from what i can tell, most long running (20 seconds or more) scripts, will
> see a dramatic performance boost. all of my long running scripts (20 to 45
> seconds) are running 10 seconds faster under the new PHP4!!!
Are they SQL intensive scripts? If they're pure PHP, you should see much
more impressive performance. If they're SQL intensive, I think that PHP's
overhead is simply no longer a significant factor in the time it takes to
execute the script, and that mostly all of what you're waiting for is the
SQL to give back results.
> and since good is never enough - when can we get our hands on the optimizer?
It will take a while, but the optimizer will only give you benefit if what
slows you down is PHP. Judging by the numbers you supplied, that doesn't
seem to be the case...
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il