Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDWebImage 3.0 is slow download then provious lib #527

Closed
BhaveshDhaduk opened this issue Oct 12, 2013 · 6 comments
Closed

SDWebImage 3.0 is slow download then provious lib #527

BhaveshDhaduk opened this issue Oct 12, 2013 · 6 comments
Milestone

Comments

@BhaveshDhaduk
Copy link

Hi, As of now I am facing on problem about library, Some time before I am using 2.0 library now I am upgrade lib to 3.0. but, I am getting users comment now image download process is slower the previous. Even I am also test with multiple iPhone's with same network, older version project download faster then latest sdk.

Can you please tell me it is possible newer version is slower then previous version.

Please provide your valuable input for the same.

@morisunshine
Copy link

I meet the same problem

@MrAlek
Copy link
Contributor

MrAlek commented Jan 29, 2014

What I found out when digging a bit is that the default maxConcurrentOperationCount for the shared download operation queue is only 2. This doesn't really suit table views well, since even if you cancel operations when cells are reused, download operations that have already started for will take up space in the queue.

You can easily fix it by upping the count yourself:
[[SDWebImageDownloader sharedDownloader] setMaxConcurrentDownloads:6];

@bpoplauschi
Copy link
Member

@googler2013 does this answer your question? Is changing the max concurrent downloads setting make it work similarly to version 2.x?

@bpoplauschi bpoplauschi added this to the Future milestone Jun 17, 2014
@bpoplauschi
Copy link
Member

Closing due to lack of response. Feel free to reopen

@runningfree100
Copy link

wow. this is crazy. you must write this tip in description of the project :
https://github.com/rs/SDWebImage

changing to this and my uitableview works like the good old library speed.
please, for others, write this in the description. I almost cried from hapiness :)
[[SDWebImageDownloader sharedDownloader] setMaxConcurrentDownloads:6];

@bpoplauschi
Copy link
Member

We will make this change in the new release (4.0).

bpoplauschi added a commit that referenced this issue Nov 2, 2014
Increased default maxConcurrentOperationCount, fixes #527
@bpoplauschi bpoplauschi modified the milestones: 3.7.2, Future Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants