Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
3 years ago
Test name Executions per second
draw squares 560.3 Ops/sec
draw circles 1018.8 Ops/sec
drawImage squares 225.2 Ops/sec
drawImage circles 226.1 Ops/sec
putImageData squares 2031.4 Ops/sec
putImageData circles 1959.1 Ops/sec
Script Preparation code:
Tests:
  • draw squares

  • draw circles

  • drawImage squares

  • drawImage circles

  • putImageData squares

  • putImageData circles


;