Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

> The faster a CPU finishes, the faster the CPU can sleep, which is how you save battery life.

Yup.

> The more cores you use the lower the CPU frequency can be, which saves power, since frequency increases do not use power linearly.

More cores in use has little to do with frequency and more to do with heat. More heat means more thermal throttling which lowers frequency. Lower frequency means that the CPU doesn't sleep sooner.

> I think it goes without saying that javascript workers have nothing to do with the design and layout of a webpage.

Yup. That's exactly why I don't want them. Why should I execute something which doesn't, and shouldn't, have anything to do with rendering page content?

Don't get me wrong, I'm fine with using more cores if it's actually beneficial. But every use I've ever seen for a web/service/javascript worker has always been user hostile by taking what should be done on a server and offloading it onto the user's device instead.



view as:

Using all your cores for the same workload would mean it finishes faster or finishes in the same time with significantly lower frequency. It saves power and heat. Your example would mean using more cores for the same amount of time, which makes no sense in this comparison.

Do you also buy single core computers to save power?

It is clear that what you are saying has nothing to do with javascript features at all and just boils down to not liking bloated web pages.


Legal | privacy