Show More
@@ -821,15 +821,15 b' class ui(object):' | |||||
821 | self._write(*msgs, **opts) |
|
821 | self._write(*msgs, **opts) | |
822 |
|
822 | |||
823 | def _write(self, *msgs, **opts): |
|
823 | def _write(self, *msgs, **opts): | |
824 |
|
|
824 | self._progclear() | |
825 |
|
|
825 | # opencode timeblockedsection because this is a critical path | |
826 |
|
|
826 | starttime = util.timer() | |
827 |
|
|
827 | try: | |
828 |
|
|
828 | for a in msgs: | |
829 |
|
|
829 | self.fout.write(a) | |
830 |
|
|
830 | finally: | |
831 |
|
|
831 | self._blockedtimes['stdio_blocked'] += \ | |
832 |
|
|
832 | (util.timer() - starttime) * 1000 | |
833 |
|
833 | |||
834 | def write_err(self, *args, **opts): |
|
834 | def write_err(self, *args, **opts): | |
835 | self._progclear() |
|
835 | self._progclear() |
General Comments 0
You need to be logged in to leave comments.
Login now