Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Ubuntu
Desktop
2 years ago
Test name Executions per second
Clear only 3435.0 Ops/sec
Save transform Clear restore 3192.6 Ops/sec
Canvas w with memo 406.1 Ops/sec
w=w 411.2 Ops/sec
w+=0 404.1 Ops/sec
fillRect 3058.7 Ops/sec
createImageData 566.5 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


;