Mercurial > hg
comparison mercurial/help/config.txt @ 32851:cb6436e051ca
profiling: allow configuring minimum display threshold for hotpath
statprof.display_hotpath() accepts a "limit" function to choose the
minimum threshold for samples to display. The default is 0.05, which
means you don't need individual items contributing less than 5%.
I had a need to adjust this threshold. We already have a config
option for it. So let's reuse it.
check-config.py doesn't like having multiple defaults for the
ui.configwith() calls. The behavior is obviously correct. I'm
not sure if it is worth teaching check-config.py how to ignore
this. So I've just accepted the new output.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 15 Jun 2017 11:10:51 -0700 |
parents | e33c9a47b0db |
children | 9fcb6df413c9 |
comparison
equal
deleted
inserted
replaced
32850:e33c9a47b0db | 32851:cb6436e051ca |
---|---|
1578 Can be specified as a float between ``0.0`` and ``1.0`` or can have a | 1578 Can be specified as a float between ``0.0`` and ``1.0`` or can have a |
1579 ``%`` afterwards to allow values up to ``100``. e.g. ``5%``. | 1579 ``%`` afterwards to allow values up to ``100``. e.g. ``5%``. |
1580 | 1580 |
1581 Only used by the ``stat`` profiler. | 1581 Only used by the ``stat`` profiler. |
1582 | 1582 |
1583 For the ``hotpath`` format, default is ``0.05``. | |
1583 For the ``chrome`` format, default is ``0.005``. | 1584 For the ``chrome`` format, default is ``0.005``. |
1584 | 1585 |
1585 The option is unused on other formats. | 1586 The option is unused on other formats. |
1586 | 1587 |
1587 ``showmax`` | 1588 ``showmax`` |