# HG changeset patch # User Pierre-Yves David # Date 2022-03-13 15:10:53 # 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 --git a/contrib/perf-utils/search-discovery-case b/contrib/perf-utils/search-discovery-case --- a/contrib/perf-utils/search-discovery-case +++ b/contrib/perf-utils/search-discovery-case @@ -147,13 +147,23 @@ def interesting_boundary(res): 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):