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

Improved image performance #29

Merged
merged 3 commits into from
Jun 2, 2021

Conversation

PangMo5
Copy link
Member

@PangMo5 PangMo5 commented Jun 2, 2021

  • Removed SDWebImage
  • Added Nuke, NukeUI
  • Replaced existing WebImage with LazyImage
  • Replace the list of SeasonItemView with LazyVStack

Replaced SDWebImage with Nuke with better performance.

When I checked with Instruments, there was a 2-3x improvement when loading images.

WebImage(SDWebImage):
스크린샷 2021-06-02 오후 4 30 46
LazyImage(Nuke):
스크린샷 2021-06-02 오후 4 30 35

Reference: https://github.com/kean/ImageFrameworksBenchmark

PangMo5 added 2 commits June 2, 2021 13:00
apply placeholderAndFailure too all LazyImage
@PangMo5 PangMo5 changed the title Improve image performance Improved image performance Jun 2, 2021
@acvigue acvigue merged commit 296bd8f into jellyfin:main Jun 2, 2021
@PangMo5 PangMo5 deleted the PangMo5/Improve-image-performance branch July 23, 2021 03:21
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.

2 participants