HomePhabricator

profiling: flush stdout before writing profile to stderr

Authored by spectral.

Description

profiling: flush stdout before writing profile to stderr

On py3, stdout and stderr appear to be buffered and this causes my command's
output to be intermixed with the profiling output.

Differential Revision: https://phab.mercurial-scm.org/D8024

Details

Committed
spectralJan 27 2020, 9:16 PM
Differential Revision
D8024: profiling: flush stdout before writing profile to stderr
Parents
rHG732098027b34: rust: re-format with nightly rustfmt
Branches
Unknown
Tags
Unknown