Logging benchmarks to file