Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
one year ago
Test name Executions per second
Clear only 56778.7 Ops/sec
Save transform Clear restore 39776.9 Ops/sec
Canvas w with memo 2296.1 Ops/sec
w=w 33333.8 Ops/sec
w+=0 33839.0 Ops/sec
fillRect 52806.9 Ops/sec
createImageData 224.0 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