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

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 26 days ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119 on Linux
View result in a separate tab
Test name Executions per second
Crop and Resize using createImageBitmap, currently bugged in FF 111.0 498783.4 Ops/sec
Crop and Resize using Canvas scaling, usually somewhat slow 411916.7 Ops/sec
No cropping or scaling on main thread, assume ImageBitmap will be transferred to worker (note: not actually transferred in this benchmark) 288507.0 Ops/sec