Re: CoreData, reset a persistent store
Re: CoreData, reset a persistent store
- Subject: Re: CoreData, reset a persistent store
- From: "Marcus S. Zarra" <email@hidden>
- Date: Wed, 15 Nov 2006 12:33:49 -0700
I would be interested in seeing the code as that seems excessive.
Any chance you can share just that little snippet that handles the
delete routine?
Marcus S. Zarra
Zarra Studios LLC
Simply Elegant Software for OS X
www.zarrastudios.com
On Nov 15, 2006, at 12:12 PM, Pierre Chatelier wrote:
Pierre, this is two people so far telling you to test / profile
in Shark.
Actually, I am not familiar with shark at all, I do not know how to
get a graph of memory usage and of CPU usage, but I made a test
with ActivityMonitor
-deleting the persistent store file takes no time at all and no
resources
-with a 23MB cache (which is rather small in my case), fetching all
objects, deleting them and saving the context takes approximatively
10 seconds and consumes about 20MB of real memory
The difference is significative.
Regards,
Pierre Chatelier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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