Table of Contents
Why does electron apps use so much memory?
When Electron gets called out, it is often compared unfavourably to a browser running the same app. The Slack app, it is claimed, uses more RAM than simply running Slack in the browser….HelloWorld App.
Tech | Processes | Total RAM |
---|---|---|
qbrt/HTML | 2 | 59.6MB |
ReactNative | 1 | 65.6MB |
Electron | 5 | 68.9MB |
Why is electron bad?
Developers might like that, and it would be one less job to do, but Electron just isn’t good enough. “[Electron] consumes a high amount of RAM, and requires an expansive amount of storage, which makes it a poor choice for iOS apps that need to be fast, lightweight, and place minimal pressure on RAM,” says McGee.
Should I use electrons 2021?
Overall, if you want to use JavaScript everywhere, and don’t care much about performance or security, Electron is a pretty good choice. However, if you have any performance considerations, need mobile support, or want optimal security, you probably will not want to use Electron.
Is electron JS hard to learn?
Electron basically just gives you a window management API and a few bells and whistles here and there. There’s not much to learn. That being said, you would need a fair amount of NodeJS skills (for doing what web apps in the browser can’t) and a good bit of front-end development skills (for the UI).
Are Electron apps inefficient?
Perhaps, in the end, you will agree with me: Electron is not that bad. Slow: Some Electron apps are definitely slow, but that can depend on many factors. Overuse of animations, for example, can substantially increase the CPU usage and thus make the app feel slower.
Is discord an electron app?
Discord’s desktop app is based on Electron , which is more or less a software framework that allows usage of web technologies like HTML/CSS/Javascript to build desktop applications. It’s basically a Chrome tab as an executable.
How does electron app improve performance?
That’s why I would like to show you 4 tips on how to make your Electron app faster!
- Use V8 Engine code cache. Chrome V8 is basically a JavaScript engine, that powers both Node.
- Use a module bundler.
- Use faster JavaScript methods, especially when working with DOM.
- Use WebAssembly (or native addons)
Why does my electron app take so much RAM?
Because of that: Size of application built with Electron is typically around ~120 MB. Electron apps usually use a lot of RAM. UI might feel a bit slow, especially on the older computers. Now, even though we can’t just delete the whole Chromium from our app and reduce it’s size, we can still do something about the RAM usage & speed.
Why are Electron apps so slow on Windows 10?
An electron app Window is similar to a chrome tab. this is the actual reason for the lag. not only the apps are slow they are also big in size (most cases if they are not properly compressed or converted into executable files). How do I find the best freelance developers?
Should I use electron for building apps?
So you just made a nice & shiny new app with Electron. It works as expected, has a beautiful UI, eats a lot of RAM and is slow, right? If you don’t know that already, Electron is an open-source framework for building cross-platform desktop applications using HTML, CSS & (duh) JavaScript.
What is electron JS?
Electron.js is a cross-platform desktop application framework which runs HTML, CSS, AngualrJs based application on windows, mac, Linux. Electron.js use many node.js libraries and run the application in inbuild web server. they mostly use 127.0.0.1 (localhost) to run the application on the local system.