Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 49390:362c0026a977 stable
debug-discovery: also gather details on tree-discovery queries type
This is useful to understand the algorithm.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Jul 2022 10:04:06 +0200 |
parents | a1bb21542ab0 |
children | 236702592ff0 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Tue Jul 26 04:56:29 2022 +0200 +++ b/mercurial/debugcommands.py Tue Jul 26 10:04:06 2022 +0200 @@ -1379,6 +1379,10 @@ fm.plain(b"elapsed time: %(elapsed)f seconds\n" % data) fm.plain(b"round-trips: %(total-roundtrips)9d\n" % data) fm.plain(b"queries: %(total-queries)9d\n" % data) + if b'total-queries-branches' in data: + fm.plain(b" queries-branches: %(total-queries-branches)9d\n" % data) + if b'total-queries-between' in data: + fm.plain(b" queries-between: %(total-queries-between)9d\n" % data) fm.plain(b"heads summary:\n") fm.plain(b" total common heads: %(nb-common-heads)9d\n" % data) fm.plain(b" also local heads: %(nb-common-heads-local)9d\n" % data)