NSURLRequest timing
NSURLRequest timing
- Subject: NSURLRequest timing
- From: lcerveau <email@hidden>
- Date: Wed, 14 Sep 2011 17:21:29 +0000 (GMT)
Hi
I have a question regarding time a NSURLRequest/NSURLConnection is taking : I do the following
- When creating/launching the request I take a timestamp, in the delegate method
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
I take another one. I have results like 0.6 seconds.
I have to launch multiple request at nearly the same time to the server (like 20)
- 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.
So nearly always a factor of like 10.
Who to believe on the time it takes?
As all the requests are against the same server and this one is supporting it I use setHTTPShouldUsePipelining. But it seems not to provide any speed gain
Thanks
laurent
_______________________________________________
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