##// END OF EJS Templates
tests: explicitly use ls profiler...
Gregory Szorc -
r30259:d06c0496 default
parent child Browse files
Show More
@@ -8,25 +8,27 b' test --time'
8 8
9 9 test --profile
10 10
11 $ hg --profile st 2>../out
11 $ prof='hg --config profiling.type=ls --profile'
12
13 $ $prof st 2>../out
12 14 $ grep CallCount ../out > /dev/null || cat ../out
13 15
14 $ hg --profile --config profiling.output=../out st
16 $ $prof --config profiling.output=../out st
15 17 $ grep CallCount ../out > /dev/null || cat ../out
16 18
17 $ hg --profile --config profiling.output=blackbox --config extensions.blackbox= st
19 $ $prof --config profiling.output=blackbox --config extensions.blackbox= st
18 20 $ grep CallCount .hg/blackbox.log > /dev/null || cat .hg/blackbox.log
19 21
20 $ hg --profile --config profiling.format=text st 2>../out
22 $ $prof --config profiling.format=text st 2>../out
21 23 $ grep CallCount ../out > /dev/null || cat ../out
22 24
23 25 $ echo "[profiling]" >> $HGRCPATH
24 26 $ echo "format=kcachegrind" >> $HGRCPATH
25 27
26 $ hg --profile st 2>../out
28 $ $prof st 2>../out
27 29 $ grep 'events: Ticks' ../out > /dev/null || cat ../out
28 30
29 $ hg --profile --config profiling.output=../out st
31 $ $prof --config profiling.output=../out st
30 32 $ grep 'events: Ticks' ../out > /dev/null || cat ../out
31 33
32 34 #endif
@@ -35,7 +37,7 b' test --profile'
35 37
36 38 Profiling of HTTP requests works
37 39
38 $ hg --profile --config profiling.format=text --config profiling.output=../profile.log serve -d -p $HGPORT --pid-file ../hg.pid -A ../access.log
40 $ $prof --config profiling.format=text --config profiling.output=../profile.log serve -d -p $HGPORT --pid-file ../hg.pid -A ../access.log
39 41 $ cat ../hg.pid >> $DAEMON_PIDS
40 42 $ hg -q clone -U http://localhost:$HGPORT ../clone
41 43
General Comments 0
You need to be logged in to leave comments. Login now