php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21903 Parsing many include files on dual processor machines is very slow
Submitted: 2003-01-27 10:42 UTC Modified: 2003-02-13 19:50 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tigger42 at gmx dot net Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 4.3.0 OS: Windows 2000 AS / SP2
Private report: No CVE-ID: None
 [2003-01-27 10:42 UTC] tigger42 at gmx dot net
processing include files with include_once ( these files containing classes only in our case ) takes huge amounts of time on dual processor machines.

On a single processor machine (1ghz) the 30 include files are processed in about 0.2sec and on the dual processor machine (2*1ghz) it takes about 3.5sec. Using only include statements (not include_once) brought processing time down to 1.7sec which is still far from the 0.2sec on the UP machine.

operating system: win2000as (sp2)
webserver: iis
php: 4.2.3 and 4.3.0 (maybe earlier also) standard win32-zip from php.net with extensions gd and oci8 enabled

i've already looked through zend_execute.c but the only time consuming thing i saw was zend_fopen().

if you need further information contact me any time.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-27 17:34 UTC] nospam at nospam dot com
processing include files with include_once ( these files containing
classes only in our case ) takes huge amounts of time on dual processor
machines.

On a single processor machine (1ghz) the 30 include files are processed
in about 0.2sec and on the dual processor machine (2*1ghz) it takes
about 3.5sec. Using only include statements (not include_once) brought
processing time down to 1.7sec which is still far from the 0.2sec on the
UP machine.

operating system: win2000as (sp2)
webserver: iis
php: 4.2.3 and 4.3.0 (maybe earlier also) standard win32-zip from
php.net with extensions gd and oci8 enabled

i've already looked through zend_execute.c but the only time consuming
thing i saw was zend_fopen().

if you need further information contact me any time.
 [2003-01-27 17:35 UTC] tigger42 at gmx dot net
sorry for posting twice
 [2003-01-27 17:40 UTC] sniper@php.net
Have you done any tests using the CLI binary?
(to rule out the IIS factor)
 
 [2003-01-29 10:19 UTC] tigger42 at gmx dot net
same with CLI
 [2003-02-03 07:34 UTC] sniper@php.net
What processors are those?

 [2003-02-13 19:50 UTC] 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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC