Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
one year ago
Test name Executions per second
Clear only 272207.1 Ops/sec
Save transform Clear restore 202750.7 Ops/sec
Canvas w with memo 5055.1 Ops/sec
w=w 174491.5 Ops/sec
w+=0 181388.8 Ops/sec
fillRect 163819.5 Ops/sec
createImageData 469.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


;