It used to happen sporadically but now it is a daily experience. As I am browsing the net I click on a link (usually a newspaper website). The page starts to load. Then I wait. And I wait. And I wait. It takes several seconds.
Once loaded, my patience is not rewarded since my MacBook Air mid-2011 seems to barely be able to keep up. Videos start playing left and right. Sound is not even turned off by default anymore. This
shitshow festival of lights and sounds is discouraging but I am committed to learn about world news. I continue.
I have the silly idea to scroll down (searching for the meaty citations located between double quotes) and the framerate drops to 15 frames per second. Later, for no apparent reason, all fans will start running at full speed. The air exhaust will expel burning hot air. MacOS X's ActivityMonitor.app reveals countless "Helpers" processes which are not helping at all. I wonder if the machine is going to die on my lap, or take off like a jet and fly away.
What a sad sight. My laptop is seven years old but its specs are far from ridiculous.
- 1.7 Ghz Intel Core i5 with two hyper-threaded CPUs.
- 4 GiB 1333Mhz DDR3
- SSD drive
A computer this powerful should be able to render any web-page gracefully. It used to do the job correctly a few years ago. It can't anymore even though it doesn't look like the new content is doing much more than it used to.
I took a look at my own website and realized I was also guilty. The homepage requires 23 HTTP requests. It weighs 1.5 MiB and takes 800 milliseconds to load. All that to show six images and a banner. If you scroll down all the way to the bottom, your browser will have transfered 5.6 MiB while performing 78 HTTP requests. How did I end up building this crap?
For every better, faster, energy-efficient CPU/Storage/RAM element produced by hardware designers it seems there are ten programmers ready to add a hundred features. In programming like in every day life, incremental degradation makes it surprisingly easy to over-consume available resources.
There is hope. More and more of us are becoming aware of the problem. I am confident things will end up going in the right direction. On a personal note, it was time for this website to change.
I am well aware there are many elements between a file on a server and the eyes of a reader. Like I am aware that a commercial website must solve problems a personal blog doesn't have to consider. Yet it seems like an increasingly good idea to take a few steps back and wonder if we are doing our best to use only what is needed. And do what we can about it, however infinitesimal we think it is.