Improve benchmark

I have made benchmark to write its results into a CSV file.