Re: Struts performance metrics

2009-02-27 Thread Mohan Radhakrishnan
Yes. It does. Thanks. Now I find a big difference in performance. So unless I use freemarker I should be able to mix JSTL and OGNL and get some benefit. Iteration over a very large collection and access Javabean properties. JSTL - 2557 ms OGNL - 4499 ms Mohan -- View this message in context:

Re: Struts performance metrics

2009-02-27 Thread Chris Pratt
The StrutsRequestWrapper should allow you to access the value stack from JSTL EL, so you could use to iterate over a value from the value stack. (*Chris*) On Fri, Feb 27, 2009 at 7:12 AM, Mohan Radhakrishnan < radhakrishnan.mo...@gmail.com> wrote: > > Ok. Are you able to access the Value Stack

Re: Struts performance metrics

2009-02-27 Thread Mohan Radhakrishnan
Ok. Are you able to access the Value Stack directly using JSTL without using s:iterator ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-performance-metrics-tp22077072p22247775.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Struts performance metrics

2009-02-21 Thread Steven Yang
> > > We plan to profe right from the beginning but I am not sure how JSTL can > replace Struts tags to increase performance. I understand that in order to > display data we can use JSTL. Struts tags are required to use the framework > fully. Isn't it ? > - I guess for some cases you do have to us

Re: Struts performance metrics

2009-02-21 Thread Dave Newton
Mohan Radhakrishnan wrote: I will use larger datasets and property access also. Wait, you weren't comparing property access speed? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
I will use larger datasets and property access also. We plan to profe right from the beginning but I am not sure how JSTL can replace Struts tags to increase performance. I understand that in order to display data we can use JSTL. Struts tags are required to use the framework fully. Isn't it ? --

Re: Struts performance metrics

2009-02-20 Thread Steven Yang
Hijust to share some of my experience and see what you decide to do I have worked on a project which the end result is packed into a jar (actions and stuff)and will be throw into and coexist with other project. To run the project, I simply put the jar and related jsp and struts setting xml's into

Re: Struts performance metrics

2009-02-20 Thread Dave Newton
Mohan Radhakrishnan wrote: I took a simple JSP using Struts tags and one using equivalent JSTL tags and deployed the WARS one by one in tomcat and used JProbe to attach to the session. I filtered the call graph to show OGNL only and then JSTL only. That doesn't really help me much. I ask

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
Hi, I took a simple JSP using Struts tags and one using equivalent JSTL tags and deployed the WARS one by one in tomcat and used JProbe to attach to the session. I filtered the call graph to show OGNL only and then JSTL only. Actually our intention was to reduce the performance implic

Re: Struts performance metrics

2009-02-20 Thread Dave Newton
Mohan Radhakrishnan wrote: I profiled using JProbe and for a simple 'hello world' jsp I found that JSTL is taking a little more time than OGNl. OGNL : org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest; HttpServletResponse) Cumulative time spent = 1103 --

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
Hi, I profiled using JProbe and for a simple 'hello world' jsp I found that JSTL is taking a little more time than OGNl. OGNL : org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest; HttpServletResponse) Cumulative time spent = 1103

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
Hi, I profiled using JProbe and for a simple 'hello world' jsp I found that JSTL is taking a little more time than OGNl. OGNL : org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest; HttpServletResponse) Cumulative time spent = 1103