slaylines / canvas-engines-comparison

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

Update DOM demo; add Raw JS demo; bump SC to latest #53

Closed KaliedaRik closed 1 year ago

KaliedaRik commented 1 year ago

Update DOM demo

Previously, the demo was positioning the div elements using style.top and style.left which have significant performance issues for animation. This PR updates positioning to use style.transform = translate()

Add a 'raw' (vanilla) Javascript demo

... Mainly because I was interested to see how it would perform compared to the JS canvas libraries

Bump Scrawl-canvas to latest version

SC v8.10.3 completes the code efficiency work I've been doing over the past few weeks