Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Clear only 6903.6 Ops/sec
Save transform Clear restore 6898.2 Ops/sec
Canvas w with memo 1788.9 Ops/sec
w=w 6869.5 Ops/sec
w+=0 6852.2 Ops/sec
fillRect 6899.4 Ops/sec
createImageData 1132.0 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


;