• 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: NSURLRequest timing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLRequest timing


  • Subject: Re: NSURLRequest timing
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 14 Sep 2011 17:03:30 -0700

On 2011 Sep 14, at 10:21, lcerveau wrote:

> - At the same time I use a software like HTTPScoop to look on how it is timing all this. Time are always différent like 0.05 seconds.

I'm not familiar with HTTPScoop, but 50 milliseconds is typical for a single ping on the internet.
>
> So nearly always a factor of like 10.

This is possible when multiple redirects, SSL handshaking, etc. become involved.  I think that -connection:didReceiveResponse: which you are logging does not get invoked until all this is done.  Log times in -connection:willSendRequest:redirectResponse: and you might see more.

Also, for answers from people who are smarter than me on this topic, re-post to email@hidden.


_______________________________________________

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: 
 >NSURLRequest timing (From: lcerveau <email@hidden>)

  • Prev by Date: Re: Implementing a "Synchronous Channel" with dispatch
  • Next by Date: How to Support in-line attachments in NStextView
  • Previous by thread: NSURLRequest timing
  • Next by thread: "gdb could not unwind past this frame"
  • Index(es):
    • Date
    • Thread