When the page is being rendered, all of the database loading has already been done and stored as DTOs (extracted from the in the action. The database hit only took a few ms and is called in an Interceptor. So the time shown is purely the cost of rendering.
The page is a form with about 50 struts tags in. -----Original Message----- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: 26 April 2008 08:17 To: Struts Users Mailing List Subject: Re: OGNL/Freemarker Performance That's a lot of milliseconds. For those sorts of numbers, I'd guess you're using an open-session-in-view interceptor/filter and your result is causing a select n+1 iteration (loads of sql selects while rendering the view). Few other things are so slow. If you happen to be using Hibernate or other persistence, turn on display of sql. Otherwise, what was the result type, what's the nature of the result (eg. a form with many struts tags)? ________________________________________________________________________ CONFIDENTIALITY - This email and any files transmitted with it, are confidential, may be legally privileged and are intended solely for the use of the individual or entity to whom they are addressed. If this has come to you in error, you must not copy, distribute, disclose or use any of the information it contains. Please notify the sender immediately and delete them from your system. SECURITY - Please be aware that communication by email, by its very nature, is not 100% secure and by communicating with Perform Group by email you consent to us monitoring and reading any such correspondence. VIRUSES - Although this email message has been scanned for the presence of computer viruses, the sender accepts no liability for any damage sustained as a result of a computer virus and it is the recipients responsibility to ensure that email is virus free. AUTHORITY - Any views or opinions expressed in this email are solely those of the sender and do not necessarily represent those of Perform Group. COPYRIGHT - Copyright of this email and any attachments belongs to Perform Group, Companies House Registration number 6324278. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]