Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up request step for replicate #80

Closed
wants to merge 1 commit into from
Closed

Conversation

mixmix
Copy link
Member

@mixmix mixmix commented Mar 30, 2023

This PR modifies replicate helper in tests to remove redundent 200ms waits (and redundent streaming of meta feeds if not needed)

Test suite times on my desktop:

BEFORE: 264.968 s
AFTER: 252.572 s

FML

@mixmix mixmix requested a review from Powersource March 30, 2023 04:26
@mixmix
Copy link
Member Author

mixmix commented Mar 30, 2023

I think the gains are really in tests where you replicate multiple times.... I feel like it was making a big different in my branch, but maybe not

Copy link
Collaborator

@Powersource Powersource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests failing.

@Powersource
Copy link
Collaborator

We've already had a few bugs in this file before so I'm a bit afraid of increasing the complexity of it. In your opinion is the 10s gain worth it?

@mixmix
Copy link
Member Author

mixmix commented Apr 2, 2023

no I was hoping it had made more difference. I think lets close this for now

@mixmix mixmix closed this Apr 2, 2023
@mixmix mixmix deleted the faster_replicate branch April 2, 2023 21:50
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.

None yet

2 participants