OK I've been doing some numbers on performance and I thought I'd share my results with the list. I have formatted the results below but first I have one question:
Selectfastmap.jsp requires a map when a lot of our data was in lists. This is not a problem except that getting the map to provide the items in the right order will become a little tricky. Is there anything special performance wise about a map or can selectfastmap.jsp be rewritten easily to allow lists ? Results: -------- Webwork 1.2: 7.3 Seconds Webwork 1.3: 4.7 Seconds Add the following to the page: <% java.beans.PropertyEditorManager.registerEditor(String.class, sun.beans.editors.StringEditor.class); %> 4.2 seconds Replace ui:select with webwork:iterator: 4.1 seconds (no real difference) Replace ui:select with selectfastmap.jsp (posted on this list earlier) using ui:component tags: 3.2 seconds The Page -------- The page I am testing is a page specifying search parameters for an item search. It has 8 drop down lists, 6 of which have some rasonable data in (days months and years for start and end). There is also a button and a textfield. I started with all of the controls using the UI tags. This page is going to an EJB server and getting data from a database so some of the time shown here is not WW related. The Methodology --------------- Look at the clock by my desk and count how many whole seconds elapse before the page renders. Do not count the initial page compile in the data. Repeat 10 times and average the results. Environment ----------- Tomcat 4.1.18 running under JDK 1.4.1_01 talking RMI to JBoss 3.0.3 running under JDK 1.3.1_02 (JDK 1.4.1 was significantly faster than 1.3.1 for WW which was why the split was made). Versant Object database. -- Peter Kelley <[EMAIL PROTECTED]> Moveit Pty Ltd ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
