News for hackers. Stuff that matters.
Re:Canvas vs SVG performance on iPad by ck2 on Tuesday March 08, 2011 @01:15PM (#2301920)
When I update to setZeroTimeout in those canvas vs svg demos, the drawing is so fast there is horizontal tearing and the frame rates are in the thousands.

Which means the FPS with setInterval is actually measuring how long it takes setInterval to fire, not how long it's taking to draw under the different methods.

Re:Canvas vs SVG performance on iPad by seanalltogether on Tuesday March 08, 2011 @03:41PM (#2302515)
But that's a feature you don't really want. You're blowing away your cpu on something that can only display 60 times a second.
Re:Canvas vs SVG performance on iPad by ck2 on Wednesday March 09, 2011 @10:48AM (#2305169)
The code in question is a benchmark of how fast two different render APIs work. The only way to do that reliably is to take the question of the timer firing rate out of the equation. I doubt you'd use setZeroTimeout in most realworld environments.
Re:Canvas vs SVG performance on iPad by hertog on Tuesday March 08, 2011 @03:07PM (#2302396)
Very interesting. Do you think it will make a difference on mobile devices?