4 ms·
> Modern GUI applications tend to use significant system resources, such as CPU time, even when they're not being actively used. The biggest offender here is t
by hulitu 5y ago
> Modern GUI applications tend to use significant system resources, such as CPU time, even when they're not being actively used.
The biggest offender here is the browser. I don't see any room for improvement by this programm here.
- kmarc 5y agoFirefox (and AFAIK Chrome too) has native APIs for unloading/suspending tabs. I use [1] auto tab discard to configure background tab unloading after a certain period of time. Works very well, battery usage reduced greatly. [1]: https://addons.mozilla.org/en-US/firefox/addon/auto-tab-discard/ https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...
- Arnavion 5y agoThe problem with "discard"ing tabs is that restoring the tab reloads it, leading to an annoying wait and also losing the state that it was in. Neither browser gives a way to just pause the JS analogous to a SIGSTOP, ie whatever next function the JS calls just blocks, or timer events stop being delivered, until an analogous SIGCONT.
- thatfunkymunki 5y agototally agree, I absolutely hate when I return to a tab and it has to reload, losing the entire reason I didn't close it in the first place.
- pantalaimon 5y agoTeams is also high on the list, but this is essentially a browser too.