Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Performance in MAC OS X



Hi Carlos:

You're really not comparing apples with apples (no pun intended) in this case. For example:

1. The 2 machines are using completely different operating systems.
2. The 2 machines have completely different CPUs
3. The 2 machines processing speeds aren't even comparable.

This really renders any comparison between iBook and Pentium invalid, but as you run these tests from JVM version to JVM version on the same architecture the tests do show some problems.

I remember seeing the article you're referring to and reading about how JVM performance has (theoretically) improved as Java releases have increased. I also remember thinking to myself with regards to the author "You sure about that, buddy???". The JVM/JDK the author is using is presumably a Sun release for Windows or Linux...I don't remember which. In any case, we are not using that JVM and there's no guarantee that the optimizations the author is referring to are in place and/or properly active on JVMs provided by Apple. Your tests seem to clearly indicate that they are not.

All the OS X work I'm doing is using JDK 1.4XXX because we are supporting previous OS X releases and the JVMs run under them. FWIW I have also encountered some font alignment bugs on the 1.5 and 1.6 releases that are not present on either Windows or Linux using their versions of 1.5 and 1.6. I must remember to report them as bugs....if I ever get time.

Thanks for the info,

Bill Wagner
Carlos Santiago wrote:
Hi Bill.
I have not made tests with graphs.
I have made test of perfomance exactly using different versions of JVM (since 1.3 up to 1.6). The test is inspired in the article of Matt Love in http://www.ddj.com/dept/java/188700760 (for example). I got resulted better (for the test indicated in the article) in a P4 with Windows XP 2.8Ghz with 1Gb of memory. My Mac is one iBook 1,2 with 768Mb of RAM with MAC X 10.4.7 Some data are: Time of execution in the P4 for StringBuffer using JVM 1.3.1_17: 32 ms In the Mac with VM 1.3:20 ms Same execution now with VM 1.4.2_12: P4 - 16ms Mac - 17 ms Using VM 1.5.0_07: P4 - 9 ms! Mac - 26 ms! Finally with VM 1.6.0-rc-b90 P4 - 5 ms Mac - 136 ms! If you if to interest I can send it the complete graphs that I generated. Thank´s
Carlos


On 7/17/06, *Bill Wagner* <email@hidden <mailto:email@hidden>> wrote:

    Without more details regarding what the program does, it's difficult to
    tell.

    My company used to offer a product that did intensive signal processing
    and drawing. Linux and Windows were faster because the level of graphics
    they support by default was inferior. If we turned on anti-aliasing,
    Linux and Windoze would produce higher qualitiy graphics...nearly
    equivalent to that on OS X, but their performance became inferior,
    whereas OS X remained unphased.

    That's just one difference between OS X and Windoze/Linux. As far as OS
    X to OSX issues go, I have noticed that Java 1.4.X on Panther gives me
    the impression of being faster than the equivalent on Tiger, but I have
    never verified this...it just 'seems' faster.

    Hope this helps,

    Bill Wagner

    Carlos Santiago wrote:
     > I am using Java 5 and 6 in my MAC (iBook 1.2Ghz with 768MB of
     > memory) with MAC OS X 10.4.7, but the performance tests that I have
     > made is very slow whether compared with a P4 with Windows XP
    Profesional
     > 2.8Ghz with 1GB of memory.
     > Somebody already perceived this?
     > Thank´s
     > Carlos
     >
     > --
     > ------------------------------------------------------------
     > Carlos Santiago
     > Analista de Dados - META
     > Programador Java - SCJP 1.4
     > JCP Member
     > Blog: http://macjava.blogspot.com <http://macjava.blogspot.com
    <http://macjava.blogspot.com>>
     > ------------------------------------------------------------
     >
     >
     >
    ------------------------------------------------------------------------
     >
     >  _______________________________________________
     > Do not post admin requests to the list. They will be ignored.
     > Java-dev mailing list      (email@hidden
    <mailto:email@hidden>)
     > Help/Unsubscribe/Update your Subscription:
     > http://lists.apple.com/mailman/options/java-dev/email@hidden
     >
     > This email sent to email@hidden <mailto:email@hidden>




-- ------------------------------------------------------------ Carlos Santiago Analista de Dados - META Programador Java - SCJP 1.4 JCP Member Blog: http://macjava.blogspot.com ------------------------------------------------------------

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Java Performance in MAC OS X (From: "Carlos Santiago" <email@hidden>)
 >Re: Java Performance in MAC OS X (From: Bill Wagner <email@hidden>)
 >Re: Java Performance in MAC OS X (From: "Carlos Santiago" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.