[PATCH 1 of 8 v3] mercurial: use timeit.default_timer for interval measurement

Bryan O'Sullivan bos at serpentine.com
Sun Feb 12 16:32:55 EST 2017


On Sun, Feb 12, 2017 at 12:16 AM, Simon Farnsworth <simonfar at fb.com> wrote:

> It ends up more complex than that, because Python 3.3 introduces
> time.perf_counter(), which ties into platform specific performance counters
> where available to get a very high resolution clock.
>

Ah yes. That looks cool.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170212/f004e95c/attachment.html>


More information about the Mercurial-devel mailing list