Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Clear only 907672.5 Ops/sec
Save transform Clear restore 698250.8 Ops/sec
Canvas w with memo 3112.9 Ops/sec
w=w 554872.1 Ops/sec
w+=0 579320.5 Ops/sec
fillRect 615235.1 Ops/sec
createImageData 1543.7 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


;