On 1/26/10 12:15 PM, Eyal Redler said:

>I'm working on a NSPersistentDocument based application. My data model
>is quite simple, the main entity contains a few strings, ints and
>dates and there is an array (one to many relationship) of another
>simple entity.
>The document window contains an NSTableView that displays all the main
>entities (using an NSArrayController)
>Everything seems to be working ok except that when I open a large
>document (20k records) for the first time in a session (after a
>restart), it takes a few minutes of spinning wheel for the data to
>show. If I close the document and then re-open I usually get an
>instant response. The format is sqlite.
>Following is an Activity Monitor sample taken during this long
>process. I also tried to monitor this using Instruments and saw
>nothing interesting - only one fetch.
>I'm really stuck with this, I would appreciate any ideas or pointers...

Instrument.app has features specifically for Core Data-related
performance measurements.  I've never used them seriously, so can't
really comment further.  Also, note that the Instruments docs have not
been updated for 10.6 (still! :() so that complicates learning.

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to