C
C
cursedgrail2017-10-02 12:33:58
Browsers
cursedgrail, 2017-10-02 12:33:58

Why have browsers become so voracious?

Usually I don't work with a large (8+) number of applications at the same time, but this time there was an urgent need for this.
And what was my surprise that my PC with 4 GB of RAM, which was usually more than enough for all daily tasks, cannot keep several applications in RAM and starts dumping some of the data into the hard disk swap file, causing serious brakes.
The task manager showed a terrible picture: more than others, it was the browser (Vivaldi) that ate the RAM. And much more so than the others. 10 tabs were opened, for which the browser spent a total of one and a half (!!!) gigabytes of RAM. Moreover, these were not flash games, but the most common pages on 3-4 screens with static content.
Well, I think it's okay. I will close the browser and for the sake of experiment I will open only 2 pages: the main page of Yandex and Youtube. Result: 600 megabytes. 600. Megabyte.
Not believing my eyes, I, opening the same 2 pages, compared the voracity of browsers on other engines (Mozilla, IE, Edge), but the results turned out to be about the same. Unless, Opera Neon showed less appetite, but it turned out to be quite a lot - 400 megabytes.
So what's the reason? Why has the internet become so difficult? And then what is the point in increasing the performance of the computer, if the gluttony of the software grows in proportion to the power of the PC?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
M
mafusailmagoga, 2017-10-02
@mafusailmagoga

And then what is the point in increasing the performance of the computer, if the gluttony of the software grows in proportion to the power of the PC?

And what's the point in increasing performance, except for slower software to fly ???
;)
So what's the reason? Why has the internet become so difficult?
1. Complication of standards.
2. Rise in the cost of programmers. It's cheaper to pay for hardware once than to constantly pay programmers higher salaries so that they optimize more carefully.

V
Vladimir, 2017-10-02
@Casufi

There is always a choice of lynx.browser.org
or
https://developer.mozilla.org/ru/docs/Web/API/Web_...
https://developers.google.com/web/updates/2016/03/. ..
https://developer.mozilla.org/en-US/docs/Web/API/W...
https://en.wikipedia.org/wiki/WebGL
https://developer.mozilla.org/en /docs/Web/CSS/CSS_...
https://developer.mozilla.org/en/docs/Web/CSS/animation
https://developer.mozilla.org/uk/docs/Web/API/Canv. ..

K
kek123, 2017-10-02
@kek123

So what's the reason? Why has the internet become so difficult? And then what is the point in increasing the performance of the computer, if the gluttony of the software grows in proportion to the power of the PC?

As time goes on, better quality and, consequently, more voluminous content appears on the Internet: higher resolution images, videos, etc. And the growth in PC performance is more likely a consequence of the growth of software voracity.

X
xmoonlight, 2017-10-03
@xmoonlight

FireFox 56.0 (64Bit): 50 open tabs - 200Mb.
You need to properly filter JS functions.

�
âš¡ Kotobotov âš¡, 2017-10-03
@angrySCV

1. JS is a very resource inefficient language (due to its nature as a scripting, dynamically typed language).
2. Developers shove all sorts of shit on their sites, ranging from 25 statistics and user tracking services, to all sorts of callback services, chats, jump buttons, endless libraries, how to make a pink transition in the background, and so on and so forth. All these libraries still pull up another 50 third-party libraries, for example, a fucking jailbreak, which is not fucking needed, but everyone connects it anyway, because the vast majority of developers cannot, do not know how and DO NOT WANT to make economical and efficient code.

A
Anton Anton, 2017-10-02
@Fragster

Repair the browser: https://i.imgur.com/xEHeMNW.png

I
Ivan Bogachev, 2017-10-03
@sfi0zy

Here everyone writes that JS developers are such and such, they are chasing new versions and beautiful goodies, they themselves do not monitor memory, and the garbage collector does not work well for them, and in general they are all such radishes. Maybe this is so, but it will be interesting if someone explains to me, a dark person, why this happens (the test subject is chrome under Linux, this happened on all sites where I checked, I turned off the extensions for the purity of the experiment):
The network shows that it was downloaded somewhere around 1.2MB. As we can see, the "bad garbage collector" heap is less than 30MB. If you add up the values ​​from the right column, you get about 50MB (rough estimate). The page is standing, I did not scroll it, I did not click anything, the memory allocation record is empty, i.e. memory is not allocated (didn't take a screenshot - everything is just empty there), and the tab consumes almost 200MB. If you start doing something (for example, scrolling, thereby causing a redraw of everything), then memory will begin to be allocated, which will be visible in the corresponding entry, but the total amount of memory consumed will not change. If you open htop, it will show that chrome consumes slightly more memory than its own task manager in total, so there is no big catch.

4
4mobile, 2017-10-04
@4mobile

Browsers are just getting faster and faster, it's just that sites are getting heavy, a million pictures, videos, animations, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question