Y
Hacker News
new
|
ask
|
show
|
jobs
by
AstralStorm
3053 days ago
Browsers do not provide such caps for JS CPU usage. Maybe they should.
This is extra bad when you're viewing on a phone, tablet or battery powered laptop.
2 comments
majewsky
3053 days ago
If this problem persists, we will see tools popping up that use the OS APIs for restricting resource usage (e.g. cgroups on Linux) when starting the browser.
link
squarefoot
3053 days ago
All it needs is faking the available computing power to any process created by the browser, or run it into a VM with extremely limited resources.
link