Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Clear only 5841.2 Ops/sec
Save transform Clear restore 6068.6 Ops/sec
Canvas w with memo 1512.1 Ops/sec
w=w 1515.0 Ops/sec
w+=0 1592.3 Ops/sec
fillRect 5996.1 Ops/sec
createImageData 921.8 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


;