2 ms·
By the way, here's my simplified/annotated version of the code https://gist.github.com/DavidBuchanan314/13f4c4e8d9573108ff9999be56844022 https://gist.github.com
by Retr0id 3y ago
By the way, here's my simplified/annotated version of the code https://gist.github.com/DavidBuchanan314/13f4c4e8d9573108ff9999be56844022 https://gist.github.com/DavidBuchanan314/13f4c4e8d9573108ff9...
- Retr0id 3y agoLooks like the lag can be fixed by only updating b.innerText once per frame. This seems like a ff bug to be honest, but it appears that rapidly updating the size of innerText is the culprit.