Bug #80601 [NEW]: FFI is much slower on PHP 8 than PHP 7.4

From: Date: Wed, 06 Jan 2021 20:01:43 +0000
Subject: Bug #80601 [NEW]: FFI is much slower on PHP 8 than PHP 7.4
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231419@lists.php.net to get a copy of this message
From: lyrixx at lyrixx dot info Operating system: linux PHP version: 8.0.0 Package: *General Issues Bug Type: Bug Bug description:FFI is much slower on PHP 8 than PHP 7.4 Description: ------------ I make a simple script for FFI + UUID and result a worst on PHP8 https://github.com/jolicode/ffi-uuid/pull/13 >…/jolicode/ffi-uuid(8) php8.0 bench.php FFI: * [v1] 2.175s * [v4] 6.949s PECL: * [v1] 0.683s * [v4] 5.320s > …/jolicode/ffi-uuid(8) php7.4 bench.php FFI: * [v1] 1.720s * [v4] 6.808s PECL: * [v1] 0.570s * [v4] 5.342s -- Edit bug report at https://bugs.php.net/bug.php?id=80601&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80601&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80601&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80601&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80601&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80601&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80601&r=support Expected behavior: https://bugs.php.net/fix.php?id=80601&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80601&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80601&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80601&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80601&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80601&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80601&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80601&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80601&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80601&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80601&r=mysqlcfg

« previous php.bugs (#231419) next »