D1721: debug: customizable timestamp when printing ui.debug text

2017-12-19 Thread spectral (Kyle Lippincott)
spectral added a comment. I'm not going to recommend to users to "see if you can reproduce the slowness issues while running with `PYTHONUNBUFFERED=1 /usr/bin/hg --debug | ruby -e'start = Time.now.to_f' -e'STDIN.each_line do |l|' -e" puts \"#{'%.3f' % (Time.now.to_f - start)} #{l}\""

D1721: debug: customizable timestamp when printing ui.debug text

2017-12-19 Thread spectral (Kyle Lippincott)
spectral added a comment. https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-April/096617.html is the mailing list thread. Sounds like core is generally negative on the idea, which is disappointing, but OK.I can drop it easily :) REPOSITORY rHG Mercurial REVISION DETAIL

D1721: debug: customizable timestamp when printing ui.debug text

2017-12-19 Thread spectral (Kyle Lippincott)
spectral added a comment. Someone pointed me at https://bitbucket.org/octobus/mercurial-devel/commits/668806cb43a0 and mentioned discussions on the devel mailing list that I haven't tracked down yet. Theirs is more complete and probably better than mine, so it would be nice to unify them

D1721: debug: customizable timestamp when printing ui.debug text

2017-12-18 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Sometimes users report "X is slow", where X is usually something that has some debug output, like `hg push`. Having timestamps as part of the ui.debug() output