changeset 40969:74ee5ff1e81c

perf: report more of the higher range in perfrevlogwrite Since the delta chain length is limited to 1000 revisions, we get a new snapshot about every 1000 revisions. If we assume that the snapshot will be most of the slowest revision, the current display (99% and max) are not very precise in their area. We now include more information about this space in the default report.
author Boris Feld <boris.feld@octobus.net>
date Thu, 06 Dec 2018 10:38:30 +0100
parents f6187e60f792
children f960c51eebf3
files contrib/perf.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/perf.py	Fri Dec 14 13:44:46 2018 -0800
+++ b/contrib/perf.py	Thu Dec 06 10:38:30 2018 +0100
@@ -1797,6 +1797,9 @@
         ("90%", resultcount * 90 // 100),
         ("95%", resultcount * 95 // 100),
         ("99%", resultcount * 99 // 100),
+        ("99.9%", resultcount * 999 // 1000),
+        ("99.99%", resultcount * 9999 // 10000),
+        ("99.999%", resultcount * 99999 // 100000),
         ("max", -1),
     ]
     if not ui.quiet: