[PATCH 4 of 4] profiling: Documenting new .hgrc options profiling.{output, format}

Nicolas Dumazet nicdumz at gmail.com
Thu Apr 2 04:31:47 CDT 2009


# HG changeset patch
# User Nicolas Dumazet <nicdumz.commits at gmail.com>
# Date 1238659936 -32400
# Node ID e104ad45db11b77843fbf4d0a7a2948c610d87f1
# Parent  d008597b912ba658d2044f2cac9b80777a914b98
profiling: Documenting new .hgrc options profiling.{output, format}

diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -538,6 +538,29 @@
     Optional. Directory or URL to use when pushing if no destination
     is specified.
 
+[[profiling]]
+profiling::
+  Specifies profiling format and file output.
+  format;;
+    Profiling format.
+    hotshot;;
+      Profile with hotshot.
+      When printing on stderr, a profiling report is printed.
+      When saving to a file, profiling data is saved in python 
+      pstats.Stats format.
+    kcachegrind;;
+      Use lsprof for profiling, and format collected profiling data for
+      kcachegrind.
+      When outputing to a file, kcachegrind can directly import the 
+      generated file.
+    lsprof;; 
+      Use lsprof for profiling, generates a text report.
+      When outputing to a file, the report is saved, not the profiling data.
+  output;;
+    File path where profiling data or profiling report should be saved.
+    If the file exists, it is erased.
+    Default: None, data is printed on stderr
+
 [[server]]
 server::
   Controls generic server settings.


More information about the Mercurial-devel mailing list