Re: Compiling PHP with -O3
| From: | Jim Jagielski | Date: | Wed, 13 Dec 2000 02:25:13 +0000 |
| Subject: | Re: Compiling PHP with -O3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41110@lists.php.net to get a copy of this message | ||
Mark J. Hershenson wrote:
>
> Out of curiosity, I have been attempting to compile PHP with "-O3" and not
> "-O2" optimization. I changed Zend/Makefile and ./config_vars.mk to do it.
>
> It seems to work just fine so far. I haven't done any speed tests to see if
> it's good or bad, but I've done it.
>
> Having satiated my curiosity, I would be interested in now knowing whether
> -O3 is actually a good thing to do.
>
Depends...On FreeBSD, it's pretty well known that O2 and higher
are semi-munged and not worth the risk. I have a few systems
running that have been compiled at O2 and they seem no more
or less stable that those with O, nor do they seem more or
less faster.
--
===========================================================================
Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/
"Casanova will have many weapons; To beat him you will
have to have more than forks and flatulence."