- [ ] use `document.hidden` to check if minimized, and stop network polling and requests during that time. - [ ] consider a creating a setting to decide the rate of network requests and system polling for stats. - [ ] use [`navigator.online`](https://www.electronjs.org/docs/latest/tutorial/online-offline-events) to check network connection instead of current method. > TIPS: - use developer tools to check performance regularly. - use WebAssembly to run native code (C/C++) if needed.
document.hiddento check if minimized, and stop network polling and requests during that time.navigator.onlineto check network connection instead of current method.