Test name | Executions per second |
---|---|
fillRect/concat | 65.3 Ops/sec |
fillRect/join | 32.5 Ops/sec |
1×1 Image Data | 1.3 Ops/sec |
fillRect/template literal | 38.4 Ops/sec |
getImageData/putImageData | 75.3 Ops/sec |
getImageData/putImageData - set px.rgba | 54.8 Ops/sec |
getImageData/putImageData - set [px.r, px.g, px.b, px.a] | 41.7 Ops/sec |
getImageData/putImageData - set - no getImageData | 85.4 Ops/sec |