added benchmarking by iterations, file output has still to be done.