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

Make refresh faster #24

Open
Horrendus opened this issue Feb 6, 2013 · 4 comments
Open

Make refresh faster #24

Horrendus opened this issue Feb 6, 2013 · 4 comments

Comments

@Horrendus
Copy link
Member

Refresh takes quite some time when the user is subscribed to more podcasts, maybe change to device updates API endpoint

@schuay
Copy link
Contributor

schuay commented Feb 10, 2013

Yes, refresh takes way too long. Care to elaborate about the device updates API?

@Horrendus
Copy link
Member Author

not sure if device updates helps or if it isn't already used. could you maybe tell me what is done (esp. which API endpoints are called [either via API endpoint or mygpoclient-java function]) then we can work out how to make it faster (I believe the reason why it takes longer than expected could be because other podcatchers [even some using gpodder.net] do the parsing of podcast feeds locally and Detlef relies completly on gpodder.net)

@schuay
Copy link
Contributor

schuay commented Feb 12, 2013

The code is contained in gpodder.SyncSubscriptionsAsyncTask and gpodder.PullFeedAsyncTask. Essentially, we push local changes and pull remote changes from gpodder.net, then pull all feed details from gpodder.net. We do not parse feeds locally.

@schuay
Copy link
Contributor

schuay commented Feb 13, 2013

I believe a large reason for the performance loss in the initial refresh (besides communication with gpodder.net) is that we refresh the episode list view whenever we add or change an episode. This can get expensive when refreshing several podcasts containing a large number of episodes.

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

2 participants