Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shark and Sampler problems



Just a followup. It turns out that in this case, the code was too fast to be sampled by Shark (see Nyquist) and thus wasn't showing up in the profile.
--
Rick Altherr
Architecture and Performance Group
email@hidden



On Aug 1, 2006, at 9:43 AM, Rick Altherr wrote:

I can only speak for Shark, but there is no known issue with Shark and @try blocks. Are you sure that you are actually spending a significant amount of time in the @try block?
--
Rick Altherr
Architecture and Performance Group
email@hidden



On Aug 1, 2006, at 5:00 AM, Kay Röpke wrote:

Hi folks!

I just tried to profile a an app+framework of mine using Shark and Sampler (when Shark failed to give me enough information).

Two issues:

1)
I looks to me that Shark didn't track stuff that went on inside a @try Objective-C handler. In the relevant framework method
the interesting stuff is going on inside this @try block. Is it known that Shark has any issue with this? I couldn't find anything
in the archives or Google.


2)
After Shark failed me, I tried Sampler to at least get a feeling for what's taking the time. Mysteriously enough Sampler is failing me, too.
After stopping recording samples every click in Sampler's UI is giving me this line on the console:
2006-08-01 13:55:25.819 Sampler[9897] *** - [NSConcreteAttributedString _encodingCantBeStoredInEightBitCFString]: selector not recognized [self = 0xa04e960]


What gives?

Thanks,

-k

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/raltherr% 40apple.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/raltherr% 40apple.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Shark and Sampler problems (From: Kay Röpke <email@hidden>)
 >Re: Shark and Sampler problems (From: Rick Altherr <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.