We have noticed that rect is a special case in canvas 2d rendering.
strokeRect, fillRect are optimized calls and probably do not execute anything in JS.
However drawing a path of any kind (circle, bezier, even rect) is very heavy on performance.
So it might be worth to profile that across the engines as well.
Thanks for this repo!
We have noticed that rect is a special case in canvas 2d rendering.
strokeRect
,fillRect
are optimized calls and probably do not execute anything in JS. However drawing a path of any kind (circle, bezier, even rect) is very heavy on performance. So it might be worth to profile that across the engines as well. Thanks for this repo!