Skip navigation.
 
mlRe: Core Data performance advice... creating relationships.
FROM : Martin Linklater
DATE : Mon Jan 14 23:18:44 2008

I am using GC, yes. I'll take a look at the docs about short-lived 
objects.

I've run my code through 'Instruments' and I'm not sure what to make 
of the results. I'm seeing all my fetch requests but it's not telling 
me what is taking the time. I need to work with it more and see what I 
can find.

Thanks.

On 14 Jan 2008, at 22:12, I. Savant wrote:

>>  If I understand your post correctly

>
>  You know what? Scratch that. It's clear I didn't understand. :-D ...
> and I had *just* sent that message to Erik about having the guts to be
> wrong. ;-) I'm just leaving work, too, so I can't even blame alcohol
> yet. (sigh)
>
>  Scott's shark (or Instruments) suggestion is a good one. In addition
> to his "how often are you saving" question:
>
> - Are you using garbage collection? (see its notes about creating a
> bunch of short-lived objects at once)
> - If you're not using garbage collection, are you at least creating
> an autorelease pool and draining it every thousand objects or so?
> (there was a recent post on this list regarding that very approach
> with Core Data)
>
>  Hopefully this post is more helpful than my last. ;-)
>
> --
> I.S.

Related mailsAuthorDate
mlCore Data performance advice... creating relationships. Martin Linklater Jan 14, 22:43
mlRe: Core Data performance advice... creating relationships. Scott Ellsworth Jan 14, 22:56
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 14, 23:04
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 14, 23:12
mlRe: Core Data performance advice... creating relationships. Martin Linklater Jan 14, 23:18
mlRe: Core Data performance advice... creating relationships. Martin Linklater Jan 15, 00:10
mlRe: Core Data performance advice... creating relationships. marcelo.alves Jan 15, 02:57
mlre: Core Data performance advice... creating relationships. Ben Trumbull Jan 15, 05:22
mlRe: Core Data performance advice... creating relationships. Phil Jan 15, 10:15
mlre: Core Data performance advice... creating relationships. Martin Linklater Jan 15, 10:21
mlRe: Core Data performance advice... creating relationships. Martin Linklater Jan 15, 10:37
mlRe: Core Data performance advice... creating relationships. Chris Hanson Jan 15, 10:56
mlRe: Core Data performance advice... creating relationships. Martin Linklater Jan 15, 11:31
mlRe: Core Data performance advice... creating relationships. Phil Jan 15, 12:46
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 15, 13:07
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 15, 13:14
mlRe: Core Data performance advice... creating relationships. Sean McBride Jan 15, 16:31
mlRe: Core Data performance advice... creating relationships. Phil Jan 15, 17:14
mlRe: Core Data performance advice... creating relationships. mmalc crawford Jan 15, 17:21
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 15, 17:22
mlRe: Core Data performance advice... creating relationships. I. Savant Jan 15, 17:26
mlRe: Core Data performance advice... creating relationships. mmalc crawford Jan 15, 17:32
mlRe: Core Data performance advice... creating relationships. Phil Jan 15, 21:57
mlre: Core Data performance advice... creating relationships. Ben Trumbull Jan 15, 23:50
mlRe: Core Data performance advice... creating relationships. Martin Linklater Jan 16, 00:49
mlRe: Core Data performance advice... creating relationships. Ben Trumbull Jan 16, 04:27
mlRe: Core Data performance advice... creating relationships. Phil Jan 16, 08:04
mlre: Core Data performance advice... creating relationships. Martin Linklater Jan 17, 18:20