0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-06 10:18:44 -05:00
bitcoin-bitcoin-core/src/wallet/test
Wladimir J. van der Laan e3fec3cfa8
Merge #13419: [tests] Speed up knapsack_solver_test by not recreating wallet 100 times.
a679109be4 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
2018-09-11 10:22:36 +02:00
..
coinselector_tests.cpp Merge #13419: [tests] Speed up knapsack_solver_test by not recreating wallet 100 times. 2018-09-11 10:22:36 +02:00
psbt_wallet_tests.cpp [MOVEONLY] Move ParseHDKeypath to utilstrencodings 2018-08-13 08:46:23 -07:00
wallet_crypto_tests.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_test_fixture.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_test_fixture.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_tests.cpp Merge #10605: Add AssertLockHeld assertions in CWallet::ListCoins 2018-08-31 09:03:05 -04:00