Re: NSURLRequest timing
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