Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Safari 15
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Clear only 5001.0 Ops/sec
Save transform Clear restore 4560.7 Ops/sec
Canvas w with memo 186.5 Ops/sec
w=w 3731.1 Ops/sec
w+=0 3944.7 Ops/sec
fillRect 4088.7 Ops/sec
createImageData 161.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Clear only

  • Save transform Clear restore

  • Canvas w with memo

  • w=w

  • w+=0

  • fillRect

  • createImageData


;