ID:               36166
 User updated by:  fschaper at intux dot org
 Reported By:      fschaper at intux dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         Performance problem
 Operating System: WindowsXP
 PHP Version:      5.1.2
 New Comment:

I too can reproduce the problem with the sources provided at
http://www.jedox.com/impulse/slow_php5_include.zip


Previous Comments:
------------------------------------------------------------------------

[2006-01-28 10:55:42] kristian dot raue at jedox dot com

Here is a short 20 line php script that reproduces the bug. 

http://www.jedox.com/impulse/slow_php5_include.zip

There still is the 26000 line of code include file (fx.xcc). But this
is what the bug is all about. The bug has nothing to do with large
arrays, it is about including large include files. This took 0.5 sec in
PHP 4 and PHP 5.05. In PHP 5.1.2 this takes 3 sec. The include file is a
simple dummy file, please look at the code, it is trivial, 26000 line of
repetious code.

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

[2006-01-26 16:48:29] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



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

[2006-01-26 16:23:04] fschaper at intux dot org

Original test with php5.05 ~ 0.5sec
php5.1 ~ 4.5sec

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

[2006-01-26 16:21:28] fschaper at intux dot org

Description:
------------
Since php version 5.05 we noticed an rather large performance hit in
general while working with rather large array's. We have prepared an
short sample which illustrates the problem. in php5 the script takes
about 0.5 seconds to perform. The latest snapshot release from today
and the current release version of php take about 4.5 seconds for the
same task.

Reproduce code:
---------------
http://www.intux.org/bugs/perf_sample.zip
(About 181KB in size)



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


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

Reply via email to