Added debug output for benchmarking