Message291736
One of the most used by me option of the "perf timeit" subcommand is --duplicate. It duplicates statements to reduce the overhead of the loop. This is necessary when measure the time of very fast statements. Proposed patch adds this option for CLI of the timeit module.
Similar feature already was proposed in issue21988, but it automatically duplicated statements if they executed too fast. This patch does this only on explicit request. And it affects only command-line interface. You need to duplicate statements manually when use programming interface. |
|
Date |
User |
Action |
Args |
2017-04-16 06:12:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, tim.peters, arigo, georg.brandl, rhettinger, pitrou, vstinner, steven.daprano, alex, r.david.murray, Guido.van.Rossum |
2017-04-16 06:12:44 | serhiy.storchaka | set | messageid: <1492323164.81.0.971695586502.issue30080@psf.upfronthosting.co.za> |
2017-04-16 06:12:44 | serhiy.storchaka | link | issue30080 messages |
2017-04-16 06:12:44 | serhiy.storchaka | create | |
|