Added benchmark for loop