|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79024 very slow hash('sha1', ...)
Submitted: 2019-12-24 00:11 UTC Modified: 2019-12-24 10:32 UTC
From: bugzilla77 at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: hash related
PHP Version: 7.4.1 OS: Windows 10
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: bugzilla77 at gmail dot com
New email:
PHP Version: OS:


 [2019-12-24 00:11 UTC] bugzilla77 at gmail dot com
very slow hash('sha1', ...)

Test script:





 print($time_a.' sec');
 print($time_b.' sec');
 print($time_c.' sec');

Expected result:
0.98706293106079 sec
<=0.98706293106079 sec
<=0.98706293106079 sec

Actual result:
0.98706293106079 sec
1.248526096344 sec
1.1808590888977 sec


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-24 10:32 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2019-12-24 10:32 UTC]
Closing as duplicate of bug #79023, since the behavior has the
same root cause.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 01:05:45 2022 UTC