This is an archive of the discontinued Mercurial Phabricator instance.

ui: Improve performance for multi-component writes
ClosedPublic

Authored by joerg.sonnenberger on Jan 25 2018, 2:01 PM.

Details

Summary

It is more efficient to pass down one large string to the output streams
than many small ones. For a `hg diff` test case, it improves time from
2m26s to 2m8s.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja accepted this revision.Feb 3 2018, 2:55 AM
This revision is now accepted and ready to land.Feb 3 2018, 2:55 AM
This revision was automatically updated to reflect the committed changes.