Bug #79008 [Asn->Csd]: General performance regression with PHP 7.4 on Windows

From: Date: Fri, 20 Dec 2019 15:30:15 +0000
Subject: Bug #79008 [Asn->Csd]: General performance regression with PHP 7.4 on Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224451@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79008&edit=1 ID: 79008 Updated by: cmb@php.net Reported by: cmb@php.net Summary: General performance regression with PHP 7.4 on Windows -Status: Assigned +Status: Closed Type: Bug Package: Performance problem Operating System: Windows PHP Version: 7.4Git-2019-12-20 (Git) Assigned To: cmb Block user comment: N Private report: N New Comment: Automatic comment on behalf of cmbecker69@gmx.de Revision: http://git.php.net/?p=php-src.git;a=commit;h=6ec40569281e2c392dd14da00319bd10d1c5d3d6 Log: Fix #79008: General performance regression with PHP 7.4 on Windows Previous Comments: ------------------------------------------------------------------------ [2019-12-20 15:23:26] cmb@php.net 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 this bug report at https://bugs.php.net/bug.php?id=79008&edit=1

« previous php.bugs (#224451) next »