Re:Why are browsers so slow?
by wtallis on Wednesday December 21, 2016 @01:11AM
(#13227137)
YouTube's videos decompress to much larger quantities of data than Imgur images, but that's not what really affects browser responsiveness, especially when the video decoding is handled by dedicated hardware.
Whether you're displaying a static image or an animated GIF or a H.246 stream, drawing the next frame doesn't require interpreting or JIT compiling any JavaScript, it doesn't require thrashing the garbage collector, and it doesn't require re-computing the page layout.
Whether you're displaying a static image or an animated GIF or a H.246 stream, drawing the next frame doesn't require interpreting or JIT compiling any JavaScript, it doesn't require thrashing the garbage collector, and it doesn't require re-computing the page layout.