I notice that my app uses a lot of CPU when I check with Activity Monitor.
I'm not sure what to do to get this down. There are some timers, but they're
not running when I check. When I close all windows the CPU usage goes down
to near 0 but when some are open there is around 56% CPU usage, even in the
background, when another app is being used instead. There is also a lot of
context switching, about 10 times that of Photoshop....
How do I investigate this? What are common causes of this? There's nothing