Index: [thread] [date] [subject] [author]
  From: WolfWings ShadowFlight <wolfwings@lightspeed.net>
  To  : ggi-develop@eskimo.com
  Date: Fri, 14 Aug 1998 05:23:26 -0700 (PDT)

RE: SVGAlib wrapper now actually works!

On Thu, 13 Aug 1998, Kostya Vasilyev wrote:

>15.8 fps == 63.29 ms per frame
>14.4 fps == 69.44 ms per frame
>diff.    ==  6.15 ms per frame
>
>or at 200 MHz it's 1.23 MILLION cycles.
>
>now let's re-do the math at higher fps:
>
>60 fps == 16.66 ms per frame
>+ 6.15 == 22.81 ms per frame
>which is  43.82 fps
>
>this is pretty significant loss of performance. 

That's a truly unfair measurement.

If the computer is sped up to reach 60fps, the performance loss will be
proportional, not fixed as you calculated it. Using bc:
14.4/15.8 (To calculate the percentage difference)
0.911329240506392113924
Now, taking that figure (I'll keep using 14.4/15.8) and multiplying that
times 60.0 fps, bc gives me:
54.68354430379746835440
Which, when one looks at it, is a very reasonable performance loss indeed.
Not quite a 9% loss, and at 60fps it only reduced things to around
54.68fps, not all the way down to 43.82fps, I'm sorry. :-)
             _
     _     _|_  WolfWings ShadowFlight
| | | | | | | | wolfwings@lightspeed.net
| | | | | | | | "Love is a bird,
|_|_| |_|_| | |  She needs to fly...
 _           /   Let all the hurt,
 \-.______,-'    Inside of you die..." - Madonna, Frozen

Index: [thread] [date] [subject] [author]