Message291736
| Author |
serhiy.storchaka |
| Recipients |
Guido.van.Rossum, alex, arigo, georg.brandl, gvanrossum, pitrou, r.david.murray, rhettinger, serhiy.storchaka, steven.daprano, tim.peters, vstinner |
| Date |
2017年04月16日.06:12:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1492323164.81.0.971695586502.issue30080@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|