Organized into framerate() function so that we can invoke from command line or import into more complex tests
Print statistics (min, avg, max)