Skip to content

Time utilities

Federica Di Lauro edited this page Nov 2, 2023 · 1 revision

The time_statistics.py script calculates the total and avg time for execution of each algorithm.

usage: time_statistics.py [-h] [--write_csv WRITE_CSV] [--features]
                          input_dir [benchmark_dir]

Compute time statistics

positional arguments:
  input_dir             Directory where the result files are located
  benchmark_dir         Benchmark txt problems location

optional arguments:
  -h, --help            show this help message and exit
  --write_csv WRITE_CSV
                        Dump table to csv
  --features            Specify this flag if the algorithm was only used for
                        feature extraction