Mercurial > hg
comparison README @ 18736:af9ddea2cb99
util: add a timed function for use during development
I often want to measure the cost of a function call before/after
an optimization, where using top level "hg --time" timing introduces
enough other noise that I can't tell if my efforts are having an
effect.
This decorator allows a developer to measure a function's cost with
finer granularity.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Thu, 28 Feb 2013 13:11:42 -0800 |
parents | df5ecb813426 |
children | 4b0fc75f9403 |
comparison
equal
deleted
inserted
replaced
18735:716cad930691 | 18736:af9ddea2cb99 |
---|