how do i turn on an fps counter without an external program?

also why do i have to compile the shaders after i already compiled them on my last launch?