A helper class for performance statistics