This is an archive of the discontinued Mercurial Phabricator instance.

fbsparse: use unfiltered repo in many places
ClosedPublic

Authored by durham on Nov 16 2017, 6:10 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGXc5b251e080ca: fbsparse: use unfiltered repo in many places
Summary

Computing the hidden commits was showing up as a hot spot in hg status because
hg sparse was accessing the changelog through a filtered repo. This probably
affects many other commands since sparse touches so many places. Since it has no
need to use a filtered repo, let's just have it use unfiltered.

This shaved off 25-30% of the hg status time in some circumstances.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durham created this revision.Nov 16 2017, 6:10 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 16 2017, 6:10 PM
quark accepted this revision.Nov 17 2017, 11:44 PM
This revision is now accepted and ready to land.Nov 17 2017, 11:44 PM
This revision was automatically updated to reflect the committed changes.