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

login
register
mail settings
Submitter Mads Kiilerich
Date Jan. 29, 2013, 5:04 p.m.
Message ID <5af8588d1a8f449ab5d2.1359479091@mk-desktop>
Download mbox | patch
Permalink /patch/756/
State Accepted
Commit 68eecbaf1bd32a616748331cc9f22d55b1316ce3
Headers show

Comments

Mads Kiilerich - Jan. 29, 2013, 5:04 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1359478613 -3600
# Branch stable
# Node ID 5af8588d1a8f449ab5d22e38ac745c3021428f3a
# Parent  a58d8936647aa270854cd919fe8e8b2da1c1c669
profiling: add documentation of lsprof 'sort' and 'nested'

Patch

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``
 ---------------