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

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


  • Subject: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  • From: Paulo Andrade <email@hidden>
  • Date: Fri, 13 Nov 2009 12:36:59 +0000
  • Resent-date: Fri, 13 Nov 2009 13:01:45 +0000
  • Resent-from: Paulo Andrade <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: Cocoa-dev Mailinglist <email@hidden>

Hello,

I'm sampling an iPhone app to detect any bottlenecks in performance.
Interesting thing is that, from the first use of an NSURLConnection the following method will appear on Instruments:

+[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]

And it's constantly running, even when the app is stopped (screenshot: http://1wwj.sl.pt).

I'm guessing that when using a NSURLConnection the framework spawns a new thread and creates a runloop for it, this runloop just like the runloop on the main thread is constantly running even when I'm no longer using any NSURLConnection.

Is my guess correct? Does this have any effect performance wise?



Regards,
Paulo Andrade_______________________________________________

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>
  • Prev by Date: Re: NSXMLParser choking on single quotes
  • Next by Date: KVO cross dependencies
  • Previous by thread: Re: How to update table while in a method
  • Next by thread: Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  • Index(es):
    • Date
    • Thread