• 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
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]

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


  • Subject: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • From: Matthieu Beghin <email@hidden>
  • Date: Wed, 11 Mar 2015 23:40:54 +0100

Hi,

I'm developing a GUI application base on Qt-cocoa. When disconnecting the last screen my application gets slower. In Instruments, I can see it's kind of "pausing" (CPU goes 0%) regularly.

I do some processing with a timer (actually using a Qt timer),
  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

It looks like OSX is limiting the CPU usage of my application (average CPU usage gets lower when I unplug the screen)

(I disabled App Nap, so it's not related)

Any idea ?
Thanks !

Regards,
Matthieu Beghin
_______________________________________________

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


  • Follow-Ups:
    • Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
      • From: Uli Kusterer <email@hidden>
    • Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!
  • Next by Date: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Previous by thread: Re: Programmatically putting attributed string RTF on the pasteboard
  • Next by thread: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Index(es):
    • Date
    • Thread