Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Mobile Safari/537.36
Chrome Mobile 118
Android
Mobile
one year ago
Test name Executions per second
Clear only 142376.1 Ops/sec
Save transform Clear restore 112800.4 Ops/sec
Canvas w with memo 2606.4 Ops/sec
w=w 68664.3 Ops/sec
w+=0 83458.1 Ops/sec
fillRect 156679.9 Ops/sec
createImageData 518.7 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


;