[PATCH 1 of 8 v4] mercurial: use best available timer for perf measurements

Bryan O'Sullivan bos at serpentine.com
Thu Feb 16 13:48:12 EST 2017


On Thu, Feb 16, 2017 at 10:35 AM, Martin von Zweigbergk via Mercurial-devel
<mercurial-devel at mercurial-scm.org> wrote:

> As discussed on #mercurial, Augie and I find "timer" confusing,
> because it sounds like it returns a timer object, but in fact it just
> returns a time. Can we have a followup patch that renames it to e.g.
> perftime()?
>

If we're gonna bikeshed, it should be called time, because that's what it
really emulates :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170216/6cb3f550/attachment.html>


More information about the Mercurial-devel mailing list