forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyriaque Dupoirieux (JIRA)" <>
Subject [jira] Fermé: (FOR-754) PHP Plugin takes lots of resources (memories and CPU)
Date Tue, 28 Feb 2006 14:29:41 GMT
     [ ]
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:
>      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:
For more information on JIRA, see:

View raw message