• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Nikolay Artamonov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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!
 
fred rosenberger
lowercase baba
Bartender
Posts: 12443
42
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who are "some folks"? What are "some Java-based programs"? Can you point to anything more concrete?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!