• 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: [Core Data] Improve save performance ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Core Data] Improve save performance ?


  • Subject: Re: [Core Data] Improve save performance ?
  • From: Scott Ellsworth <email@hidden>
  • Date: Mon, 16 Jan 2006 14:19:56 -0800


On Jan 16, 2006, at 2:01 PM, Eric Morand wrote:

I'm ashamed to admit that I don't know how to use Shark...

It is worth learning. Apple has run one and two hour sessions at WWDC and at various Tiger previews that went over the details.


There is a page at <http://developer.apple.com/tools/ shark_optimize.html> that gives a reasonable overview of the optimization process. <http://developer.apple.com/performance/ appperformance.html> is also a good set of hints, and it has links to the pages where Apple goes into some detail.

A quick start: bring up your project in xcode after installing the performance tools. (IIRC, they are installed by default by the xcode 2.2 installers, so if you have XCode 2.2, you almost certainly have shark in /Developer/Applications/Performance Tools.)

In the debug menu, select 'launch with performance tool'

Accept the defaults, then after switching to your app and starting teh time consuming part of your process, hit cmd-esc. Once the time consuming part is done, hit it again

By default, it stops sampling after thirty seconds, so if you can make the time consuming part take about thirty seconds, then you have both a clear test case, and an easier sample.

You will almost certainly then need to spend some time at the pages above once it gets complicated, but shark is your friend.

Scott


--- email@hidden Java, Cocoa, Tapestry, and Database Consulting Currently seeking new contracts - inquire within _______________________________________________ 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
  • Follow-Ups:
    • Re: [Core Data] Improve save performance ?
      • From: Eric Morand <email@hidden>
References: 
 >[Core Data] Improve save performance ? (From: Eric Morand <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: AurĂ©lien HugelĂ© <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: Eric Morand <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: mmalcolm crawford <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: "Timothy J. Wood" <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: Eric Morand <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: Kay Roepke <email@hidden>)
 >Re: [Core Data] Improve save performance ? (From: Eric Morand <email@hidden>)

  • Prev by Date: Re: [Core Data] Improve save performance ?
  • Next by Date: Re: Core Data Subentities and Subclasses
  • Previous by thread: Re: [Core Data] Improve save performance ?
  • Next by thread: Re: [Core Data] Improve save performance ?
  • Index(es):
    • Date
    • Thread