Message158187
| Author |
vstinner |
| Recipients |
lemburg, neologix, vstinner |
| Date |
2012年04月12日.23:49:36 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334274577.83.0.731550571507.issue14428@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
perf_counter_process_time.patch: replace "time.clock if windows else time.time" with time.perf_counter, and getrusage/clock with time.process_time.
pybench and timeit now use time.perf_counter() by default. profile uses time.proces_time() by default.
pybench uses time.get_clock_info() to display the precision and the underlying C function (or the resolution if the precision is not available).
Tools/pybench/systimes.py and Tools/pybench/clockres.py may be removed: these features are now available directly in the time module. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月12日 23:49:37 | vstinner | set | recipients:
+ vstinner, lemburg, neologix |
| 2012年04月12日 23:49:37 | vstinner | set | messageid: <1334274577.83.0.731550571507.issue14428@psf.upfronthosting.co.za> |
| 2012年04月12日 23:49:37 | vstinner | link | issue14428 messages |
| 2012年04月12日 23:49:37 | vstinner | create |
|