##// END OF EJS Templates
profiling: dropping hotshot profiling. --profile as a unique profiling option...
profiling: dropping hotshot profiling. --profile as a unique profiling option hotshot was an experimental module, which is broken for Python < 2.5 And even for Python >= 2.5 users, hotshot usage is discouraged: cProfile (formerly lsprof) should be used instead.

File last commit:

r8021:1c2cf2e5 default
r8021:1c2cf2e5 default
Show More
test-profile
9 lines | 256 B | text/plain | TextLexer
#!/bin/sh
echo % test --time
hg --time help -q help 2>&1 | grep Time > /dev/null || echo --time failed
echo % test --profile
if "$TESTDIR/hghave" -q lsprof; then
hg --profile help -q help 2>&1 | grep CallCount > /dev/null || echo --profile failed
fi