• 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: Profiling with Shark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Profiling with Shark


  • Subject: Re: Profiling with Shark
  • From: Michael Ash <email@hidden>
  • Date: Mon, 16 Feb 2009 00:26:17 -0500

On Sun, Feb 15, 2009 at 9:57 PM, Gerriet M. Denkmann
<email@hidden> wrote:
> There has been a repeated advise to use Shark.app to measure before
> optimisation.
> So I decided to follow this advise.
>
> Started my app, then started Shark and selected my app, hit Start, did
> something in my app, hit Stop.
>
> Got an impressive display which consisted (almost exclusively) of calls to
> an "Unknown Library" with nice hex symbols followed by [unknown].
> Like:
>        24.8%   88.5%   Unknown Library  0x245c [unknown]
> There was an exclamation sign on the left, which told me to use "Generate
> Debug Symbols", so I looked for this in Xcode and saw that it was checked.
> Also: no stripping was done.
>
> So: why is everybody so enthusiastic about Shark when it is absolutely
> useless for me?

Is this a serious question? Really? I mean, the answer should be
pretty obvious: it works fine for us.

> My code resides in: "/Volumes/เม่น/Users/gerriet/Some/Path/to/Project". But
> I simply cannot believe that nobody ever has told Shark that the days of
> MacRoman are over and that there is something like Unicode.
> (But then: it took AppleScript about 17 years to discover this, so who
> knows?)
>
> Another possibility: "/Volumes/เม่น" is case sensitive. But why should
> fishes get confused by cases?

Instead of speculating, how about trying it on a "normal" path and
seeing if it makes things better?

> What can I do to avoid optimisation without measuring?

Start by avoiding debugging without investigation.

Mike
_______________________________________________

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: 
 >Profiling with Shark (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Profiling with Shark
  • Next by Date: RE: Profiling with Shark
  • Previous by thread: Re: Profiling with Shark
  • Next by thread: handling data relations in Core Data
  • Index(es):
    • Date
    • Thread