Skip to content

test: faster TestNoCluster by batching the 3200 Puts#108

Merged
Stebalien merged 2 commits intoipfs:masterfrom
MichaelMure:fast-test-nocluster
May 16, 2022
Merged

test: faster TestNoCluster by batching the 3200 Puts#108
Stebalien merged 2 commits intoipfs:masterfrom
MichaelMure:fast-test-nocluster

Conversation

@MichaelMure
Copy link
Contributor

In normal condition, this makes no difference as the complete test is pretty fast (~200ms), but
as soon as sync is enabled, this commit cut down the duration from 14s to 7s, on a fast SSD.
When running on a slower file system, this make a significant difference.

In normal condition, this makes no difference as the complete test is pretty fast (~200ms), but
as soon as sync is enabled, this commit cut down the duration from 14s to 7s, on a fast SSD.
When running on a slower file system, this make a significant difference.
@MichaelMure
Copy link
Contributor Author

I did the same thing with TestQueryLeak for the same reason.

@Stebalien Stebalien merged commit cb01d7b into ipfs:master May 16, 2022
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.

2 participants