3 ms·
I wish I could just throttle javascript execution to 1/100th its current pace. I really don’t need it for most websites after the initial load of content, which
by drb91 9y ago
I wish I could just throttle javascript execution to 1/100th its current pace. I really don’t need it for most websites after the initial load of content, which is unfortunately driven a lot by javascript these days. They mostly exist to serve more and more annoying ads, best I can tell.
- FLUX-YOU 9y agoSome kind of execution budget would be really nice for JS. I wouldn't blame browsers for not putting it in though, no normal user would touch that kind of control.
- aiCeivi9 9y agoIt was almost a thing, browsers started to suspend/rate limit tabs other than currently active one: https://docs.google.com/document/d/18_sX-KGRaHcV3xe5Xk_l6NNwXoxm-23IOepgMx4OlE4/pub https://docs.google.com/document/d/18_sX-KGRaHcV3xe5Xk_l6NNw... So far web workers are not limited but it is only a matter of time.
- 52-6F-62 9y agoYou can simulate CPU throttle in Chrome, in dev tools under the performance tab. I'm not sure how effective it would be to your use case, though.