Mercurial > hg
diff tests/test-contrib-perf.t @ 38694:55101513ed94
perf: add a 'perf.all-timing' option to display more than best time
Minimal time is a useful information, but it is useful to have a wider view on
the performance picture.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 22 Jun 2018 11:02:42 +0100 |
parents | 9b6a708f2263 |
children | 2cdb82e8fb44 |
line wrap: on
line diff
--- a/tests/test-contrib-perf.t Wed Jul 11 10:46:15 2018 +0200 +++ b/tests/test-contrib-perf.t Fri Jun 22 11:02:42 2018 +0100 @@ -176,7 +176,24 @@ $ hg perfwalk $ hg perfparents +test actual output +------------------ + +normal output: + + $ hg perfheads --config perf.stub=no + ! wall * comb * user * sys * (best of *) (glob) + +detailed output: + + $ hg perfheads --config perf.all-timing=yes --config perf.stub=no + ! wall * comb * user * sys * (best of *) (glob) + ! wall * comb * user * sys * (max of *) (glob) + ! wall * comb * user * sys * (avg of *) (glob) + ! wall * comb * user * sys * (median of *) (glob) + Check perf.py for historical portability +---------------------------------------- $ cd "$TESTDIR/.."