• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: idle waste
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: idle waste
      • From: Paul Cézanne <email@hidden>
References: 
 >idle waste (From: Paul Cezanne <email@hidden>)

  • Prev by Date: Re: idle waste
  • Next by Date: Re: technical Applescript question: enthusiasm among the members of the AppleScript engineering team [long]
  • Previous by thread: Re: idle waste
  • Next by thread: Re: idle waste
  • Index(es):
    • Date
    • Thread