[ 
https://issues.apache.org/jira/browse/FOR-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668842#action_12668842
 ] 

Thorsten Scherler commented on FOR-1157:
----------------------------------------

<map:match pattern="**.html">
 <map:generate src="lm://resolve.structurer.{1}" type="jx">
  <map:parameter name="lenient-xpath" value="true"/>
  <map:parameter name="getRequest" value="{1}"/>
  <map:parameter name="contextPath" value="{request:contextPath}"/>
  <map:parameter name="getRequestExtension" value="html"/>
 </map:generate>
<!--
  1) <map:serialize type="xml"/>
-->
 <map:transform type="dispatcher">
  <map:parameter name="cacheKey" value="{0}"/>
  <map:parameter name="validityFile" value="lm://resolve.structurer.{1}"/>
  <map:parameter name="request" value="{1}"/>
  <map:parameter name="type" value="html"/>
 </map:transform>
<!--
  2) <map:serialize type="xhtml"/>
-->
 <map:transform src="lm://hooks-to-html.xsl"/>
<!--
  3) <map:serialize type="xhtml"/>
-->
 <map:transform src="lm://namespace-stripped"/>
<!--
  4) <map:serialize type="xhtml"/>
-->
 <map:transform src="lm://strip-dispatcher-remains-html.xsl"/>
 <map:serialize type="xhtml"/>
</map:match>

throughput with 90 threads (10 min) [old TRUNK]:
1) 55,5 [64,5]


> The dispatcher rewrite is loosing throughput in jmeter tests
> ------------------------------------------------------------
>
>                 Key: FOR-1157
>                 URL: https://issues.apache.org/jira/browse/FOR-1157
>             Project: Forrest
>          Issue Type: Test
>          Components: Plugin: internal.dispatcher
>            Reporter: Thorsten Scherler
>
> http://markmail.org/thread/gkp4ys65q2l7hpyy
> "The old dispatcher is around 10% faster and consumes less memory (!!!) then 
> the new one. The new one is using AXIOM to create the final document which 
> supposed to be faster then DOM, but it is not.
> I switch the contract processing from DOM to AXIOM to finally have SAX.
> Some sidenotes of my profiling sessions: - we use as testing ground a 
> dedicated linux box which is basically a replica of 
> http://juntadeandalucia.es/index.html - the side is made with cocoon 2.2 and 
> "old" dispatcher cocoon 2.2 block (which is the same as we use here in 
> forrest projects). - The app is running on a tomcat6 and java6. - We using 
> jmeter to have an incremental test run on concurrent threads (starting with 5 
> to 90 concurrent threads). "

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.