fps calculator from javacodegeeks