Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Ubuntu
Desktop
3 years ago
Test name Executions per second
Clear only 1379.1 Ops/sec
Save transform Clear restore 1409.6 Ops/sec
Canvas w with memo 259.5 Ops/sec
w=w 252.9 Ops/sec
w+=0 253.3 Ops/sec
fillRect 1377.9 Ops/sec
createImageData 373.6 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


;