HTML Preparation code:
Script Preparation code:
Tests:
  • Clear only

  • Save transform Clear restore

  • Canvas w with memo

  • w=w

  • w+=0

  • fillRect

  • createImageData

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Clear only
    Save transform Clear restore
    Canvas w with memo
    w=w
    w+=0
    fillRect
    createImageData

    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: 2 hours ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103 on Windows
View result in a separate tab
Test name Executions per second
Clear only 178649.0 Ops/sec
Save transform Clear restore 125777.7 Ops/sec
Canvas w with memo 764.9 Ops/sec
w=w 106157.3 Ops/sec
w+=0 117168.3 Ops/sec
fillRect 29886.3 Ops/sec
createImageData 141.8 Ops/sec