Re: basic Core Data scaling question

2008-09-02 Thread Michael B Johnson
Thanks Ben. This was all great information. The doc link was the key - after I posted, and kept sampling my app, I figured out a number of these myself, but the doc made me more confident that I wasn't missing something in Core Data. On a tangential note, how can I get Instruments to give

re: basic Core Data scaling question

2008-09-02 Thread Ben Trumbull
Michael, There are three common issues. First has to do with keeping a stable heap and general memory management. You can find suggestions about how to import a lot of data with Core Data in the Core Data Programming Guide

Re: basic Core Data scaling question

2008-09-01 Thread Quincey Morris
On Sep 1, 2008, at 18:52, Michael B Johnson wrote: The problem comes when I start adding the Images to the managed store. I time how long it takes to add 100 at a time. The first 100 go in 0.022 seconds, but by the time I've inserted 4,200 of them, it's taking 1 second/100, at 20,000 it's

basic Core Data scaling question

2008-09-01 Thread Michael B Johnson
quick question: Let's say I have 100,000 ManagedObjects of type A. Each has a one-to- one relationship to a ManagedObject of type B, which has a reciprocal one-to-many relationship with all the As. Assuming I have all 100,000 As around (I've just created them in the ManagedStore) - what's