3 ms·
Not trying to defend Electron or larger app frameworks here, just trying to learn. How do you make the link between app size and power draw (as opposed to some
by marcosscriven 10y ago
Not trying to defend Electron or larger app frameworks here, just trying to learn.
How do you make the link between app size and power draw (as opposed to some other aspect of Electron causing draw)? And, what are you comparing Electron's power draw to?
- dspillett 10y agoIt might be a stretch to assume the effect will be significant, but... A larger application presumably uses more RAM to itself (especially if its instances of node/chrome/libraries are distinct and so do not share pages by reference or in a copy-on-write manner with other similar applications) so there is less room for cache and buffers so the machine as a while is likely to be hitting disk more often and so consuming more power that way. Loading the app will obviously involve more IO too, though hopefully that is not a regular occurrence for a full desktop app (it may be for a smaller utility program though) so the running costs should dwarf any start-up costs over time.