durin42 added a comment.
> Per my comment in https://phab.mercurial-scm.org/D4342
https://phab.mercurial-scm.org/D4342, I think we should consider recording the
timing from here so times aren't skewed due to the presence of pipe I/O. That
will introduce some overhead in the traced process.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG284440041141: tracing: new module to make tracing events in
hg easier (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
indygreg added inline comments.
INLINE COMMENTS
> tracing.py:31-34
> +_pipe.write('START %s %s\n' % (_session, whence))
> +yield
> +finally:
> +_pipe.write('END %s %s\n' % (_session, whence))
Per my comment in https://phab.mercurial-scm.org/D4342, I think we should
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This lives in hgdemandimport because I want to instrument a bunch of
low-level stuff including the bare `hg` script and demandimport, so it
can't live at a