• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Poor performance of some Java-based programs under Mac OS X

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys!

There are some folks who say that some Java-based programs have poor performance under Mac OS X, but no problems under MS Windows. By poor performance I mean mainly high CPU usage even while program doesn't do any CPU-intensive computations. Now I'm developing desktop Java application for client-relationship management and my client uses Mac OS X. I'm worring about performance of my program under this OS.

Can you share some skills about performance tuning of Java programs under Mac OS X? Any links to articles or books will be appreciated. May be main reason of poor performance is badly configured Java2D or whole GUI layer?

Thank you and sorry for my bad English!
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am by no means an expert on Macs or performance, but the general advice I've seen is "don't worry about it until it's a problem". It's VERY hard to 'guess' where a slowdown will be. Write your code in the simplest, cleanest way you can so it's easy to maintain. Then, IF you have performance issues, run a profiler to determine where the slowdown actually is. You can then focus your resources where they will do the most good, rather than guessing (probably wrongly) where to tweak things.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Who are "some folks"? What are "some Java-based programs"? Can you point to anything more concrete?
 
reply
    Bookmark Topic Watch Topic
  • New Topic