[Python-ideas] time.wallclock() or other similar stuff

Rob Cliffe rob.cliffe at btinternet.com
Wed Nov 3 12:28:51 CET 2010



On 03/11/2010 02:41, Michael Foord wrote:
>
>
> On 2 November 2010 22:17, Nick Coghlan <ncoghlan at gmail.com 
> <mailto:ncoghlan at gmail.com>> wrote:
>
>     2010/11/2 M.-A. Lemburg <mal at egenix.com <mailto:mal at egenix.com>>:
>     > You might want to look at the systimes.py module that comes with
>     pybench
>     > (see Tools/pybench). This already provides a cross-platform way of
>     > accessing high accuracy timers for benchmarking and the like.
>     >
>     > For obvious reasons this tries to measure run-time, though, and not
>     > elapsed time.
>
>     I think MAL answered the naming question without even realising it:
>
>     time.elapsed_time(start_time=0)
>
>
>
> I'm +1 on the functionality and either elapsed_time or wallclock is 
> fine with me.
>
> Perhaps the patch author should decide...
>
> Michael
>
elapsed_time!  Please!  Hate wallclock.
Rob Cliffe
>
>
>     Cheers,
>     Nick.
>
>     --
>     Nick Coghlan   | ncoghlan at gmail.com <mailto:ncoghlan at gmail.com>  
>     |   Brisbane, Australia
>     _______________________________________________
>     Python-ideas mailing list
>     Python-ideas at python.org <mailto:Python-ideas at python.org>
>     http://mail.python.org/mailman/listinfo/python-ideas
>
>
>
>
> -- 
> http://www.voidspace.org.uk
>
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20101103/55595ab1/attachment.html>


More information about the Python-ideas mailing list