Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
10 months ago
Test name Executions per second
Clear only 10510.8 Ops/sec
Save transform Clear restore 10385.8 Ops/sec
Canvas w with memo 452.6 Ops/sec
w=w 657.6 Ops/sec
w+=0 590.3 Ops/sec
fillRect 9760.0 Ops/sec
createImageData 129.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


;