I decreased all the sizes, should be much faster. Shouldn't impact correctness of the cache or likelihood of catching bugs in the cache.
Can be reverted if we want to do extended tests later.
I decreased all the sizes, should be much faster. Shouldn't impact correctness of the cache or likelihood of catching bugs in the cache.
Can be reverted if we want to do extended tests later.
Tested with src/test/test_bitcoin --log_level=all --run_test=cuckoocache_tests
5 runs of master (edc62c959ab3ed7019b514107a4ab3865fc12c2e):
Leaving test suite "cuckoocache_tests"; testing time: 6987983us
Leaving test suite "cuckoocache_tests"; testing time: 6994218us
Leaving test suite "cuckoocache_tests"; testing time: 6903206us
Leaving test suite "cuckoocache_tests"; testing time: 7051359us
Leaving test suite "cuckoocache_tests"; testing time: 7055289us
vs 5 runs of this PR (3f098cc):
Leaving test suite "cuckoocache_tests"; testing time: 893674us
Leaving test suite "cuckoocache_tests"; testing time: 884415us
Leaving test suite "cuckoocache_tests"; testing time: 877087us
Leaving test suite "cuckoocache_tests"; testing time: 906258us
Leaving test suite "cuckoocache_tests"; testing time: 896657us
utACK