Run details:
Mozilla/5.0 (Linux; arm_64; Android 10; SM-G9730) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 YaBrowser/20.9.4.99.00 SA/3 Mobile Safari/537.36
Yandex Browser 20
Android
Mobile
4 years ago
Test name Executions per second
drawImage Main Thread 122304.4 Ops/sec
drawImage Worker Thread, String 246470.7 Ops/sec
drawImage Worker Thread, ArrayBuffer 180218.7 Ops/sec
Script Preparation code:
Tests:
  • drawImage Main Thread

  • drawImage Worker Thread, String

  • drawImage Worker Thread, ArrayBuffer