# HG changeset patch # User Pierre-Yves David # Date 1647184253 -3600 # Node ID a2bd6b23881dfb7500a0309c527327a9336b4163 # Parent 3f6ddb1c193b6714533c57c12f8a8ef45d8d6f13 search-discovery-case: display more information about the interresting case We display information about the total number of revs and the common/missing numbers. This is useful to spot the interresting case. Differential Revision: https://phab.mercurial-scm.org/D12397 diff -r 3f6ddb1c193b -r a2bd6b23881d contrib/perf-utils/search-discovery-case --- a/contrib/perf-utils/search-discovery-case Mon Mar 21 20:06:51 2022 +0100 +++ b/contrib/perf-utils/search-discovery-case Sun Mar 13 16:10:53 2022 +0100 @@ -147,13 +147,23 @@ roundtrips = res["total-roundtrips"] if roundtrips <= 1: return None + total_revs = res["nb-revs"] + common_revs = res["nb-revs-common"] + missing_revs = res["nb-revs-missing"] undecided_common = res["nb-ini_und-common"] undecided_missing = res["nb-ini_und-missing"] if undecided_common == 0: return None if undecided_missing == 0: return None - return (roundtrips, undecided_common, undecided_missing) + return ( + roundtrips, + undecided_common, + undecided_missing, + total_revs, + common_revs, + missing_revs, + ) def end(*args, **kwargs):