• 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: Core Data performance advice... creating relationships.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Core Data performance advice... creating relationships.


  • Subject: re: Core Data performance advice... creating relationships.
  • From: Ben Trumbull <email@hidden>
  • Date: Mon, 14 Jan 2008 20:22:16 -0800

Martin,

There is a Core Data Instruments template (i.e. not CPU Sampler). If you use that, does it tell you there is a lot of file system access during faulting ? This template is a high level overview of stuff Core Data thinks is kinda expensive; like disk I/O. Of course, Instruments lets you use both sets of instruments simultaneously.

You can also use SQL logging by passing command line arguments:
-com.apple.CoreData.SQLDebug 1

(and if you're running within Terminal)
-com.apple.CoreData.SyntaxColoredLogging 1

In your last message, you note that nearly 60% of the time is spent in setValueForKey: What is the "Heaviest Stack Trace" that Instruments has in the extended detail view for that ?
--


-Ben
_______________________________________________

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: Core Data performance advice... creating relationships.
      • From: Martin Linklater <email@hidden>
  • Prev by Date: Re: How to re-read a bundle once read?
  • Next by Date: Re: Private Frameworks
  • Previous by thread: Fwd: Core Data performance advice... creating relationships.
  • Next by thread: re: Core Data performance advice... creating relationships.
  • Index(es):
    • Date
    • Thread