• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help figuring out poor Core Data performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help figuring out poor Core Data performance


  • Subject: Re: Need help figuring out poor Core Data performance
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 26 Jan 2010 18:23:03 -0500
  • Organization: Rogue Research Inc.

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                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

References: 
 >Need help figuring out poor Core Data performance (From: Eyal Redler <email@hidden>)

  • Prev by Date: Re: NSString category name collision?
  • Next by Date: Re: Garbage Collection Docs Puzzle
  • Previous by thread: Need help figuring out poor Core Data performance
  • Next by thread: tab view look
  • Index(es):
    • Date
    • Thread