diff options
| author | MarcoFalke <[email protected]> | 2018-02-05 16:16:53 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-02-05 16:17:00 -0500 |
| commit | 2a30e67d20f76bbcd9a7d445f616f005316e0a1a (patch) | |
| tree | b3be886f15812b3a31b93a1547d8ace323964d59 /src/httpserver.cpp | |
| parent | Merge #12331: Docs: Properly alphabetize output of CLI --help option. (diff) | |
| parent | [rpc] Reduce scope of cs_main and cs_wallet locks in listtransactions (diff) | |
| download | discoin-2a30e67d20f76bbcd9a7d445f616f005316e0a1a.tar.xz discoin-2a30e67d20f76bbcd9a7d445f616f005316e0a1a.zip | |
Merge #12330: Reduce scope of cs_main and cs_wallet locks in listtransactions
c409b1adac [rpc] Reduce scope of cs_main and cs_wallet locks in listtransactions (João Barbosa)
Pull request description:
Trivial change, no behaviour change.
Benchmark done as follow:
- run with `-regtest`
- wallet with 5000 transactions
- measured the time spent with the lock and the total time
- times are an average of 100 `listtransactions --count=...` calls
| `--count` | lock (ms) | total (ms) | saving |
|--:|--:|--:|--:|
| 10 | 0.2230 | 0.2510 | 11% |
| 100 | 2.5150 | 2.8690 | 12% |
| 1000 | 20.0320 | 23.3490 | 14% |
| 10000 | 105.2070 | 125.5310 | 16% |
Tree-SHA512: ebedfeeb4c8ad75c89128e53cae976a82967dbb5ffd129da0f7204ccf9c3c15070b3d509f3767bebd745512e410200cc546147c836e82409f95fc9b8d14fc3ed
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions