Bug #75521 [Com]: unserialize() >3x slower

From: Date: Wed, 15 Nov 2017 09:42:37 +0000
Subject: Bug #75521 [Com]: unserialize() >3x slower
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212600@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75521&edit=1

 ID:                 75521
 Comment by:         sailormax at inbox dot lv
 Reported by:        sailormax at inbox dot lv
 Summary:            unserialize() >3x slower
 Status:             Feedback
 Type:               Bug
 Package:            Performance problem
 Operating System:   Windows 10
 PHP Version:        7.2.0RC6
 Block user comment: N
 Private report:     N

 New Comment:

latest snapshot of PHP 7.2 has same problem.
Tested this build: http://windows.php.net/downloads/snaps/php-7.2/r235d33a/php-7.2-nts-windows-vc15-x64-r235d33a.zip
(11/15/2017  5:20 AM)


Previous Comments:
------------------------------------------------------------------------
[2017-11-15 09:39:07] sailormax at inbox dot lv

7.1.9 from here: http://windows.php.net/downloads/releases/archives/php-7.1.9-nts-Win32-VC14-x64.zip

7.1.10 from here: http://windows.php.net/downloads/releases/archives/php-7.1.10-nts-Win32-VC14-x64.zip

------------------------------------------------------------------------
[2017-11-15 09:31:24] sailormax at inbox dot lv

Rechecked: the problem was appear in 7.1.10! (7.1.9 was fine)

------------------------------------------------------------------------
[2017-11-15 09:25:13] sailormax at inbox dot lv

Additional information: 7.1.11 also has this problem.
7.1.5 is much faster!

------------------------------------------------------------------------
[2017-11-15 09:21:11] sailormax at inbox dot lv

I tested on these builds:
http://windows.php.net/downloads/releases/php-7.1.11-nts-Win32-VC14-x64.zip
http://windows.php.net/downloads/qa/php-7.2.0RC6-nts-Win32-VC15-x64.zip

Windows + Nginx + PHP-FPM

Where I can download latest snapshot for Windows x64 non thread safe?

------------------------------------------------------------------------
[2017-11-14 19:18:15] ab@php.net

Thanks for the report. I've tried the snippet and actually don't see any slowdown, by
numbers here using current dev trees.

7.1: 0.38896012306213
7.2: 0.31357884407043
master: 0.1246612071991

Either it's something HW or environment specific :/ Perhaps you could check with the current
snapshots, it could be that something has changed since last RCs. Also be sure the builds you use
are of same bitness and thread safety.

Thanks.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=75521


--
Edit this bug report at https://bugs.php.net/bug.php?id=75521&edit=1


Thread (10 messages)

« previous php.bugs (#212600) next »