Pyro has builtin support for benchmarking functions using the
$ pyro time --help Usage: pyro time [files] This command runs benchmarking functions. Arguments: [files] Files to benchmark. Options: -n, --num-runs <int> Number of times to run each function. Flags: -h, --help Print this help text and exit.
For each input file specified, Pyro first executes the file, then runs any benchmarking functions it contains, i.e. functions whose names begin with
By default Pyro runs each benchmarking function 10 times, then prints the mean execution time. The number of iterations can be customized using the