diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-11 09:31:11 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-11 10:22:36 +0200 |
commit | e3fec3cfa894db6c0c4de8b43ae983383c8d7d7a (patch) | |
tree | 290b03cbbeacfd532e7f97f51c25c2f6c2288eae /src/ui_interface.h | |
parent | bcffd8743e7f9cf286e641a0df8df25241a9238c (diff) | |
parent | a679109be40491222c458fdbef58f68509dae0bd (diff) |
Merge #13419: [tests] Speed up knapsack_solver_test by not recreating wallet 100 times.
a679109be40491222c458fdbef58f68509dae0bd Speed up knapsack_solver_test by not recreating wallet 100 times. (lucash.dev@gmail.com)
Pull request description:
Optimization of `knapsack_solver_test`by moving an expensive wallet creation to outside a 100x for loop.
On my (slow) machine:
```
before: 9.8s
after: 6.2s
--------------------
saved: 3.6s (36%)
```
This PR was split from #13050. Also see #10026.
Tree-SHA512: bde1a856b5f076a5845e14d1a924855c8c91742c3139b47903081289b21d01fef6f2d1fd8947058728a57de56f877bab3866af8cd1d25ba2daa44411752cdb2f
Diffstat (limited to 'src/ui_interface.h')
0 files changed, 0 insertions, 0 deletions