Strange behavior with google chrome and FPS

Viewed 4919

I have coded a little engine to display 5 sprites using javascript in Canvas2D. Everything works fine and is completely optimised.

The FPS fluctuates between 30 and 60 - but the interesting thing is, it says on a constant 60 fps when the google javascript console is open!

Any body else experiencing this?

n.b. I am using requestAnimationFrame

Edit:

Example: http://jsfiddle.net/jrPNy/1

Play Around with the "Particles" Number so your fps is around 40-50. Than open the console, and it goes up to 60 fps. (Chrome 21.0.1180.83)

3 Answers
Related