Stable FPS Test

June 2nd, 2006

I tried one more time to get a stable frameRate in browser enviroment and an old workaround works fine for me now (flash9player tested).

 
//-- pseudo code
lastExitFrameMillis: int
 
function init(): void
{
	lastExitFrameMillis = getTimer();
	frameRate = 200;
}
 
function onEnterFrameLoop( event: Event ): void
{
	// execute code
	// [...]
 
	while( getTimer() - lastExitFrameMillis < 20 ){};
 
	lastExitFrameMillis = getTimer();
}
 

My results:
IE6.0 = 49 FPS
FireFox 1.5.0.3 = 47 FPS

Please test with your system and post you results

Filed under: +

26 Responses to “Stable FPS Test”

  1. Cédric Néhémie Says:
    June 2nd, 2006 at 10:30 am

    FireFox 1.5.0.4 and XP Pro SP2 : 47 FPS

  2. aSH Says:
    June 2nd, 2006 at 10:38 am

    FireFox 1.5.0.4 = 48 FPS

  3. Quentin Says:
    June 2nd, 2006 at 10:52 am

    Firefox 1.5.0.3 &gt; 40 FPS
    IE 6.0 &gt; 49 FPS…

  4. Brajeshwar Says:
    June 2nd, 2006 at 10:57 am

    Firefox 1.5.0.4 = 45 FPS
    Opera 8.54 = 46 FPS

  5. wish Says:
    June 2nd, 2006 at 10:57 am

    IE6.0 = 49 FPS

  6. Carlos Rovira Says:
    June 2nd, 2006 at 11:34 am

    FireFox 1.5.0.4 = 49-50 FPS

  7. magicwind Says:
    June 2nd, 2006 at 1:34 pm

    IE 6 = 47
    FF 1.5 = 44

  8. joa Says:
    June 2nd, 2006 at 1:40 pm

    As already told, Firefox and IE at 49fps

  9. Jon B Says:
    June 2nd, 2006 at 1:41 pm

    FireFox 1.5.0.3 = 49 (max and most often, although it did dip in places very briefly)

    If it makes a difference my set up is a 1.3ghz pentium 4 from the old days.

  10. JesterXL Says:
    June 2nd, 2006 at 1:48 pm

    Windows XP, FireFox 1.5.0.4 = 45/46 FPS

  11. André Michelle Says:
    June 2nd, 2006 at 2:07 pm

    Seems, that this workaround is usable. How cool would that be ?

  12. Ash Says:
    June 2nd, 2006 at 2:23 pm

    I’d be interested to know what affect putting a looping sound on the root timeline would have on this (if any!)

  13. André Michelle Says:
    June 2nd, 2006 at 2:28 pm

    @ash: I tried this a long time before (flash6) and the playback was very chunky when the movies sucks some performance from the processor. I cannot believe, that this will be better now. try out !

  14. Philip "pips" Seyfi Says:
    June 2nd, 2006 at 3:37 pm

    Opera 9 – 47fps

    P.S.: Good work ;)

  15. J Says:
    June 2nd, 2006 at 3:58 pm

    FireFox 1.5.0.4 = 48 FPS

  16. JabbyPanda Says:
    June 2nd, 2006 at 4:35 pm

    IE 6= 47-48
    FF 1.5.0.3= 44-48

    Frame rate depends on intensivity of number of user interactions with balls at the stage.

  17. sw Says:
    June 2nd, 2006 at 4:47 pm

    Mac OS X 10.4.6
    PPC G5 1.8
    Flash Player 9.0b

    FPS at standstill:
    FireFox 1.5.0.3/4 = 38-40
    Safari 2.0.3 = 49-50

    PS – In Safari click’n anywhere (non-link) in the content area of this page opened the test movie page. I couldn’t use the comment form until I switched to FF.

  18. Miha L Says:
    June 2nd, 2006 at 8:41 pm

    WinXP SP2
    Athlon XP 1600+
    Firefox 1.5.0.4 = ~48fps (from the lowest 41 to highest 49, but idling at 48)

  19. ym Says:
    June 2nd, 2006 at 8:53 pm

    Yes, runs at a stable 49 for me to, firefox and ie. If I try the other example with the ability to change framerate and set it to max, it runs at ~480 :)

    Really nice work btw(as always).

  20. q3korea Says:
    June 3rd, 2006 at 1:00 am

    Windows XP SP1
    P4 – 2.6Ghz

    IE 6.0 = 50 FPS
    Mozilla 1.7.13 = 49 FPS
    FireFox 1.5.0.4 = 46 FPS

    good job André Michelle :)

  21. j Says:
    June 3rd, 2006 at 9:07 am

    P4/1.8Ghz
    Firefox 1.5.0.4

    It runs smoothly though the firefox cpu usage goes way up over 50%. Maybe this is the price we have to pay.

  22. j Says:
    June 3rd, 2006 at 9:08 am

    Oh, I forgot to mention the 49 fps :)

  23. Hannes Moser Says:
    June 6th, 2006 at 1:10 pm

    http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html

  24. don Says:
    June 7th, 2006 at 12:02 pm

    PIV 3.40GHz WinXP SP2 1GB

    FF 1.5.0.4
    45-50fps

  25. jg Says:
    June 30th, 2006 at 11:25 pm

    Wow, I just did the test on the new Intel Mac Beta player and it runs with 50 fps in Safari. Firefox (1.5.0.4) does 45fps but that browser is crap on the Mac anyway.

  26. Jonnie Says:
    July 12th, 2007 at 7:15 pm

    could you fix the broken link for the source? Thanks!

Leave a Reply