To open the Profiler window in Unity Editor, follow these steps:
Ensure that the recording window is selected, and verify that the recording button is displaying a red color.
Click "Play" in Unity Editor if you are conducting editor profiling. Launch the application if you are conducting device profiling.
The Profiler records multiple areas of your application’s performance, and displays that information to you. You can use this information to make informed decisions about what you might need to optimize in your application, and to confirm that your optimizations produce the results you expect.
Search for spikes in the chart.