Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
7 months ago
Test name Executions per second
Clear only 85455.8 Ops/sec
Save transform Clear restore 142010.6 Ops/sec
Canvas w with memo 9234.7 Ops/sec
w=w 1754.4 Ops/sec
w+=0 1806.3 Ops/sec
fillRect 2992.0 Ops/sec
createImageData 122.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


;