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

Actually pass extra_args to nodes in assumevalid.py #3131

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

codablock
Copy link

@codablock codablock commented Oct 1, 2019

This speeds up assumevalid.py from 22s to 7s on my machine. On travis, this
should be an improvement of a few minutes. Without this, Travis actually
fails due to block download timeouts.

extra_args was ignored since the backporting of TestNode and the failure was not happening locally but later on Travis (cron job with extended tests).

This speeds up assumevalid.py from 22s to 7s on my machine. On travis, this
should be an improvement of a few minutes. Without this, Travis actually
fails due to block download timeouts.
@codablock codablock added this to the 14.1 milestone Oct 1, 2019
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

Nice catch!

utACK

EDIT: can confirm the speedup: from 27s to 8s on my machine

@PastaPastaPasta
Copy link
Member

How can I run/profile a single test?

@thephez
Copy link
Collaborator

thephez commented Oct 1, 2019

@PastaPastaPasta You should be able to do this to run a single test (i.e. test/functional/test_runner.py assumevalid.py)

@thephez
Copy link
Collaborator

thephez commented Oct 1, 2019

utACK Dropped from 23s to 8s for me as well

@codablock
Copy link
Author

fyi, Travis failures are not related to this PR

@UdjinM6 UdjinM6 merged commit e06c116 into dashpay:develop Oct 2, 2019
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this pull request Jan 22, 2020
This speeds up assumevalid.py from 22s to 7s on my machine. On travis, this
should be an improvement of a few minutes. Without this, Travis actually
fails due to block download timeouts.
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.

4 participants