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
--- 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):