Tuesday, November 27, 2012

Improving performance – never underestimate copy and paste | Adventures (in code)

Improving <canvas> performance – never underestimate copy and paste | Adventures (in code): "Still not good enough

It was an improvement, but I was still looking at around 12fps in Chrome- not bad, but not ideal. With the getImageData() parts optimised as best I could manage, I looked at the next big drain- the initial drawing of blurred data points. Problem #2: what can I do that is any simpler than drawing a circle? Surprise #2: I can just copy and paste the same circle over and over."

'via Blog this'