diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-03 14:43:19 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-03 15:37:41 +0200 |
commit | 7eb7076f70078c06bef9752f22acf92fd86e616a (patch) | |
tree | 3f16fbdd5b041ae31416a45b1899f8627039cc6c /src/test/bswap_tests.cpp | |
parent | b62b437acd4429ffe016187d2c817fbf73264beb (diff) | |
parent | a59dac35abf64d5af4d499bc3397b3369eb76eda (diff) |
Merge #12639: Reduce cs_main lock in listunspent
a59dac3 refactor: Avoid extra lookups of mapAddressBook in listunspent RPC (João Barbosa)
d76962e rpc: Reduce cs_main lock in listunspent (João Barbosa)
Pull request description:
On my system, where the wallet has 10000 unspents, the `cs_main` lock duration changed from 191ms to 36ms. The loop that generates the response takes around 155ms. So, the lock duration is reduced to around 20%.
Tree-SHA512: ddaae591f39da59a9d1a8e9ffe773d857687789476f566ca273d310ad531da6dacff80cac69f3334c601c251ac7c5ed4136656c725aa3d611c6bbf734111946e
Diffstat (limited to 'src/test/bswap_tests.cpp')
0 files changed, 0 insertions, 0 deletions