Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Clear only 4197.2 Ops/sec
Save transform Clear restore 4009.9 Ops/sec
Canvas w with memo 382.7 Ops/sec
w=w 364.3 Ops/sec
w+=0 381.3 Ops/sec
fillRect 4202.0 Ops/sec
createImageData 294.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


;