Performance problem. Some help please

I'm in a very confusing situation. I have written some code to wrap around a XSLT engine and loop it a couple of times over the same XML and XSL input. I'm reusing the compiled XSL script so that it would be compiled only once. The timing that I got is very confusing. The time used to run this test on a 2 CPU 2G memory Sun server is double the time on my 1/2 G memory 1 CPU NT workstation.

I've also tried the -client and -server flags but the result is still the same ... as bad. I've checked the vmstat and it showed that it's all cpu bound after the inital xsl compilation. What can be wrong!? I refuse to believe that a SPARC and be so much slower than a INTEL.

[692 byte] By [Peter_Sham] at [2007-9-26 2:49:00]
# 1

Both cpus were pegged on the Sun?

It is possible that the NT box is faster. First it could simply be that the NT cpu is significantly faster than the sun cpus. And Sun, at least in the past, put an earlier emphasis on the NT jdk than the Sun jdk, so it could simply be optmized more.

jschell at 2007-6-29 10:34:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...