Mercurial > hg
comparison mercurial/configitems.py @ 38260:15a1e37f80bd
profiling: introduce a "profiling.time-track" option
This option allows to switch the time used by the statistical profiler from
cpu to real time. Our goal is to profile IO intensive operations using the
mercurial profiler.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 01 Jun 2018 17:27:58 +0200 |
parents | ead71b15efd5 |
children | 35b50237908b |
comparison
equal
deleted
inserted
replaced
38259:af402c6b90db | 38260:15a1e37f80bd |
---|---|
865 default='inlinetime', | 865 default='inlinetime', |
866 ) | 866 ) |
867 coreconfigitem('profiling', 'statformat', | 867 coreconfigitem('profiling', 'statformat', |
868 default='hotpath', | 868 default='hotpath', |
869 ) | 869 ) |
870 coreconfigitem('profiling', 'time-track', | |
871 default='cpu', | |
872 ) | |
870 coreconfigitem('profiling', 'type', | 873 coreconfigitem('profiling', 'type', |
871 default='stat', | 874 default='stat', |
872 ) | 875 ) |
873 coreconfigitem('progress', 'assume-tty', | 876 coreconfigitem('progress', 'assume-tty', |
874 default=False, | 877 default=False, |