bitcoinperf icon indicating copy to clipboard operation
bitcoinperf copied to clipboard

Run some benchmarks measuring the CPU time

Open maflcko opened this issue 6 years ago • 0 comments

For some benchmarks it would be nice to measure the consumed CPU time.

E.g.

  • ibd/reindex, which could be dominated by disk/net access.
  • An "idle test", where bitcoind in idle mode should not consume cpu (see https://github.com/bitcoin/bitcoin/issues/16004)

I think this can be achieved by evaluating the formatted string (%U + %S) from time.

maflcko avatar May 22 '19 15:05 maflcko