Run details:
Mozilla/5.0 (X11; CrOS x86_64 13904.41.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.81 Safari/537.36
Chrome 91
Chrome OS 13904.41.0
Desktop
3 years ago
Test name Executions per second
draw squares 598.3 Ops/sec
draw circles 393.4 Ops/sec
drawImage squares 155.1 Ops/sec
drawImage circles 156.3 Ops/sec
putImageData squares 16.9 Ops/sec
putImageData circles 16.3 Ops/sec
Script Preparation code:
Tests:
  • draw squares

  • draw circles

  • drawImage squares

  • drawImage circles

  • putImageData squares

  • putImageData circles


;