1/. We have the XSL transformation taking place inside an application deployed in JBOSS app server. There are no restart of JVM. Initialisation of memory takes only during jboss startup.
2/. As mentioned by Tatu, I believe we do allow time for JVM to warmup. We run around 200 XSL transformations first, after this, we collect the average time taken for around 1000 transactions. Dave Brosius-2 wrote: > > I'm guessing that since your vm memory size is 3g on unix and 200-300m on > windows, the initialization of the memory space is probably accounting for > that difference. As others have said, you should run the same test 100+ > times to get a fair comparison. > > dave > > ----- Original Message ----- > From: "Sriram83" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, September 13, 2008 9:20 AM > Subject: XSL Transformation in Xalan - Pls help! > > >> >> Hi, >> >> I am facing a performance difference for XSL transformation between >> Windows >> and Linux. >> >> Details of Environment: >> >> Environment 1 [Production Environment]: >> Red Hat Enterprise Linux AS release 4 (Nahant Update 2) >> Kernel 2.6.9-22.ELsmp on an i686 >> Xalan version: 2.7.0 >> JDK: 1.5_11-b03 server edition >> Min-Max memory: 3 GB >> Time taken for XSL T: 700 ms >> >> Environment 2 [My Desktop]: >> MS Windows XP Service pack 2 >> Xalan version: 2.7.0 >> JDK: 1.5_11-b03 >> Min-Max memory: 200-300 MB >> Time taken for XSL T: 280 ms >> >> With superior hardware and same software, I would expect the production >> server to be faster, but surprisingly the XSL transformation in >> Environment >> 2 is faster. >> >> I am using the same XML for transformation. I am at my wits end trying to >> figure out the problem. >> >> Please can someone provide any insight this? >> >> Thanks, >> Sriram >> -- >> View this message in context: >> http://www.nabble.com/XSL-Transformation-in-Xalan---Pls-help%21-tp19471054p19471054.html >> Sent from the Xalan - J - Users mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/XSL-Transformation-in-Xalan---Pls-help%21-tp19471054p19494534.html Sent from the Xalan - J - Users mailing list archive at Nabble.com.
