Files
ladybird/Userland/Libraries/LibWeb/HTML
Andreas Kling a9aecbbd6f LibWeb: Batch processing of successfully downloaded images
Before this change, we would process each image as it finished
downloading. This often led to a situation where we'd decode 1 image,
schedule a layout, do the layout, then decode another image, schedule
a layout, do the layout, etc. Basically decoding and layouts would get
interleaved even though we had multiple images fetched and ready for
decoding.

This patch adds a simple BatchingDispatcher thingy that HTMLImageElement
uses to batch the handling of successful fetches.

With this, the number of layouts while loading https://shopify.com/ goes
from 48 to 6, and the page loads noticeably faster. :^)
2023-07-27 18:39:57 +02:00
..
2023-06-21 16:30:27 +02:00
2023-06-21 16:30:27 +02:00
2023-05-16 11:25:44 +02:00
2023-02-27 20:55:09 +01:00
2023-02-27 20:55:09 +01:00
2023-05-24 23:18:07 +02:00
2023-05-24 23:18:07 +02:00
2023-02-23 15:48:38 +00:00