Reply 20 of 55, by PennilessPaul
DracoNihil wrote on 2021-12-22, 17:13:I had no idea even something as simple as a GIF animation, or the VOGONS logo animation when you mouse over it, is supposed to take 165% CPU to process!
Leaving aside details like the browser's GIF decoding algorithm, CPU usage would depend mostly on the frame rate set in the GIF animation, your CPU model and whether GPU acceleration is working. On my i7-3770S I bought used off ebay years ago I'm only seeing single-digit CPU usage (4-9%) for this 30 FPS GIF rendering on Firefox. It appears according to GPU-Z to be offloading the rendering to my GPU. How is it on your end?
Unfortunately CSS animations, which is what the VOGONS logo in the index page is, are not GPU accelerated so I'm getting double-digit CPU usage when I hover in and out of the logo to repeat the animation continuously. Perhaps if they remade it as a JS animation and capped its frame rate to 30 it would use less CPU. But whatever, this is a really minor thing we'd be nitpicking, it's not like I'm hovering my cursor over it continuously.
DracoNihil wrote on 2021-12-22, 17:13:I'd also like a browser that let's me disable client side scripting on a global basis
You have to accept that the entire Western world wide web is transitioning to a JS framework frontend-dominated cyberspace (primarily the React and Angular frameworks). I suppose you could classify this as the latter stages of "Web 2.0." The rapid increase in RAM requirements and to a lesser extent CPU requirements just to browse the web does help the computer hardware industry.
Interestingly much of the Japanese web still appears to be in "Web 1.0" stage (ie. little to no client-side JS rendering), e.g. compare https://www.yahoo.co.jp with https://www.yahoo.com, though I expect them to follow suit eventually, especially now with their surging laptop sales from teleworking and distance schooling, I expect all their businesses like in the West to exploit this fact and start pushing React and Angular frontends to their online visitors.