Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Ubuntu
Desktop
one year ago
Test name Executions per second
Clear only 16529.5 Ops/sec
Save transform Clear restore 16228.5 Ops/sec
Canvas w with memo 6455.6 Ops/sec
w=w 128304.0 Ops/sec
w+=0 17136.0 Ops/sec
fillRect 17719.2 Ops/sec
createImageData 487.1 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


;