March 2011
2 posts
Canvas vs Canvas vs SVG performance on iPad
Last week I created two simple tests to get some insights on the performance of Canvas and SVG on iDevices. The test is a blue square bouncing from left to right and back again, it’s repositioned every frame. The faster a browser can render a frame, the better the performance is on the device. Well.. at least in this particular case.
In the Canvas test, the scene is cleared (by using...
Canvas vs SVG performance on iPad
I’m doing a bit of HTML5 performance testing, specifically on the iPhone and iPad. When doing interactive stuff, it seems that most of the resources are used for updating the scene (clearing and drawing), and not so much by doing calculations in JavaScript.
I created two very simple tests to see if the performance is different using Canvas or SVG. It’s a fabulous blue cube bouncing up...