This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
History
Date User Action Args
2017-06-07 08:14:50vstinnersetrecipients: + vstinner, tim.peters, georg.brandl, rhettinger, pitrou, steven.daprano, alex, r.david.murray, serhiy.storchaka
2017-06-07 08:14:50vstinnersetmessageid: <1496823290.68.0.327244228122.issue30080@psf.upfronthosting.co.za>
2017-06-07 08:14:50vstinnerlinkissue30080 messages
2017-06-07 08:14:50vstinnercreate