Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.136 Safari/537.36
Chrome 80
Windows
Desktop
4 years ago
Test name Executions per second
drawImage Main Thread 81900.7 Ops/sec
drawImage Worker Thread, String 180216.7 Ops/sec
drawImage Worker Thread, ArrayBuffer 155142.1 Ops/sec
Script Preparation code:
Tests:
  • drawImage Main Thread

  • drawImage Worker Thread, String

  • drawImage Worker Thread, ArrayBuffer