This is an archive of the discontinued Mercurial Phabricator instance.

profiling: flush stdout before writing profile to stderr
ClosedPublic

Authored by spectral on Jan 27 2020, 9:44 PM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

spectral created this revision.Jan 27 2020, 9:44 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.