re: Core Data performance advice... creating relationships.
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