Created attachment 330385 [details]
I am drawing many small 8x8 tiles onto the canvas.
I am seeing poor performance in Safari/TP compared to Chrome.
Steps to Reproduce:
Go to : http://www.gingerbeardman.com/pangds/
Press the left/right arrows to change display
Inspect console for timings.
Drawing should be instantaneous.
Drawing is very slow.
Seems to be CPU/GPU bound as performance varies between computers.
MBP 10,2 (early 2013; 3.0 GHz Intel Core i7):
Safari 11.0.2 @350ms
Safari TP 46 @450ms
ProductName: Mac OS X
Safari 11.0.2 (13604.4.7.1.3)
Safari TP 46 11.1 (13605.1.18.2)
Created attachment 330386 [details]
screenshot: safari TP
Created attachment 330387 [details]
Are you drawing from the sprite sheet image into the canvas, or doing a canvas-to-canvas draw?
The source is quite straightforward/not minified; it’s Image() to Canvas drawing.
Interested to spot this again, still a problem in late-2021.