|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80601 FFI is much slower on PHP 8 than PHP 7.4
Submitted: 2021-01-06 20:01 UTC Modified: 2021-09-20 16:28 UTC
From: lyrixx at lyrixx dot info Assigned:
Status: Open Package: FFI (PECL)
PHP Version: 8.0.0 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lyrixx at lyrixx dot info
New email:
PHP Version: OS:


 [2021-01-06 20:01 UTC] lyrixx at lyrixx dot info
I make a simple script for FFI + UUID and result a worst on PHP8

>…/jolicode/ffi-uuid(8) php8.0 bench.php 
 * [v1] 2.175s
 * [v4] 6.949s
 * [v1] 0.683s
 * [v4] 5.320s
> …/jolicode/ffi-uuid(8) php7.4 bench.php 
 * [v1] 1.720s
 * [v4] 6.808s
 * [v1] 0.570s
 * [v4] 5.342s


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-20 16:28 UTC]
-Package: *General Issues +Package: FFI
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 11:01:28 2024 UTC