Enable animations only of code annotations that are visible
polakowo opened this issue · comments
Oleg Polakow commented
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I want to suggest an idea and checked that ...
- ... to my best knowledge, my idea wouldn't break something for other users
- ... the documentation does not mention anything about my idea
- ... there are no open or closed issues that are related to my idea
Description
A high amount of code annotations may cause high CPU usage because of constant style recalculations and rendering. This can be mitigated by showing animations only of code annotations that are visible in the viewport.
Use Cases
Reduce CPU usage.
Screenshots / Mockups
Martin Donath commented
Thanks for suggesting! Fixed in 5e442eb. This is actually a great optimization that was almost trivial to achieve.
Martin Donath commented
Released as part of 8.2.16.