Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
2 years ago
Test name Executions per second
Clear only 1284.6 Ops/sec
Save transform Clear restore 1273.3 Ops/sec
Canvas w with memo 178.1 Ops/sec
w=w 174.0 Ops/sec
w+=0 167.7 Ops/sec
fillRect 1216.1 Ops/sec
createImageData 289.9 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


;