• 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: performance problem with IORegistryEntryCreateCFProperties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: performance problem with IORegistryEntryCreateCFProperties


  • Subject: Re: performance problem with IORegistryEntryCreateCFProperties
  • From: Brad Justice <email@hidden>
  • Date: Tue, 09 Dec 2008 16:43:21 -0800

First, I would like to thank all those who took the time to assist me with this issue.

I have begun implementing the suggestions I received with good results. Modifying the code to use IORegistryEntryCreateCFProperty() rather than IORegistryEntryCreateCFProperties() resulted in CPU usage dropping from around 5% to .25%. I am sure that implementing the other suggestions will result in additional improvements.

Why was the code implemented as it was? This is my first experience with OS X and I was mining working code. I took the approach that if it isn't broke don't fix it. But it was, so I will. Still, I am astonished as to the CPU overhead from calling IORegistryEntryCreateCFProperties() 3.5 times per second.

As an Apple newbie, I am pleasantly surprised by the high quality of advice available in the developer forums... and no trolls! Thanks again.

Brad
_______________________________________________

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


  • Prev by Date: Symbol not found error
  • Next by Date: Re: How Can I Notify DrawRect Method?
  • Previous by thread: Re: performance problem with IORegistryEntryCreateCFProperties
  • Next by thread: Live updating NSPredicateEditorRowTemplate?
  • Index(es):
    • Date
    • Thread