Message295317
| Author |
vstinner |
| Recipients |
alex, georg.brandl, pitrou, r.david.murray, rhettinger, serhiy.storchaka, steven.daprano, tim.peters, vstinner |
| Date |
2017年06月07日.08:14:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1496823290.68.0.327244228122.issue30080@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
About the command line interface, I would expect that "timeit -n 10 --duplicate 10 STMT" would run STMT 100 times. I chose this behaviour in perf timeit:
http://perf.readthedocs.io/en/latest/cli.html#timeit-cmd
Current behaviour chosen by Serhiy, -n3 --duplicate=3 runs STMT 3 times:
$ ./python -m timeit --duplicate=3 -r 1 -n 3 'print("bla")'
bla
bla
bla
3 loops, best of 1: 21.8 usec per loop |
|