It is unsurprising the memory usage was the same. The better comparison would be running N apps simultaneously, both as tabs in Chrome, and as separate applications. So for example, open discord and slack simultaneously in Chrome and record the aggregate memory usage. Then do the same with their desktop apps.
You will find that opening the desktop apps uses significantly more memory, because unlike a browser, where tabs (child processes) share statically linked libraries, each electron app links with its own shared libraries, leading to redundant memory usage at runtime when multiple electron apps are running simultaneously.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is unsurprising the memory usage was the same. The better comparison would be running N apps simultaneously, both as tabs in Chrome, and as separate applications. So for example, open discord and slack simultaneously in Chrome and record the aggregate memory usage. Then do the same with their desktop apps.
You will find that opening the desktop apps uses significantly more memory, because unlike a browser, where tabs (child processes) share statically linked libraries, each electron app links with its own shared libraries, leading to redundant memory usage at runtime when multiple electron apps are running simultaneously.