Image vs ImageBitmap with context2d

Testing draw calls using a raw Image versus an ImageBitmap
10 months ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15
Test name Executions per second
Image 3936320.0 Ops/sec
ImageBitmap 558988.7 Ops/sec
Script Preparation code:
Tests:
  • Image

  • ImageBitmap

Open this result on MeasureThat.net