Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Clear only 6304.5 Ops/sec
Save transform Clear restore 6311.1 Ops/sec
Canvas w with memo 1569.2 Ops/sec
w=w 1573.6 Ops/sec
w+=0 1576.2 Ops/sec
fillRect 6248.6 Ops/sec
createImageData 1125.2 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


;