struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Barefoot" <Joe.Baref...@motiva.com>
Subject RE: Improving performance by splitting JSP?
Date Mon, 09 Sep 2002 22:14:06 GMT
Thanks again for the info.  I've seen similar complaints from several people, and nobody seems
to have a satisfactory explanation for the performance issue (other than the nested tc bug,
which you accounted for).  Very weird.  

peace,
Joe  

> -----Original Message-----
> From: JEWeaver@thoughtworks.com [mailto:JEWeaver@thoughtworks.com]
> Sent: Monday, September 09, 2002 2:51 PM
> To: Struts Users Mailing List
> Subject: RE: Improving performance by splitting JSP?
> 
> 
> 
> Yup, we looked at overall size of the JSP as well, and the 
> association with
> performance was definitely number of bm/bw tags within a 
> single JSP rather
> than overall JSP size.  We even tried editing the generated 
> servlet code
> and adding big unused methods to see if the problem had to do with
> generated servlet file size.  That would kind've made sense, but was a
> negative.  I believe we also tried a tag that just did a 
> sysout rather than
> any kind of memory lookup (hashtable or properties file) and 
> found that
> this performance quirk in the sun vm did not appear in that case.
> 
> We could never pin down a why, it seemed that the sun 1.3 vm 
> just ran like
> a snail with a lot of bm or bw tags in a single page, so we 
> stopped doing
> that ;-).  Same number of tags split up into multiple JSPs, 
> or a few tags
> called the same number of times via a loop - OK performance.
> 
> It is very true also that splitting them up into smaller 
> bites makes them
> more readable and maintainable, so it was a good solution all 
> around.  It's
> just that you are always nervous when you fix a problem and 
> don't know the
> why of it ;-).
> 
> Jimbo
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message