- Home /
Statistics window FPS is not consistent with computed FPS
Hi !
I am displaying the fps with a code snippet from the wiki (using Time.deltaTime) and I also display the statistics windows in the game viewport.
There is always a big difference between the two displayed FPS. For example, with a small texture upload for a plugin, Time.deltaTime gives me 64fps and the statistic window gives me 110fps.
Why is there such a difference and which one should I trust ? Thanks.
(As the computed fps (with Time.deltaTime) can also be displayed when the application is built and run outside the editor I suppose I should trust it but I still don't know shy is there such a difference)
Answer by yoyo · Apr 26, 2011 at 03:35 PM
The stats window tries to predict what your actual frame rate will be in your final build, by ignoring some of the overhead of other editor operations. Using your own fps counter is a good idea, but your frame rate will be lower in the editor than in an actual build, so be sure to test both.
See this question for more info.
Your answer

Follow this Question
Related Questions
iPhone4 statistics 0 Answers
Low framerate when everything in hierarchy disabled / Statistics bug? 1 Answer
What could possibly be wrong with this simplest-possible FPS counter? 1 Answer
Getting ONLY 5 FPS on an empty scene when building it to android. 0 Answers
Storing item information in a game 1 Answer