setinterval长时间后台,执行频率为1分钟

Intensive throttling

OK, here’s the new bit in Chrome 88. Intensive throttling happens to timers that are scheduled when none of the minimal throttling or throttling conditions apply, and all of the following conditions are true:

  • The page has been hidden for more than 5 minutes.

  • The chain count is 5 or greater.

  • The page has been silent for at least 30 seconds.

  • WebRTC is not in use.

In this case, the browser will check timers in this group once per minute. Similar to before, this means timers will batch together in these minute-by-minute checks.

参考链接:


setinterval长时间后台,执行频率为1分钟
https://blog.fullsize.cn/2021/11/03/notion/setinterval-chang-shi-jian-hou-tai-zhi-xing-pin-lu-wei-1-fen-zhong/
作者
fullsize
发布于
2021年11月3日
许可协议