Skip to content

Conversation

@auouymous
Copy link
Member

These patches improve episode list refresh time by about 12%. Additional optimizations in get_update_fields() could improve it more but half of the time is spent in the model.set() call.

The themed Gio icon check increases the time spent in get_update_fields() by 24% for downloaded episodes. There was talk in #872 about removing those icons.

This can decrease episode list update time by 1.7%.
This can decrease episode list update time by 0.2%.
This can decrease episode list update time by 1.5%.
And concatenate episode fields instead of iterating over them.

Simplifies the expression and can decrease episode list update time by
0.2%.
This can decrease episode list update time by 0.2%.
The UI is still responsive while performing more work per interval and
updating the list in 90% of the time.
@auouymous auouymous merged commit e8af860 into gpodder:master Dec 8, 2022
@auouymous auouymous deleted the optimize-episode-list branch December 8, 2022 11:40
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

Successfully merging this pull request may close these issues.

1 participant