diff mercurial/profiling.py @ 40524:25732c5678bc

ui: wrap whole _write() block with timeblockedsection I think the cost of color labeling is negligible compared to the I/O syscalls. Let's simply wrap the whole write() function so that we can eliminate _write() and _write_err() in later changeset.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 03 Nov 2018 17:47:23 +0900
parents 89703e6151e7
children 0ae593e791fb
line wrap: on
line diff