The profiler is a Unity Pro feature. It's a great help when optimizing your game. It can report the amount of time spent for rendering, animating, or code processing.
Open the profiler window by navigating to Window | Profiler. The following window appears (yours will be empty):
Here's an explanation of the most important functions of the Profiler window:
Record: This enables or disables frame data recording.
Deep Profile: This records information for all scripts, giving your more script details for each frame. With it enabled, you'll have a deeper hierarchy of analyzed elements and know which method took how much of the processing time. Enabling it at runtime will prompt the game to restart—it's recommended that you enable or disable this feature while the game isn't running.
Profile Editor: Enabling this will let the profiler run even out of play mode.
Active Profiler: This displays the profiler for either the editor or the connected...