Alright, I'll take your benchmarks. Thank you.
However, it doesn't matter.
> It's not irrelevant. My point is that your ancient CPU with a horrible GPU is less powerful than a mid range smart phone.
I literally pointed out exactly why it's irrelevant, and you completely ignored me. I'll point it out again:
> I, and everyone else who talks about "bloated Electron apps" (including in this thread) is almost exclusively referring to desktop applications.
Comparing phones to laptops is an apples-to-oranges comparison. It doesn't matter if a low-end phone might be able to run an Electron app well, because we're not talking about low-end phones - the discussion in this thread, as well as almost every other thread that refers to "bloated Electron applications", is talking exclusively about desktops.
If your "point is that your ancient CPU with a horrible GPU is less powerful than a mid range smart phone", then your point is also irrelevant for the purposes of people talking about bloated Electron apps, because almost none of them are discussing phones.
> There needs to come a point where you accept that your hardware is crap not the software.
Yes, and 7-year-old hardware is not that point for these programs - maybe for ML training, but not chat apps. That point only occurs when hardware is slow enough that the algorithms needed to run the core functionality cannot run quickly on it. Software that does not make efficient use of its hardware is crap. Electron does not make efficient use of its hardware.
Electron is either crap, or makes it so easy to write crap that it might as well be. There's a reason that you see people so often complaining about it, and that's because it's so inefficient that it causes a noticeably poor user experience, even for developers running on mid-range devices (which makes it far worse on low-end devices).
As evidence, Ripcord[1] offers a substantial subset of the features of Discord and Slack[2] with significantly better performance. The fact that it's made by a single person and yet manages to significantly out-perform large teams of (ostensibly) competent engineers while still implementing the core functionality provides strong evidence that it is the framework's fault, because it's clearly not because those features are somehow intrinsically computationally expensive to implement.
> I'd say the majority of shitty applications I've used is coded in Java.
Yes, and I think that Java is a terrible platform, too, speaking from experience with Minecraft, GNU Electric, Netbeans, and Eclipse. That doesn't make Electron any less bad.
> Is it fair to say that all apps coded with Java is shit?
Nobody said that they (or Electron apps) are. All of the complaints that I've seen, including mine, is that Electron generally has terrible performance, strongly encourages bad performance, that all major applications built in it are slow, and while it might be possible to build fast tools in it, we haven't seen them.
> But also where are you getting your 15% from?
...literally the CPU usage of Discord while it's running.
[1] https://cancel.fm/ripcord/
[2] https://dev.cancel.fm/service_features