Reputation: 234
Currently I am building a website in Angular that has several canvas areas. However, a "mousemove"-Event results in poorer performance in the Chrome performance test (part of the perfomance test). The proportion of "system self" is very high in contrast to the other areas (propotion). Does anyone know how to reduce this part or why the proportion can be so big?
Thanks in advance
Upvotes: 5
Views: 1510
Reputation: 364
I would have a look at the green block at the end of the task below the gray block. Maybe you were calling a compute intensive functions on your canvas. Some functions, which can produce perfomance issues are blur(), clip() or save()/restore(), if you are calling them often. I hope that helps you a bit.
Upvotes: 4