How to determine page generation time with Struts 2 ?
Posted
by Samuel_xL
on Stack Overflow
See other posts from Stack Overflow
or by Samuel_xL
Published on 2010-05-19T11:11:07Z
Indexed on
2010/05/19
11:20 UTC
Read the original article
Hit count: 140
I'm using Struts 2 and I'd like to determine the page generation time without an external profiler. I can easily profile the actions execute() method, but I don't know how to include the time spent before (in dispatchers, interceptors...) and after (time taken by the servlet corresponding to the view ("jsp time")).
Is there simple way to do this ? And if there isn't, how could I, at least, profile the "jsp time" (maybe a tag I'm not aware of ?) ? I think it would be accurate enough to just take in account action time + jsp time.
Thanks.
© Stack Overflow or respective owner