[webkit-help] Slow to render images?
simon.fraser at apple.com
Fri Dec 16 10:43:26 PST 2011
On Dec 15, 2011, at 7:13 PM, Tim Visher wrote:
> Hi Everyone,
> I'm trying to figure out if I'm doing something wrong or if WebKit is
> where I would like to display a serious of fixed position images in
> quick succession. Firefox works very well and uses little to no CPU to
> do this.
Sampling shows that WebKit is spending a lot of time downsampling the images (since you
are shrinking them down), and doing color correction. Does Firefox do color correction on the images?
> WebKit, however, chews up an entire core and displays the images at a
> significantly slower rate than desired.
> It does this in WebKit nightly, Safari, and Chrome.
> I've published a [test page]. If I try [significantly simpler]
> or [compressed to oblivion] images, WebKit seems to perform
> : http://random.twonegatives.com.s3-website-us-east-1.amazonaws.com/id-cycle-rendering-demo/
> : http://random.twonegatives.com.s3-website-us-east-1.amazonaws.com/id-cycle-rendering-demo/performant.html
> : http://random.twonegatives.com.s3-website-us-east-1.amazonaws.com/id-cycle-rendering-demo/low-res.html
> I'd like it to perform well so I don't know if someone can suggest
> something I could do to get good performance.
> If anyone reading this is on Stack Overflow, I've also published a
> [question] there that hasn't gotten much traction yet, hence this
> : http://stackoverflow.com/questions/8524241/how-can-i-optimize-images-to-render-efficiently-in-webkit
> Thanks in advance!
More information about the webkit-help