• 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: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens


  • Subject: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 Mar 2015 15:49:03 -0700

> On Mar 11, 2015, at 3:40 PM, Matthieu Beghin <email@hidden> wrote:
>
>  if I do nothing in the timer, it's called as often as when a screen is connected (120 times per second)
>  if I do some processing, it gets called 20 times per second, but CPU usage is very low

This sounds like some kind of Qt behavior, not anything intrinsic to OS X. I’m not aware of anything to do with NSTimer that would depend on whether external screens are connected. I wonder if Qt is misusing some kind of CoreGraphics blanking-interval timer that’s meant to be used for animation.

Why do you need a timer that gets called that often?

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens (From: Matthieu Beghin <email@hidden>)

  • Prev by Date: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Next by Date: Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!
  • Previous by thread: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Next by thread: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Index(es):
    • Date
    • Thread