Tracking performance
Unity provides us with many tools that allow us to determine how well our game is running. The first we will be covering is readily available for both Unity Pro and Basic users. However, the information is rather limited, though still useful. The second is only available to Unity Pro users. It provides significantly more detail and information on performance. Finally, we will create our own tool, allowing us to view the performance of our scripts in detail.
Editor statistics
In the top-right of the Game window, there is a button labeled Stats. Clicking on this button will open a window, giving us information about how the game is running. There is little bit of information about how fast the game is running. Most of the information in this window concerns how well the game is being rendered, largely amounting to how many objects are currently on the screen, how many are animating, and how much memory they take up.
The various statistics in Unity Editor are explained as...