I’ve got two macs, one from 2016 with 8gb of ram. Running a single electron app on that computer results in the rest of the system becoming totally unresponsive making any sort of multitasking impossible.
My laptop is a 2008 MacBook Pro with a 2.4Ghz Core 2 Duo and 4G RAM. It's perfectly fine for running R Studio, Emacs, Python, Excel, Safari and VirtualBox with 1 or 2 VMs. Yet a trivial Electron app will make it crawl with the fan spinning like a jet about to take off.
Electron apps like Slack and VS Code tend to eat up my RAM capacity and CPU cycles. Whenever I quote everything except for Firefox my MacBook Pro calms its fans down.
It's not Electron that has performance issues, but the apps aren't probably coded properly. I've been developing my app using electron for a year now and haven't seen it hog cpu/memory unless it's a bug in my application.
It's not just RAM, either. If you measure "energy usage" however your OS allows you to (powertop or OS X's Activity Monitor, etc), Electron-based apps are absolute battery killers.
You'll lose literally hours of battery life simply by running Atom instead of Sublime. It's absurd how little regard Electron devs are showing for end-user resources.
The problem with regard to RAM consumption is the tragedy of the commons. One electron app is okay, but once you're running up to ten or more of them, the resource usage gets out of hand.
I like Electron apps too, and I am running a handful of them as I type this message, but they are notorious for hogging system resources (especially memory).
Perhaps it's down to hardware differences then, assuming that you've got a newish machine. This is a fairly old MacBook Pro which will be replaced soon. Hard to say what the cause is, but I don't have any issues with other non-Electron apps.
Anyone with a system that is running full of Electron apps knows how awful it adds up and how slow they are. Sure just 1 app makes hardly a difference. But I have 16GB of RAM and it gets awfully slow very fast with all that electron mess.
OTOH my battery is dying, and may not be worth replacing.
reply