This is an archive of the discontinued Mercurial Phabricator instance.

perfdiscovery: benching findcommonheads()
ClosedPublic

Authored by gracinet on Dec 13 2018, 12:20 PM.

Details

Summary

This works between the local repo and any peer given by its path, and
should be useful for further work on discovery

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

gracinet created this revision.Dec 13 2018, 12:20 PM
pulkit added a subscriber: pulkit.Dec 13 2018, 12:34 PM

Looks like it does not support specifying paths stored in [paths] config, like hg perfdiscovery default says 'repository default not found'.

@pulkit indeed, I didn't think of that, seems like a good idea, thanks.
I wouldn't go as far as putting path=default by default, though, so that users don't start hammering providers unwillingly.

gracinet updated this revision to Diff 12837.Dec 14 2018, 5:59 AM
pulkit accepted this revision.Dec 14 2018, 10:38 AM
This revision was automatically updated to reflect the committed changes.