Time-consuming JS will cause frame loss. How to understand this sentence?

problem description

many articles say that it should be lower than 16ms, and if you exceed 16ms, you will lose the frame. How do you understand it

Jun.08,2022

js runs to block page rendering, causing stutters in scrolling pages if a piece of js code runs longer than 1max 60 seconds (about 16ms, divided by 60 because 60 frames per second).
if you use requestAnimationFrame, you also need to make sure that the running time is less than or even less than 16ms to ensure that the animation is full of frames.


this depends on the image refresh rate of the display screen. For a typical laptop, this frequency is about 60Hz, that is, 60 refreshes per second, or about one 16ms refresh.
it is recommended to read this article = > deeply understand requestAnimationFrame

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3daa3-4f016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3daa3-4f016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?