Bug #79008 [NEW]: General performance regression with PHP 7.4 on Windows

From: Date: Fri, 20 Dec 2019 15:23:26 +0000
Subject: Bug #79008 [NEW]: General performance regression with PHP 7.4 on Windows
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224450@lists.php.net to get a copy of this message
From: cmb Operating system: Windows PHP version: 7.4Git-2019-12-20 (Git) Package: Performance problem Bug Type: Bug Bug description:General performance regression with PHP 7.4 on Windows Description: ------------ The reworking of the Windows stat implementation for PHP 7.4[1] caused an fstat() related performance regression compared to PHP 7.3, which is most serious with OPcache disabled, where it makes scripts and applications about 10% slower. This is because fstat() now tries to retrieve the filename of the stream to properly set the executable bits (S_IEXEC) of the st_mode member, while formerly it did not (instead native Windows fstat() and friends have been called). [1] <http://git.php.net/?p=php-src.git;a=commit;h=e42e8b1051a8abeaa8e6053653a4ff43438766e2> Test script: --------------- <?php echo 'hello world'; Expected result: ---------------- something like <https://windows.php.net/downloads/snaps/ostc/pftt/perf/7.3.12-7.4-cmb5ca0294.html> Actual result: -------------- something like <https://windows.php.net/downloads/snaps/ostc/pftt/perf/7.3.12-7.4.0.html> -- Edit bug report at https://bugs.php.net/bug.php?id=79008&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79008&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79008&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79008&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79008&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79008&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79008&r=support Expected behavior: https://bugs.php.net/fix.php?id=79008&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79008&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79008&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79008&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79008&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79008&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79008&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79008&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79008&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79008&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79008&r=mysqlcfg

« previous php.bugs (#224450) next »