( )⚙ D5529 progress: split up _print() method in bar-updating and debug-printing

This is an archive of the discontinued Mercurial Phabricator instance.

progress: split up _print() method in bar-updating and debug-printing
ClosedPublic

Authored by martinvonz on Jan 8 2019, 1:10 PM.

Details

Summary

I just thought this was clearer, but it turned out to also simplify
the next patch.

This seems to have sped up hg perfprogress from 1.85 s to 1.78 s.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped