()
| 33 | |
| 34 | |
| 35 | def test_csvpy_performance(): |
| 36 | command = ['csvpy', os.path.join('examples', 'iris.csv')] |
| 37 | start_time = timeit.default_timer() |
| 38 | for _ in range(num_repeats): |
| 39 | subprocess.run(command, stdout=subprocess.DEVNULL) # redirect output to DEVNULL as we don't want to print it |
| 40 | elapsed = timeit.default_timer() - start_time |
| 41 | print(f"CSVKit csvpy performance test elapsed time: {elapsed} seconds") |
| 42 | |
| 43 | |
| 44 | def test_csvsql_performance(): |