Skip to content

Conversation

@max-nextcloud
Copy link
Contributor

@max-nextcloud max-nextcloud commented Jan 28, 2025

Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a blur hash after all.

Performance Impact

89 runs per minute ( up from 26)
Memory footprint of 120 MB instead of 1.1 GB.

Screenshots

Before: 300px width source

Bildschirmfoto vom 2025-01-28 09-53-26

After: 30px width source

Bildschirmfoto vom 2025-01-28 09-56-29

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • No tests - sorry.
  • Documentation does not mention blurhash yet - so no update needed.
  • Upload Screenshots before/after for front-end changes
  • Wait for profiling results to see if this has an impact.
  • Request Backports.

@max-nextcloud
Copy link
Contributor Author

/backport to stable31

@max-nextcloud
Copy link
Contributor Author

/backport to stable30

@max-nextcloud max-nextcloud added the 3. to review Waiting for reviews label Jan 28, 2025
@max-nextcloud max-nextcloud self-assigned this Jan 28, 2025
@max-nextcloud
Copy link
Contributor Author

/backport to stable29

Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a **blur** hash after all.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the fix/low-res-for-blurhash branch from 826f2e3 to faaed68 Compare January 28, 2025 14:19
@max-nextcloud max-nextcloud merged commit 0741f6f into master Jan 28, 2025
189 checks passed
@max-nextcloud max-nextcloud deleted the fix/low-res-for-blurhash branch January 28, 2025 21:58
@max-nextcloud
Copy link
Contributor Author

/backport to stable30

@max-nextcloud
Copy link
Contributor Author

/backport to stable31

@skjnldsv skjnldsv added this to the Nextcloud 32 milestone Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants