Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [struts 2] Simplifying the interceptor stack

David H. DeWolf

2007-02-08

Replies:



mraible wrote:
>
> Also, are there any performance reasons to have separate stacks for display
> only (list) screens vs. forms (crud)?

I recently went through a series of performance monitoring and tuning
and found that standard interceptors that are NOT executed are logged as
taking 0ms. So, whatever the cost, it's fairly small.

Have you tried turning on the -Dxwork.profile.activate=true switch to
find the metrics. See:
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/util/profiling/UtilTimerStack.html


David

>
> Thanks,
>
> Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.