Implement benchmark result as a class