HTML Preparation code:
Script Preparation code:
Tests:
  • Crop and Resize using createImageBitmap, currently bugged in FF 111.0

  • Crop and Resize using Canvas scaling, usually somewhat slow

  • No cropping or scaling on main thread, assume ImageBitmap will be transferred to worker (note: not actually transferred in this benchmark)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Crop and Resize using createImageBitmap, currently bugged in FF 111.0
    Crop and Resize using Canvas scaling, usually somewhat slow
    No cropping or scaling on main thread, assume ImageBitmap will be transferred to worker (note: not actually transferred in this benchmark)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Crop and Resize using createImageBitmap, currently bugged in FF 111.0 5782219.0 Ops/sec
Crop and Resize using Canvas scaling, usually somewhat slow 2614264.2 Ops/sec
No cropping or scaling on main thread, assume ImageBitmap will be transferred to worker (note: not actually transferred in this benchmark) 6123214.0 Ops/sec


;