GoogleChromeLabs/idlize

Why is 50ms in IdelDeadline

gztchan opened this issue · 1 comments

I realize that timeRemaining in IdleDeadline is set to 50ms. Is there any theory or principle about it? For example, frame per second.

Elity commented

hhhha,在这里看到你,野仁。
你问的这个问题,我原来在看 polyfill rIC 实现时也疑惑过,答案在这里 https://web.dev/rail/#response:-process-events-in-under-50ms