Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
Chrome Mobile 124
Android
Mobile
7 months ago
Test name Executions per second
Clear only 97789.1 Ops/sec
Save transform Clear restore 76214.3 Ops/sec
Canvas w with memo 5109.9 Ops/sec
w=w 57071.1 Ops/sec
w+=0 62740.0 Ops/sec
fillRect 99730.8 Ops/sec
createImageData 350.3 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


;