changegroup: don't try to prune manifest nodes if not ellipses
ClosedPublic

Authored by pulkit on Thu, Jan 31, 12:13 PM.

Details

Summary

In non-ellipses case, the number of manifest nodes can be very big, and finding
whether one of them can be pruned or not is very costly. For each node, we try
to find the rev and the linkrev, which is expensive.

Sending bit more manifest nodes seems better and much faster here. On our
internal repository, this saves around 5 seconds on `hg tracked --addinclude
<some_path>` on a narrow repo with ellipses disabled.

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.
pulkit created this revision.Thu, Jan 31, 12:13 PM
This revision was automatically updated to reflect the committed changes.