this is a simple tutorial on how-2-make a fps counter! Click for next!
This works because fps stands for frames per second, and the number of frames is determined by how many times the main script runs, which equals to how many frames there are. So, waiting one second before looking at how many times the main script ran and setting it to the fps could determine the fps!