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):
0Leaving test suite "cuckoocache_tests"; testing time: 6987983us
1Leaving test suite "cuckoocache_tests"; testing time: 6994218us
2Leaving test suite "cuckoocache_tests"; testing time: 6903206us
3Leaving test suite "cuckoocache_tests"; testing time: 7051359us
4Leaving test suite "cuckoocache_tests"; testing time: 7055289us
vs 5 runs of this PR (3f098cc):
0Leaving test suite "cuckoocache_tests"; testing time: 893674us
1Leaving test suite "cuckoocache_tests"; testing time: 884415us
2Leaving test suite "cuckoocache_tests"; testing time: 877087us
3Leaving test suite "cuckoocache_tests"; testing time: 906258us
4Leaving test suite "cuckoocache_tests"; testing time: 896657us
JeremyRubin
fanquake
paveljanik
gmaxwell
Labels
Tests