Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106
Linux
Desktop
2 years ago
Test name Executions per second
Clear only 4144.0 Ops/sec
Save transform Clear restore 4042.4 Ops/sec
Canvas w with memo 528.0 Ops/sec
w=w 525.5 Ops/sec
w+=0 528.5 Ops/sec
fillRect 4089.8 Ops/sec
createImageData 754.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


;