ID:               44505
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lmeyer at ea dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Performance problem
 Operating System: windows 2003
 PHP Version:      5.2CVS-2008-03-25
-Assigned To:      
+Assigned To:      dmitry
 New Comment:

Switch to not OS specific.

Dmitry, can you take a look?


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

[2008-04-03 10:36:13] mh at nextra dot ch

It's still there in 5.3.0-dev.

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

[2008-04-02 19:05:43] mh at nextra dot ch

Same here. 

Including a file with full path spec (i.e.
k:\www\testserver.com\docs\inc.php) is the fastest here:
include_once count in 5 sec: 1356

Simply including the same file witout giving the full path spec is
extremly slow:
include_once count in 5 sec: 170

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

[2008-03-25 21:38:24] lmeyer at ea dot com

WIN PATH : //NAS/nas/www/adodb5/adodb.inc.php
LNX PATH : \\\\NAS\\nas\\www\\adodb5\\adodb.inc.php
REALPATH : using realpath as suggested in bug#44125

                              WIN PATH  LNX PATH  WIN PATH   LNX PATH
                                                  REALPATH   REALPATH
PHP 5.2 Dev Snap
200803252030
 
FIRST INCLUDE ONCE (sec)      0.04      0.05      0.05       0.06
5sec. INCLUDE_ONCE (count)    295358    152       288045     282244

It's way better :), but still the problem remains for linux style path
without realpath.

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

[2008-03-24 22:26:18] lmeyer at ea dot com

Adding some results using php 5.2.3 and 5.2.5 :

WIN PATH : //NAS/nas/www/adodb5/adodb.inc.php
LNX PATH : \\\\NAS\\nas\\www\\adodb5\\adodb.inc.php
REALPATH : using realpath as suggested in bug#44125

                              WIN PATH  LNX PATH  WIN PATH   LNX PATH
                                                  REALPATH   REALPATH
PHP 5.2.3
FIRST INCLUDE ONCE (sec)      0.05      0.02      0.07       0.06
5sec. INCLUDE_ONCE (count)    250       338488    232        332800

PHP 5.2.5
FIRST INCLUDE ONCE (sec)      0.08      0.07      0.06       0.14
5sec. INCLUDE_ONCE (count)    215       228       310427     298643

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

[2008-03-23 12:06:23] [EMAIL PROTECTED]

Maybe, related to bug#44125

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

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/44505

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

Reply via email to