Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To me it seems that modern apps don't really stay frozen in the background like it was ten years ago, at least not on Mac. Something always keeps bubbling up in the process manager. Especially, JS GUIs seem to constantly occupy the CPU with something, even if a little―despite the supposedly event-driven nature.


Even then, the CPU utilisation is low, having one or two spare cores is enough to reap any latency benefits.


How do you arrive at that conclusion considering that nowadays browsers tend to run each page in dedicated threads and in some cases even processes? In that scenario your assertion would only hold if you assume no one has more than a couple of pages open at any given time.


"Running Threads" in Windows and Linux don't use any CPU time unless there is something to do.

Most of the time, threads and processes are in the blocked state. For example, waiting for mouse movements, or network traffic.

Check your CPU utilization, I bet you its below 20% if you have anything close to a modern processor. Even with 30+ tabs open


what? read some OS books




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: