Changed debug optimization level and moved clock() statements inside the loops.