performance problem on osx
Hi, I've been scouring google for any info on this, but haven't found anything. I'm hoping that maybe the odd java expert might know the reason for this...
Here's a simple profile done on my windows laptop (running cygwin):
$ time java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
real 0m0.560s
user 0m0.031s
sys 0m0.015s
Here's the same profile done on a dual G4 1GHZ mac server machine running leopard:
$ time java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
real 0m47.108s
user 0m0.114s
sys 0m0.275s
Can anyone tell me why the Mac is 46 seconds slower than pc (and linux) flavors of java?
I'm trying to port ant build scripts over, but if it takes so long just to start ant up, it will really slow down the development cycle on this machine -- I'd almost rather setup a linux box instead.
Thanks,
-lk