diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2018-10-19 12:28:47 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2019-01-22 08:55:55 -0500 |
commit | 58180b5fd467ff15e7170145d77c84f13ccafe6e (patch) | |
tree | 5a7be4313cd7dd4e15f9666cf702235c2962ce5b /test/lint | |
parent | df894fa69a09ff2b7f00af0cf220e5132a69c70a (diff) | |
download | bitcoin-58180b5fd467ff15e7170145d77c84f13ccafe6e.tar.xz |
tests: add utility to easily profile node performance with perf
Introduces `TestNode.profile_with_perf()` context manager which
samples node execution to produce profiling data.
Also introduces a test framework flag, `--perf`, which will run
perf on all nodes for the duration of a given test.
Diffstat (limited to 'test/lint')
-rwxr-xr-x | test/lint/lint-python-dead-code.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-python-dead-code.sh b/test/lint/lint-python-dead-code.sh index 1b897cd131..863caa9d5c 100755 --- a/test/lint/lint-python-dead-code.sh +++ b/test/lint/lint-python-dead-code.sh @@ -15,5 +15,5 @@ fi vulture \ --min-confidence 60 \ - --ignore-names "argtypes,connection_lost,connection_made,converter,data_received,daemon,errcheck,get_ecdh_key,get_privkey,is_compressed,is_fullyvalid,msg_generic,on_*,optionxform,restype,set_privkey" \ + --ignore-names "argtypes,connection_lost,connection_made,converter,data_received,daemon,errcheck,get_ecdh_key,get_privkey,is_compressed,is_fullyvalid,msg_generic,on_*,optionxform,restype,set_privkey,profile_with_perf" \ $(git ls-files -- "*.py" ":(exclude)contrib/" ":(exclude)test/functional/data/invalid_txs.py") |