• 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: RESEND: NSMetadataItem performance issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RESEND: NSMetadataItem performance issues


  • Subject: Re: RESEND: NSMetadataItem performance issues
  • From: Hamish Allan <email@hidden>
  • Date: Wed, 3 Aug 2005 01:05:39 +0100


On 3 Aug 2005, at 00:46, Vince DeMarco wrote:

kMDItemPaths isn't cached its generated on the client as you need it. So asking for kMDItemPath is going to be slow, only ask for the Path of an item when you absolutely need it don't do it always.

Thanks for your reply. I was actually surprised at how fast it was to obtain kMDItemPaths in general: the problem is that in certain situations it's not just slow, but it takes 1 second for each attribute to be fetched -- not just kMDItemPath but kMDItemDisplayName, etc. It only appears to happen when valueForAttribute: is called in the table redrawing code, i.e. at the end of the run loop, which combined with the execution time of almost exactly 1000ms made me think it might be a mutex issue? And it mostly happens when lots of NSMetadataItems have previously been fully instantiated describing the same results.


Best wishes,
Hamish


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: RESEND: NSMetadataItem performance issues
      • From: Vince DeMarco <email@hidden>
References: 
 >RESEND: NSMetadataItem performance issues (From: Hamish Allan <email@hidden>)
 >Re: RESEND: NSMetadataItem performance issues (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Fullscreen window after hiding Dock works in 10.4 but not 10.3
  • Next by Date: Re: CoreData - re-faulting object and removing self-observers results in messages being sent to zombie
  • Previous by thread: Re: RESEND: NSMetadataItem performance issues
  • Next by thread: Re: RESEND: NSMetadataItem performance issues
  • Index(es):
    • Date
    • Thread