# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1534549478 -7200
#      Sat Aug 18 01:44:38 2018 +0200
# Node ID db0dba2d157da7be9ef9364d9562f36da956af70
# Parent  4ab6e7b4fe8ac60873b4eeb3d26a5efd0e38b204
profiling: move default mode to "real" time

Mercurial operations involve a lot of disks or network access. These impact
command runtime significantly and it seems important to report them in our
default profiling output.

Having the right default means that we don't forget them when asking people to
produces profiling traces or when doing profiling ourselves.

Moving to "real time" by default will remove the need to think about
activating it on most occasions. The "CPU" time-based profiling is still
accessible when necessary.

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -923,7 +923,7 @@
     default='hotpath',
 )
 coreconfigitem('profiling', 'time-track',
-    default='cpu',
+    default='real',
 )
 coreconfigitem('profiling', 'type',
     default='stat',