#40939 [Opn->Fbk]: Performance Problem
| From: | tony2001@php.net | Date: | Wed, 28 Mar 2007 21:40:51 +0000 |
| Subject: | #40939 [Opn->Fbk]: Performance Problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110897@lists.php.net to get a copy of this message | ||
ID: 40939
Updated by: tony2001@php.net
Reported By: claudio_heidel at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Performance problem
Operating System: Windows & Linux
PHP Version: 5.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2007-03-28 21:34:04] claudio_heidel at hotmail dot com
Description:
------------
Hi, I found a performance issue, I run the follow test
http://cvs.php.net/viewvc.cgi/ZendEngine2/bench.php?view=markup
This is for PHP Version 5.1.4 over Windows XP.
System Windows NT HOME 5.1 build 2600
Build Date May 4 2006 10:30:29
Configure Command cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13,
string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
zlib.*
simple 0.357
simplecall 0.525
simpleucall 0.936
simpleudcall 1.257
mandel 1.126
mandel2 1.809
ackermann(7) 1.864
ary(50000) 0.113
ary2(50000) 0.109
ary3(2000) 0.567
fibo(30) 4.136
hash1(50000) 0.154
hash2(500) 0.106
heapsort(20000) 0.374
matrix(20) 0.334
nestedloop(12) 0.591
sieve(30) 0.592
strcat(200000) 0.337
------------------------
Total 15.287
And this is for PHP Version 5.2.1
System Linux anubis.dnsanubis.com 2.6.17-1.2142_FC4smp #1 SMP Tue Jul
11 22:57:02 EDT 2006 i686
Build Date Mar 13 2007 07:32:32
Configure Command './configure' '--prefix=/usr' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl'
'--enable-exif'
'--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext'
'--with-iconv' '--with-imap=/usr/local/imap-2004g' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mhash'
'--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr'
'--enable-discard-path' '--with-pear' '--enable-sockets'
'--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr'
'--enable-gd-native-ttf' '--with-zlib'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*,
zlib.*
simple 0.432
simplecall 0.676
simpleucall 1.479
simpleudcall 1.692
mandel 2.201
mandel2 2.875
ackermann(7) 2.049
ary(50000) 0.099
ary2(50000) 0.080
ary3(2000) 1.073
fibo(30) 3.657
hash1(50000) 0.182
hash2(500) 0.227
heapsort(20000) 0.580
matrix(20) 0.475
nestedloop(12) 0.738
sieve(30) 0.520
strcat(200000) 0.207
------------------------
Total 19.242
Expected result:
----------------
I would like a solution for the configuration of PHP 5.2.1 to take the
same performance like PHP 5.1.4 (over windows).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40939&edit=1