-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement offthread image rendering. #18
Comments
Well, that is really cool. I do want to maintain I certainly think it's worth an experimental build. |
@paales In case you missed it ... from the chomium project: Intent to Implement: image async attribute |
Since this library is already pretty awesome and I thought it could use more awesome features: Render Images Off Thread.
https://developers.google.com/web/updates/2016/03/createimagebitmap-in-chrome-50
https://github.com/GoogleChrome/offthread-image
Decoding an image Offthread will reduce scroll jank when loading the page because the main thread will have to do less.
Example how to implement in a custom element:
googlearchive/offthread-image#1
robdodson/offthread-image@9e517a0
I don't have any benchmarks so I can't say if this will actually improve performance, but it might be worth considering.
The text was updated successfully, but these errors were encountered: