• 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: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]


  • Subject: Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  • From: Michael Ash <email@hidden>
  • Date: Sat, 14 Nov 2009 06:20:39 -0500

On Fri, Nov 13, 2009 at 1:28 PM, Paulo Andrade <email@hidden> wrote:
> Hello,
>
> I'm using the CPU sampler template.
>
> Here (http://1wzi.sl.pt) is a sample of a very simple run to prove my point.
>
> Here's how I collected it:
> - Start the app and let it fully launch (it does a few request at boot)
> - Attach instruments with the CPU Sampler template
> - Let it run for 30 seconds and not touch the iphone
>
> You'll see that the time is equally divided between +[UIApplication run] and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
>
> Please let me know if you have any other ideas that could explain this.

The CPU sampler in Instruments does not distinguish between a thread
which is actively running (and taking up CPU time) and a thread which
is sleeping (and taking no CPU time). This does not make it very
useful. I recommend using Shark instead.

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

  • Follow-Ups:
    • Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
      • From: Joar Wingfors <email@hidden>
References: 
 >CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] (From: Paulo Andrade <email@hidden>)
 >Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] (From: Joar Wingfors <email@hidden>)
 >Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] (From: Paulo Andrade <email@hidden>)

  • Prev by Date: Re: Bindings vs MOC change notification
  • Next by Date: Re: Drag-Move the Transparent windowed app over the screen
  • Previous by thread: Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  • Next by thread: Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  • Index(es):
    • Date
    • Thread