Run details:
Mozilla/5.0 (Android 11; Mobile; rv:83.0) Gecko/83.0 Firefox/83.0
Firefox Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
draw squares 310.3 Ops/sec
draw circles 569.1 Ops/sec
drawImage squares 121.6 Ops/sec
drawImage circles 125.1 Ops/sec
putImageData squares 831.6 Ops/sec
putImageData circles 756.8 Ops/sec
Script Preparation code:
Tests:
  • draw squares

  • draw circles

  • drawImage squares

  • drawImage circles

  • putImageData squares

  • putImageData circles