Skip to content

ProfoundQa

Idea changes the world

Menu
  • Home
  • Guidelines
  • Popular articles
  • Useful tips
  • Life
  • Users’ questions
  • Blog
  • Contacts
Menu

Why does electron apps use so much memory?

Posted on January 12, 2023 by Author

Table of Contents

  • 1 Why does electron apps use so much memory?
  • 2 Why is electron bad?
  • 3 Are Electron apps inefficient?
  • 4 Is discord an electron app?
  • 5 Why are Electron apps so slow on Windows 10?
  • 6 Should I use electron for building apps?

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.

READ:   Does eating egg shells help teeth?

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?

READ:   Why do I fart so much when I sleep?

That’s why I would like to show you 4 tips on how to make your Electron app faster!

  1. Use V8 Engine code cache. Chrome V8 is basically a JavaScript engine, that powers both Node.
  2. Use a module bundler.
  3. Use faster JavaScript methods, especially when working with DOM.
  4. 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?

READ:   How do you deal with backbiting at work?

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.

Popular

  • Why are there no good bands anymore?
  • Does iPhone have night vision?
  • Is Forex trading on OctaFX legal in India?
  • Can my 13 year old choose to live with me?
  • Is PHP better than Ruby?
  • What Egyptian god is on the dollar bill?
  • How do you summon no AI mobs in Minecraft?
  • Which is better Redux or context API?
  • What grade do you start looking at colleges?
  • How does Cdiscount work?

Pages

  • Contacts
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 ProfoundQa | Powered by Minimalist Blog WordPress Theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT