5 ms·
Hello! I'm a developer for Klim. Thanks for prompting us to look at this CPU usage issue. I'm happy to say that it has now been resolved. For those interested
by editkid 6y ago
Hello! I'm a developer for Klim. Thanks for prompting us to look at this CPU usage issue. I'm happy to say that it has now been resolved.
For those interested in the underlying cause, it seems to have been a bug in Safari. The following CSS triggered infinite repaints:
transition: all;
The solution was to simply be more specific:
transition: background-color;
- earthboundkid 6y agoInteresting cause. I wonder how long we’ll need to manually specify what transitions. It seems like an optimization problem that the browser could solve on its own, but I guess not yet.
- deleted 6y ago[deleted]
- editkid 6y agoHere is the related bug report. It's quite a specific case, so not simply triggered by using "transition: all" in isolation. https://bugs.webkit.org/show_bug.cgi?id=202467 https://bugs.webkit.org/show_bug.cgi?id=202467
- earthboundkid 6y agoGreat detective work.