Re: NSURLConnection performance on iPhone
Re: NSURLConnection performance on iPhone
- Subject: Re: NSURLConnection performance on iPhone
- From: Greg Guerin <email@hidden>
- Date: Sun, 2 Aug 2009 12:14:58 -0700
Ben Lachman wrote:
The only problem is that I'm seeing lousy download speed,
particularly over wifi (~200K/sec over 3G, <100K/sec over wifi).
Any ideas as to why this might be or if there is anything I can do
to improve things?
Make sure the iPhone wifi isn't experiencing high interference,
necessitating packet resends. Consider changing the wifi channel to
see if it changes the speed.
Use a computer (not iPhone) to test the wifi channel for interference
or speed. Again, considering changing the channel. Or maybe the
computer and the iPhone are using the same channel, interfering with
one another.
Use a completely different iPhone app to test your connection speed.
For example, use the browser to visit an internet speed test
website. Find one by googling keywords internet speed test iphone.
Or quite probably there's an app for that.
It's Debugging 101. The basic idea is to Break It Down into smaller
and independently resolvable problem areas. First step is to find
the connection speed outside its use in your app. If the basic
connection has adequate speed, and only your use of NSURLConnection
is slow, then the problem is probably in your code. If the basic
connection is slow outside of your app, though, then the problem is
probably something other than your code.
-- GG
_______________________________________________
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