Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
one year ago
Test name Executions per second
Clear only 264677.8 Ops/sec
Save transform Clear restore 199648.3 Ops/sec
Canvas w with memo 5964.5 Ops/sec
w=w 174175.1 Ops/sec
w+=0 180193.1 Ops/sec
fillRect 165932.6 Ops/sec
createImageData 476.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Clear only

  • Save transform Clear restore

  • Canvas w with memo

  • w=w

  • w+=0

  • fillRect

  • createImageData


;