HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Firefox 5 runs
putImageData
1K/s
fillRect
12/s

Fastest: putImageData (121.1x faster)

View exact numbers
  • putImageData: 1,439 ops/sec
  • fillRect: 12 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    putImageData
    fillRect

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Chrome 151 on Windows
View result in a separate tab
putImageData
741/s
fillRect
19/s
View exact numbers
Test name Executions per second
putImageData 741 Ops/sec
fillRect 19 Ops/sec