Skip to content

Commit e29d241

Browse files
committed
isolate benchmark and perf to cores
1 parent 0ceefb0 commit e29d241

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench-ci/run-assumeutxo-bench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ run_benchmark() {
120120
--export-json "${results_file}" \
121121
--command-name "base (${base_commit})" \
122122
--command-name "head (${head_commit})" \
123-
"perf script flamegraph build/src/bitcoind -datadir=${TMP_DATADIR} -connect=${connect_address} -daemon=0 -chain=${chain} -stopatheight=${stop_at_height}" \
123+
"taskset -c 1 perf script flamegraph taskset -c 2-15 build/src/bitcoind -datadir=${TMP_DATADIR} -connect=${connect_address} -daemon=0 -chain=${chain} -stopatheight=${stop_at_height}" \
124124
-L commit "${base_commit},${head_commit}"
125125
}
126126

0 commit comments

Comments
 (0)