D7742: perf: fix the time measurement for pathcopies relative to p2
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Dec 27 17:02:27 EST 2019
Closed by commit rHGa2ad5aeedfdf: perf: fix the time measurement for pathcopies relative to p2 (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7742?vs=18958&id=18973
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7742/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7742
AFFECTED FILES
contrib/perf.py
CHANGE DETAILS
diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -2048,8 +2048,8 @@
data['p1.time'] = end - begin
begin = util.timer()
p2renames = copies.pathcopies(b, p2)
+ end = util.timer()
data['p2.time'] = end - begin
- end = util.timer()
data['p1.renamedfiles'] = len(p1renames)
data['p2.renamedfiles'] = len(p2renames)
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list