# HG changeset patch # User Pierre-Yves David # Date 1725462538 -7200 # Node ID 8c990011c804a7ff41c8121ae362b7331e57fb0a # Parent 51235f6aa067ec3dd7494293bb1a0d69081712dc profiling: document the py-spy value for `profiling.type` The feature was not visible otherwise. diff -r 51235f6aa067 -r 8c990011c804 mercurial/helptext/config.txt --- a/mercurial/helptext/config.txt Thu Sep 19 18:49:04 2024 -0400 +++ b/mercurial/helptext/config.txt Wed Sep 04 17:08:58 2024 +0200 @@ -2046,6 +2046,9 @@ Use a statistical profiler, statprof. This profiler is most useful for profiling commands that run for longer than about 0.1 seconds. + ``py-spy`` + use the py-spy profiler. A external py-spy executable must be available. + (Make sure to check `profiling.output` config to write the result.) ``format`` Profiling format. Specific to the ``ls`` instrumenting profiler. diff -r 51235f6aa067 -r 8c990011c804 tests/test-help.t --- a/tests/test-help.t Thu Sep 19 18:49:04 2024 -0400 +++ b/tests/test-help.t Wed Sep 04 17:08:58 2024 +0200 @@ -1605,7 +1605,7 @@ ("profiling.type"[break]"ls"[break]"stat"[break]) $ hg help config.type | grep -E '^$'|wc -l - \s*3 (re) + \s*4 (re) $ hg help config.profiling.type.ls "profiling.type.ls"