taisuke-j / progress-ring-component

Animated web component showing progress in percentage
MIT License
16 stars 2 forks source link

Performance improvement #12

Closed taisuke-j closed 2 years ago

taisuke-j commented 3 years ago

It was reported that there was poor performance on this page on iPhone 12 (stuck on the previous animation) https://unpkg.com/progress-ring-component@1.0.5/demo/demo-02.html

Some of the things to check

taisuke-j commented 2 years ago

I saw the choppiness on iOS chrome, seems ok with other browsers. By the look of chrome devtools, there seem to be a couple of Minor GC during the animation. It may possibly be related but needs investigation (maybe allocating too much memory, etc)