Reduce Discord CPU and memory leaks by not using Electron
It's very obvious that Discord uses Electron, aka Google Chrome/Chromium in a wrapper so that web developers can produce apps. This is a VERY bad tactic, given that if you have Discord in focus, you can easily watch it consume 100% of your CPU very quickly if you monitor Task Manager. I've also noticed extremely high power draw, which is not exactly good when you use Discord on a laptop. After reconnecting to the Internet, I can see Discord causing 25 watts or more of power draw on a system that normally draws 10 watts; almost high enough to watch my battery go from an estimated 1 hour remaining to 30 minutes remaining in the span of 2 percent. How can I tell the dev team over there that develops the app how to NOT use Electron for anything chat-related, given that at that point you're basically spawning a new process of Chromium for Discord itself, thus causing high power draw?
-
Running Discord and a web browser playing a video makes the video stutter. Minimizing Discord makes the video play correctly but then my battery life is halved. Navigating in Discord itself is painful as the app is unresponsive, slow to load and do anything, even when it's the only app running.
1 -
Discord will likely not move away from electron, in my opinion allowing third party clients is the best solution. The official client can continue development as is, and those who want or need to use a native app could pick one from the high amount of them out there. It wouldn't take up any more time of the discord dev team to do so, and the experience would be better. To me it seems like the main reason to not allow it is that the devs don't trust their own API in being foolproof against poorly coded clients.
5
कृपया टिप्पणी करने के लिए साइन इन करें करें.
टिप्पणियां
2 टिप्पणियां