Setting Canvas Pixel

2 months ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Test name Executions per second
fillRect/concat 759.5 Ops/sec
fillRect/join 693.7 Ops/sec
1×1 Image Data 77.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • fillRect/concat

  • fillRect/join

  • 1×1 Image Data

Open this result on MeasureThat.net