Troubleshooting performance issues: Difference between revisions

Jump to navigation Jump to search
m
(→‎Performance factors: info from http://forum.flightgear.org/viewtopic.php?f=37&t=23128&p=210273#p210271)
Line 88: Line 88:
== For the geeks out there ==
== For the geeks out there ==
=== FPS and frame spacing ===
=== FPS and frame spacing ===
Frames per second is an average by definition, and as such is not an optimal indicator of performance, because you could have half a second with 100 FPS and the other half with 0 FPS. You'd get a respectable 50 FPS but an unacceptable stutter of 0.5 seconds. A much better one is keeping track of the maximum frame spacing, that gives a measure in milliseconds of the worst performance during a fixed interval.
Frames per second is an average by definition, and as such is not an optimal indicator of performance, because you could have half a second with 100 FPS and the other half with 0 FPS. You'd get a respectable 50 FPS but an unacceptable stutter of 0.5 seconds. A much better one is keeping track of the maximum frame spacing (i.e. the delay/time needed to create new frames), that gives a measure in milliseconds of the worst performance during a fixed interval.


=== Tools for performance evaluation ===
=== Tools for performance evaluation ===

Navigation menu