search-discovery-case: display more information about the interresting case
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 13 Mar 2022 16:10:53 +0100
changeset 49016 a2bd6b23881d
parent 49015 3f6ddb1c193b
child 49017 f054a557aab8
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
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):