How to remove "PROFILING..." debug text

Click the dropdown arrow next to Perspective in the viewport, go to Stat → Hide All.