[
https://issues.apache.org/struts/browse/WW-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44754#action_44754
]
Philip Luppens commented on WW-2808:
------------------------------------
Ok, I found some spare time to try the new java templates.
I used both a 2 and a 14 ui tag jsp page consisting of simple textfields with a
simple value from a javabean and dynamic label from a resourcebundle.
Standard tomcat 6.0.14, "-server -Xmx512M -Xms512M" jvm arguments, 10.000
requests, 40 concurrent users. Simple actions, no database, Spring, Sitemesh or
anything.
- xhtml: 360req/s (2 tags), 75req/s (14 tags)
- simple (freemarker): 410req/s (2 tags), 100req/s (14 tags)
- simple (java): 700req/s (2 tags), 260req/s (14 tags)
So for a complex xhtml page, I would estimate we'd see 3x speedup if we could
create an xhtml/java theme. Seems worth a shot.
> Performance issue Struts 2 Tag
> ------------------------------
>
> Key: WW-2808
> URL: https://issues.apache.org/struts/browse/WW-2808
> Project: Struts 2
> Issue Type: Improvement
> Components: Value Stack
> Affects Versions: 2.0.11.2
> Environment: Solaris , Weblogic 9.2 MP 1 ,Sun One Web Server 6.5
> Strut2 , Spring 2.5 and Sitemesh
> Reporter: sajan
> Priority: Critical
>
> There is huge performance issue and CPU hogging with Struts2 tag , this was
> observed while rendering JSP. These are some performance results obtained
> Strut 2 Tag - With all performance tuning applied as per Struts 2
> documentation - Freemarker caching etc...
> Load Runner Tool
> 40 users
> 900 hits per second
> 10 transaction per second
> Results
> CPU utilization 90%
> Response 3.5 sec
> Replaced some of Struts2 Tag , with Custom JSP Tags like (s:label,
> s:text,s:textfield,s:hidden,s:param)
> 40 users
> 900 hits per second
> 15 transaction per second
> Results
> CPU utilization 70%
> Response 2.0 sec
> Some where down the line Struts 2 tag are very cpu hungry , to people to
> adopt to strut2 framework cpu utilization should be optimized .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.