You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org> on 2005/12/05 10:34:30 UTC
[jira] Créée: (FOR-754) PHP Plugin takes lots of resources (memories and CPU)
PHP Plugin takes lots of resources (memories and CPU)
-----------------------------------------------------
Key: FOR-754
URL: http://issues.apache.org/jira/browse/FOR-754
Project: Forrest
Type: Improvement
Components: Plugin: php
Versions: 0.8-dev
Environment: Any
Reporter: Cyriaque Dupoirieux
Fix For: 0.8-dev
It seems the plugin takes lots of resources (memories and CPU) I realised this using the Cocoon Profiler.
Around hundred times more than another plugin which quickly drives to Out of Memory.
The plugin works like this :
Ask for the skinned HTML page :
<map:generate src="cocoon://{1}{2}.html"/>
And then clean the <php> tags - which delimitate php calls - to generate real php files :
<map:transform src="resources/stylesheets/php/document2php.xsl"/>
It seems that the first call is the source of the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (FOR-754) PHP Plugin takes lots of resources (memories and CPU)
Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-754?page=all ]
Ross Gardler updated FOR-754:
-----------------------------
Fix Version: (was: 0.8-dev)
> PHP Plugin takes lots of resources (memories and CPU)
> -----------------------------------------------------
>
> Key: FOR-754
> URL: http://issues.apache.org/jira/browse/FOR-754
> Project: Forrest
> Type: Improvement
> Components: Plugin: php
> Versions: 0.8-dev
> Environment: Any
> Reporter: Cyriaque Dupoirieux
>
> It seems the plugin takes lots of resources (memories and CPU) I realised this using the Cocoon Profiler.
> Around hundred times more than another plugin which quickly drives to Out of Memory.
> The plugin works like this :
> Ask for the skinned HTML page :
> <map:generate src="cocoon://{1}{2}.html"/>
> And then clean the <php> tags - which delimitate php calls - to generate real php files :
> <map:transform src="resources/stylesheets/php/document2php.xsl"/>
> It seems that the first call is the source of the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assignées: (FOR-754) PHP Plugin takes lots of resources (memories and CPU)
Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-754?page=all ]
Cyriaque Dupoirieux reassigned FOR-754:
---------------------------------------
Assign To: Cyriaque Dupoirieux
> PHP Plugin takes lots of resources (memories and CPU)
> -----------------------------------------------------
>
> Key: FOR-754
> URL: http://issues.apache.org/jira/browse/FOR-754
> Project: Forrest
> Type: Improvement
> Components: Plugin: php
> Versions: 0.8-dev
> Environment: Any
> Reporter: Cyriaque Dupoirieux
> Assignee: Cyriaque Dupoirieux
>
> It seems the plugin takes lots of resources (memories and CPU) I realised this using the Cocoon Profiler.
> Around hundred times more than another plugin which quickly drives to Out of Memory.
> The plugin works like this :
> Ask for the skinned HTML page :
> <map:generate src="cocoon://{1}{2}.html"/>
> And then clean the <php> tags - which delimitate php calls - to generate real php files :
> <map:transform src="resources/stylesheets/php/document2php.xsl"/>
> It seems that the first call is the source of the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Fermé: (FOR-754) PHP Plugin takes lots of resources (memories and CPU)
Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-754?page=all ]
Cyriaque Dupoirieux closed FOR-754:
-----------------------------------
Fix Version: 0.8-dev
Resolution: Invalid
I was wrong, there is no problem with this plugin.
I have created twice the same page (exactly the same content) one with html extension, one with php...
I used the profiler to see the average time for these pages.
After one load, it seems that the php page was a little bit faster !
after several loads, there nearly no difference between both.
> PHP Plugin takes lots of resources (memories and CPU)
> -----------------------------------------------------
>
> Key: FOR-754
> URL: http://issues.apache.org/jira/browse/FOR-754
> Project: Forrest
> Type: Improvement
> Components: Plugin: php
> Versions: 0.8-dev
> Environment: Any
> Reporter: Cyriaque Dupoirieux
> Assignee: Cyriaque Dupoirieux
> Fix For: 0.8-dev
>
> It seems the plugin takes lots of resources (memories and CPU) I realised this using the Cocoon Profiler.
> Around hundred times more than another plugin which quickly drives to Out of Memory.
> The plugin works like this :
> Ask for the skinned HTML page :
> <map:generate src="cocoon://{1}{2}.html"/>
> And then clean the <php> tags - which delimitate php calls - to generate real php files :
> <map:transform src="resources/stylesheets/php/document2php.xsl"/>
> It seems that the first call is the source of the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira