#22880 [NoF]: Performance loss of 50% form 4.0 to 4.3?

From: Date: Mon, 28 Apr 2003 16:26:13 +0000
Subject: #22880 [NoF]: Performance loss of 50% form 4.0 to 4.3?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38612@lists.php.net to get a copy of this message
ID: 22880 Updated by: wez@php.net Reported By: project dot draco at gmx dot net Status: No Feedback Bug Type: Performance problem Operating System: win98//freebsd//any? PHP Version: 4.3.2-RC New Comment: Most likely a dup of Bug #22721; fixed in the latest stable snapshot. Previous Comments: ------------------------------------------------------------------------ [2003-04-28 11:14:38] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-04-23 04:34:12] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Can't get any performance loss. Might be something wrong with your code. ------------------------------------------------------------------------ [2003-04-06 06:24:17] project dot draco at gmx dot net thx for keeping me busy :-) i will email the zipped script to sniper (6k, ok?), hope you get it going. dont bother if i'm a bit quiet next days, but i got a daytime job as a social worker, so be patient. good testing meanwhile. gruss mir ------------------------------------------------------------------------ [2003-04-05 11:31:02] sniper@php.net You need to provide us the same script to test this with. Just testing on one machine does not give reliable results. ------------------------------------------------------------------------ [2003-04-05 09:39:31] project dot draco at gmx dot net ok,ok did some testing and found at least the following behaviour: i kept track of includ_once times in my script and ran a couple of times the same script, wich includes havily about 300 kB. While 4.0.6 did this job with an avarage time of 0.4 ms per kB included script, the 4.3.1 and 4.3.2 versions show an increasing amount of time use to include_once the scripts. Some values sumsize avg 406 avg 432 0 0,55 0,47 16660 0,54 0,49 32859 3,92 3,65 57138 0,57 0,80 62766 0,46 0,74 83208 0,46 0,77 106302 0,44 0,69 114039 0,56 0,93 119067 0,57 1,17 129474 0,62 1,08 150891 0,90 1,70 161932 1,46 1,74 167775 0,43 0,83 182655 0,42 1,06 209909 0,47 1,63 246752 0,49 1,51 269711 0,42 1,61 330045 0,48 1,85 346306 0,41 1,64 The three bigger values (3.92,0.90,1.46 at the avg406 col) are scripts that do initial executions and db-queries, so we ommit them. the rest is simple classdefs, no initializing done. As you can see, the 432 avg times increase with increasing filesize (the sizes are summed up so 346306 is the full scriptsize that is run) Can you read anything helpful out of this posting??? ps Testing was done on win98/php-cgi/apache 1.3.20 systemenvironment. gruss mir ------------------------------------------------------------------------ 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 http://bugs.php.net/22880 -- Edit this bug report at http://bugs.php.net/?id=22880&edit=1

« previous php.bugs (#38612) next »