test-profile.t
34 lines
| 878 B
| text/troff
|
Tads3Lexer
/ tests / test-profile.t
Matt Mackall
|
r12478 | test --time | ||
Martin Geisler
|
r16933 | $ hg --time help -q help 2>&1 | grep time > /dev/null | ||
Matt Mackall
|
r12478 | $ hg init a | ||
$ cd a | ||||
Mads Kiilerich
|
r16898 | #if lsprof | ||
Matt Mackall
|
r12478 | test --profile | ||
Mads Kiilerich
|
r16898 | $ hg --profile st 2>../out | ||
$ grep CallCount ../out > /dev/null || cat ../out | ||||
$ hg --profile --config profiling.output=../out st | ||||
$ grep CallCount ../out > /dev/null || cat ../out | ||||
Durham Goode
|
r26191 | $ hg --profile --config profiling.output=blackbox --config extensions.blackbox= st | ||
$ grep CallCount .hg/blackbox.log > /dev/null || cat .hg/blackbox.log | ||||
Mads Kiilerich
|
r16898 | $ hg --profile --config profiling.format=text st 2>../out | ||
$ grep CallCount ../out > /dev/null || cat ../out | ||||
$ echo "[profiling]" >> $HGRCPATH | ||||
$ echo "format=kcachegrind" >> $HGRCPATH | ||||
$ hg --profile st 2>../out | ||||
$ grep 'events: Ticks' ../out > /dev/null || cat ../out | ||||
$ hg --profile --config profiling.output=../out st | ||||
$ grep 'events: Ticks' ../out > /dev/null || cat ../out | ||||
#endif | ||||
Mads Kiilerich
|
r16913 | |||
$ cd .. | ||||