[PATCH 1 of 3 stable] profiling: add documentation of lsprof 'sort' and 'nested'

Mads Kiilerich mads at kiilerich.com
Tue Jan 29 11:04:51 CST 2013


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1359478613 -3600
# Branch stable
# Node ID 5af8588d1a8f449ab5d22e38ac745c3021428f3a
# Parent  a58d8936647aa270854cd919fe8e8b2da1c1c669
profiling: add documentation of lsprof 'sort' and 'nested'

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -990,6 +990,19 @@
     file exists, it is replaced. Default: None, data is printed on
     stderr
 
+``sort``
+    Sort field.  Specific to the ``ls`` instrumenting profiler.
+    One of ``callcount``, ``reccallcount``, ``totaltime`` and
+    ``inlinetime``.
+    Default: inlinetime.
+
+``nested``
+    Show at most this number of lines of drill-down info in-line after each
+    main entry. This can help explain the difference between Total and Inline.
+    These subordinate lines are indicated with ``+``.
+    Specific to the ``ls`` instrumenting profiler.
+    Default: 5.
+
 ``revsetalias``
 ---------------
 


More information about the Mercurial-devel mailing list