]> granicus.if.org Git - php/commit
Add targets to simplify building PHP with FDO (Feedback Directed Optimisation)
authorDmitry Stogov <dmitry@zend.com>
Tue, 26 May 2015 14:33:25 +0000 (17:33 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 26 May 2015 14:33:25 +0000 (17:33 +0300)
commit7dac4d449f72d7eb029aa1a8ee87aaf38e17e1c5
tree45b76f66d89dbf19d268e8a640877451b822e91b
parentca31711625095c2d6e308d7f0fc9d371ad0934d4
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 `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.
Makefile.global
configure.in