Want to subscribe to topics you're interested in?
Become a Member

Beta Branch update inc/php_upgrade.inc add PHPPGO_INDEXPATH variable support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 1, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    45,155
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:07 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    6:07 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    If we don't have index path set we don't get any optimizations?
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,155
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:07 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    No PHP_PGO='y' has optimisation for wordpress, drupal, mediawiki php code paths but they'r generic PHP code paths. So roughly 3-10% better PHP 7+. But if you want to do PGO training for specific PHP scripts like wordpress, xenforo etc, you would need to define a PHPPGO_INDEXPATH to the PHP web app's index.php page so further advanced PGO training is done like in Wordpress PGO training benchmarks at PHP - PHP 7.3 vs 7.2 vs 7.1 vs 7.0 (PHP-FPM) Benchmarks. Such PGO training could have better PHP 7+ performance in 5-40% range.
     
  4. rdan

    rdan Well-Known Member

    4,983
    1,185
    113
    May 25, 2014
    Ratings:
    +1,804
    Local Time:
    11:07 AM
    Mainline
    10.2
    Problem with XF 2.1, it will just produce errors when directly calling public/index.php.
     
  5. eva2000

    eva2000 Administrator Staff Member

    45,155
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:07 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah not entire sure if PGO training still works with the errors from Xenforo if not then that's why I posted this on XF forum for request for help from PHP coders PHP coding help to boost Xenforo PHP Performance Via PGO training so if you know PHP code and Xenforo :)
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    6:07 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Will need to test it for Invision forums...