I would like to perform a latency test with respect to different urls in my iPhone app, an approach would be to make an async request for an url and measure the time duration based upon when the control reaches in connectionDidFinish delegate, is this the correct approach or some alternatives available in iPhone to measure latency time?
Share
I am not sure how you define latency. Look at the wiki article for some clarification.
I’d profile for the response time to get a picture of the network lag, very interesting in mobile connections. I am using this approach in one of the apps I’ve developed:
Throttling bandwidth for simulator testing could be very helpful.