Benchmarks a file with time limits