Re: com php-src: Add targets to simplify building PHP with FDO (Feedback Directed Optimisation) PHP should be built with the folowing steps::
Makefile.global configure.in
| From: | Rasmus Lerdorf | Date: | Tue, 26 May 2015 15:24:09 +0000 |
| Subject: | Re: com php-src: Add targets to simplify building PHP with FDO (Feedback Directed Optimisation) PHP should be built with the folowing steps:: Makefile.global configure.in |
||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86389@lists.php.net to get a copy of this message | ||
On 05/26/2015 07:33 AM, Dmitry Stogov wrote:
> Commit: 7dac4d449f72d7eb029aa1a8ee87aaf38e17e1c5
> Author: Dmitry Stogov <dmitry@zend.com> Tue, 26 May 2015 17:33:25 +0300
> Parents: ca31711625095c2d6e308d7f0fc9d371ad0934d4
> Branches: master
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=7dac4d449f72d7eb029aa1a8ee87aaf38e17e1c5
>
> Log:
> Add targets to simplify building PHP with FDO (Feedback Directed Optimisation)
> PHP should be built with the folowing steps:
>
> make clean
> make -j4 prof-gen
> ; now php should be trained with some scripts
> ; for example
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
sapi/cgi/php -T 1000 /var/www/http/wordpress/index.php >
> /dev/null
> make prof-clean
> make -j4 prof-use
>
> The "properly" trained build may give up to 10% real performance boost!
> "Improprly" trained PHP might be even slower.
Whoa, really 10%? I know there is AutoFDO coming in gcc 5.1 and I didn't
think this was really practical until then. Perhaps it is. I wonder if
this will spur php-wordpress, php-drupal and php-mediawiki tuned builds?
-Rasmus
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc