Skip to content
Snippets Groups Projects
Commit 8c990011 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

profiling: document the py-spy value for `profiling.type`

The feature was not visible otherwise.
parent 51235f6a
No related branches found
No related tags found
3 merge requests!1041Merge default into stable,!997tests: use shlex.quote instead of pipes.quote,!946profiling: document the py-spy value for `profiling.type`
......@@ -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.
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment