Script Preparation code:
Tests:
  • drawImage on the main thread

  • drawImage on a worker thread (passing messages as Strings)

  • drawImage on a worker thread (passing messages as ArrayBuffer(100))

  • drawImage on a worker thread (Transferable messages as ArrayBuffer(100))

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    drawImage on the main thread
    drawImage on a worker thread (passing messages as Strings)
    drawImage on a worker thread (passing messages as ArrayBuffer(100))
    drawImage on a worker thread (Transferable messages as ArrayBuffer(100))

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127 on Windows
View result in a separate tab
Test name Executions per second
drawImage on the main thread 232085.2 Ops/sec
drawImage on a worker thread (passing messages as Strings) 250426.6 Ops/sec
drawImage on a worker thread (passing messages as ArrayBuffer(100)) 179661.7 Ops/sec
drawImage on a worker thread (Transferable messages as ArrayBuffer(100)) 22442.7 Ops/sec