copytrace: log domergecopies time

Summary:
I found this very slow. Log it so we can have some ideas about how long it
takes for others.

Reviewed By: xavierd

Differential Revision: D17066510

fbshipit-source-id: 3f9de9b816bcd2d062beb44bc03ea4114d829596
This commit is contained in:
Jun Wu 2019-09-04 13:35:47 -07:00 committed by Facebook Github Bot
parent 925ef09146
commit c637c9d08c

View File

@ -314,6 +314,7 @@ def _mergecopies(orig, repo, cdst, csrc, base):
)
@util.timefunction("mergecopies")
def _domergecopies(orig, repo, cdst, csrc, base):
""" Fast copytracing using filename heuristics