Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
So... My lil mate.
Whenever you look at da funny stuff online, it gets downloaded from the internet. In every country of the world are some special computers who are connected with each others.
They work together, so stuff can be viewed in every country of the world.
Daddy has to pay a lot of bucks to get access to that, and our computer sucks a lot of power to make the funny stuff look awesome so you can smile....
So maybe go play outside for a change, hmkay? -
myss44504yCPU is the brains behind your browser and pretty much any other application on your computer, including the operating system.
Now this browser of yours has loaded a website which asks to do some complex calculations in the background, hence it all falls back on brains orchestrating this entire thing - the CPU.
Btw term for this is ELI5 -
mundo0349114y@electrineer explain why things have to be dumbed down tona 5 year old, why are they stupid.
-
Hazarth95224yJavaScript, its all javascript.
In the past, sites used to be served to you as is. You got the html, the css, your browser drawn it (some cpu), and that was it. Everything happened on the server.
But that's also only possible for static websites, facebook chat or live updates would be impossible.
Enter, javaScript. A program that runs on *your* computer to make things dynamic.
Everytime you load a website now, you don't only get the html and css but also a few kilobytes (or MB these days) of software that you run and that does a lot of periodic things. Checks for updates to the website every x seconds, processes changes, sends your data to the servers as logs...
We're talking tens or hundreds of timers, per site, constantly checking for changes or inputs. Which is all ran on the CPU.
The worse the JS the more it drains, but what we get in exchange is web apps. -
@Hazarth Yeah.. unfortunately. If I profile web pages that cause stress on the CPU, 60% of the stress is caused by JS..
Related Rants
-
tirthaguha15Performance Optimization: when you spend 3 days, to improve site loading by 0.5 secs.
-
Chippy1"I'm not ugly. I just reduce my graphics to have better performance."
-
netikras8PROBLEM: A tickets' company came to us last autumn. They said they have severe performance problems and asked ...
Explain to an end user 'like-I'm-five' why webpages sometimes cause stress on the CPU.
rant
performance
explain-like-im-five
web pages