2 ms·
> I still remember the VS Code bug that caused a huge battery consumption because the gif they used to display the blinking cursor was in a high resolution. I
by mynameisvlad 9y ago
> I still remember the VS Code bug that caused a huge battery consumption because the gif they used to display the blinking cursor was in a high resolution.
I believe that was actually due to a quirk in the way CSS animations worked in Chrome. It was fixed by changing to setInterval which is what was used before. GIF animations were proposed, but AFAIK never actually used.
Here's the GH issue: https://github.com/Microsoft/vscode/issues/22900 https://github.com/Microsoft/vscode/issues/22900