Mercurial > hg-stable
diff mercurial/repair.py @ 30950:517bc1cd7033
profiling: add statprof support for Chrome trace viewer rendering
We synthesize function call begin/end events from snapshots, and
try (configurably) to eliminate "noisy" stack frames.
Example invocation:
hg --config profiling.output=$HOME/Desktop/clone.json \
--config profiling.statformat=chrome \
--profile clone https://www.mercurial-scm.org/repo/hg
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Sun, 12 Feb 2017 22:28:09 -0800 |
parents | f2c069bf78ee |
children | 0b913e1e725b 22fbca1d11ed |