(Resending as earlier mail had bounced) Recently we have migrated our application from jrun3.1 to tomcat 4.1.31 running on windows 2000 advanced server. It uses saxon 6.5.3 for xslt processing and the cpu usage is almost 100% even for 15 concurrent users. So in order to do a simple load test on the xslt part alone, I wrote a test jsp and the cpu usage is almost 100% for 15 concurrent users for a xsl file 106kb in size. XSLTTest.jsp TransformerFactory factory = TransformerFactory.newInstance(); StreamSource source = new StreamSource(new FileInputStream("test.xsl")); Templates pss = factory.newTemplates(source); Transformer transformer = pss.newTransformer(); ByteArrayInputStream temp = new ByteArrayInputStream("<xml></xml>".getBytes()); source = new StreamSource(temp); StreamResult result = new StreamResult(response.getOutputStream()); transformer.transform(source, result); The cpu usage is at 60% for the same jsp page on the jrun 3.1 server. Can anybody provide me with pointers to reduce cpu usage or has anyone who has faced a similar scenario. Please let me know if I need to provide more inputs as this is my first mail to the list.
Thanks Kamal Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]