The core of Electron can be made quite efficient and performant. It's just that commercial app developers have few incentives to dedicate significant time and effort towards optimization when modern PCs are this powerful:
https://blog.vaxry.net/articles/2025-electronAintBad