Re: idle waste
Re: idle waste
- Subject: Re: idle waste
- From: Chilton Webb <email@hidden>
- Date: Thu, 28 Mar 2002 15:46:39 -0600
MacOSX is pretty darn good at not wasting resources on apps not doing
anything. You can call 'top' from the terminal, to see how much of the
OS's time your app is taking up. From what I can tell, an inactive app,
even with extensive UI, will take up a negligible amount of cpu time
when not in use.
-Chilton
On Thursday, March 28, 2002, at 02:07 PM, Paul Cezanne wrote:
If I have a Cocoa application just sitting there doing nothing, how
much CPU time does it waste? A lot, some, not much, negligible?
I essentially need to write a UNIX daemon and would rather do it in
Cocoa since it has to have some minimal UI, but it will be running all
the time.
I will have an NSTimer running to trigger the stuff I need to do.
Bonus question: Does the amount wasted change if I have a window with
controls in it open?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >idle waste (From: Paul Cezanne <email@hidden>) |