php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40939 Performance Problem
Submitted: 2007-03-28 21:34 UTC Modified: 2007-04-05 01:00 UTC
From: claudio_heidel at hotmail dot com Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 5.2.1 OS: Windows & Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: claudio_heidel at hotmail dot com
New email:
PHP Version: OS:

 

 [2007-03-28 21:34 UTC] 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).



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-28 21:40 UTC] tony2001@php.net
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


 [2007-04-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC