Image vs ImageBitmap with context2d

Testing draw calls using a raw Image versus an ImageBitmap
one year ago
User agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36
Test name Executions per second
Image 314754.1 Ops/sec
ImageBitmap 59017.0 Ops/sec
Script Preparation code:
Tests:
  • Image

  • ImageBitmap

Open this result on MeasureThat.net