Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Windows
Desktop
3 years ago
Test name Executions per second
Clear only 135213.3 Ops/sec
Save transform Clear restore 133554.8 Ops/sec
Canvas w with memo 2104.4 Ops/sec
w=w 2248.5 Ops/sec
w+=0 2092.6 Ops/sec
fillRect 153414.6 Ops/sec
createImageData 227.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


;