Skip to content

blockchain: Reduce size of UTXOCache in tests.#3724

Open
jholdstock wants to merge 1 commit into
decred:masterfrom
jholdstock:blockchain-tests
Open

blockchain: Reduce size of UTXOCache in tests.#3724
jholdstock wants to merge 1 commit into
decred:masterfrom
jholdstock:blockchain-tests

Conversation

@jholdstock

Copy link
Copy Markdown
Member

On my system with a i7-10750H CPU this reduces the total runtime for the blockchain package tests from ~28.0s to ~6.1s.

Being honest I'm not 100% sure why this works, I just noticed on a profile that a huge amount of time was spent in UtxoCache.flush and so fiddled with the param to see what would change.

On my system with a i7-10750H CPU this reduces the total runtime
for the blockchain package tests from ~28.0s to ~6.1s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant