Script Preparation code:
Tests:
  • HTMLCanvasElement 2d drawImage HTMLImageElement

  • HTMLCanvasElement 2d drawImage HTMLCanvasElement

  • HTMLCanvasElement 2d drawImage OffscrenCanvas

  • HTMLCanvasElement 2d drawImage ImageBitmap

  • OffscreenCanvas 2d drawImage HTMLImageELement

  • OffscreenCanvas 2d drawImage HTMLCanvasElement

  • OffscreenCanvas 2d drawImage OffscreenCanvas

  • OffscreenCanvas 2d drawImage ImageBitmap

  • HTMLCanvasElement bitmaprenderer transferFromImageBitmap ImageBitmap

  • OffscreenCanvas bitmaprenderer transferFromImageBitmap ImageBitmap

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    HTMLCanvasElement 2d drawImage HTMLImageElement
    HTMLCanvasElement 2d drawImage HTMLCanvasElement
    HTMLCanvasElement 2d drawImage OffscrenCanvas
    HTMLCanvasElement 2d drawImage ImageBitmap
    OffscreenCanvas 2d drawImage HTMLImageELement
    OffscreenCanvas 2d drawImage HTMLCanvasElement
    OffscreenCanvas 2d drawImage OffscreenCanvas
    OffscreenCanvas 2d drawImage ImageBitmap
    HTMLCanvasElement bitmaprenderer transferFromImageBitmap ImageBitmap
    OffscreenCanvas bitmaprenderer transferFromImageBitmap ImageBitmap

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
HTMLCanvasElement 2d drawImage HTMLImageElement 2529891.5 Ops/sec
HTMLCanvasElement 2d drawImage HTMLCanvasElement 3871318.5 Ops/sec
HTMLCanvasElement 2d drawImage OffscrenCanvas 3731187.0 Ops/sec
HTMLCanvasElement 2d drawImage ImageBitmap 3891300.8 Ops/sec
OffscreenCanvas 2d drawImage HTMLImageELement 3949467.8 Ops/sec
OffscreenCanvas 2d drawImage HTMLCanvasElement 3789899.0 Ops/sec
OffscreenCanvas 2d drawImage OffscreenCanvas 3867609.0 Ops/sec
OffscreenCanvas 2d drawImage ImageBitmap 3464549.5 Ops/sec
HTMLCanvasElement bitmaprenderer transferFromImageBitmap ImageBitmap 787411.8 Ops/sec
OffscreenCanvas bitmaprenderer transferFromImageBitmap ImageBitmap 98623.9 Ops/sec