updated loop benchmark