Canvas Pixel Array Performance

This test draws a random gray scale colour to the canvas 100 times, first using a js array to store the pixels, then using a native canvas array. The reported time is totalTime/100. NOTE: not all browsers support the first method.

putImageData() using regular js array

putImageData() using native arrays