D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-09-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5e78c100a215: hg: wrap the highest layer in the `hg` script possible in trace event (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-09-11 Thread durin42 (Augie Fackler)
durin42 added a comment. I think this is ready? Do I owe you anything else on it? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4346 To: durin42, #hg-reviewers, indygreg Cc: indygreg, mercurial-devel ___

D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-08-28 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 10620. durin42 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4346?vs=10496=10620 REVISION DETAIL https://phab.mercurial-scm.org/D4346 AFFECTED FILES hg CHANGE DETAILS diff

D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-08-24 Thread indygreg (Gregory Szorc)
indygreg requested changes to this revision. indygreg added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > hg:23-30 > +libdir = '@LIBDIR@' > > -if libdir != '@' 'LIBDIR' '@': > -if not os.path.isabs(libdir): > -libdir =

D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-08-21 Thread indygreg (Gregory Szorc)
indygreg added inline comments. INLINE COMMENTS > hg:14-21 > +from hgdemandimport import tracing > +with tracing.log('hg script'): > +if os.environ.get('HGUNICODEPEDANTRY', False): > +try: > +reload(sys) > +sys.setdefaultencoding("undefined") > +except

D4346: hg: wrap the highest layer in the `hg` script possible in trace event

2018-08-21 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This should help us have a better idea of what "interpreter startup costs" look like. REPOSITORY rHG Mercurial REVISION DETAIL