slaylines / canvas-engines-comparison

Performance comparison of different canvas rendering engines.
https://benchmarks.slaylines.io
MIT License
786 stars 84 forks source link

Update Scrawl-canvas to latest version 8.10.1 #52

Closed KaliedaRik closed 1 year ago

KaliedaRik commented 1 year ago

Updating to latest version of SC.

Interesting to compare libraries across browsers - it might just be my local machine (MacBook Pro circa 2019) but the differences on latest versions of browsers (on 8k boxes) seem surprising:

Library Chrome Firefox Safari
Pixi 60 43 24
Scrawl-canvas 51 60 32
P5 15 4 34
Mesh 47 30 18
ZRender 13 4 22
Two 23 21 16
Konva 23 7 16
CanvasKit 17 19 19
Paper 16 6 14
Easel 11 4 22
Pencil 12 3 19
Pts 12 4 11
Fabric 9 4 7
SVG 10 7 8
Three 8 6 4
DOM 12 1 9
gnykka commented 1 year ago

Thank you! I'd like to add the table to the ReadMe file (and mention you there) if that's ok with you

KaliedaRik commented 1 year ago

By all means feel free to add the table to the readme. It may encourage users and maintainers of other canvas libraries to review the code for their respective tests to see if they can identify/implement faster (more efficient) solutions, update the library dependencies to latest versions, etc.

Best wishes, Rik