-
Notifications
You must be signed in to change notification settings - Fork 126
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
refactor: faster #1208
base: main
Are you sure you want to change the base?
refactor: faster #1208
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Build (including relayer setup) takes 50s of the total 60s test time. If we can speed up the ic.Build we could get test down. May require the pre starting relayer PR (backend wise for chain configs, then start once we have a block 1/2) Should also see if there is anything we can do rly side to speed up the IBC queries, connections, etc. this seems to be one of the last optimizations I can think of |
#1153 is probably the next big performance improvement. Getting relayers to auto provision for planned testing is ideal, lot of dead time waiting. We already know the chain configs to Must allow relayers pre ic.Build() standalone |
ideas from Andrew:
|
export genesis state after IBC start, then can load back from that in future runs |
I have been taking things from this PR and putting into others as it seems right. |
Summary
Make Interchaintest fast like zooooooooooooooomies.
NOTE: this requires
PollForProposalStatus
delta time to be increased to account for faster blocks (else proposals are still in vote period)This PR is currently just slop, adding things as I find / can improve
Other
Benchmarks
IBC 6 nodes + relayer
go clean -testcache && go test -timeout 3000s -run ^TestLearn$ github.com/strangelove-ventures/interchaintest/v8/examples/ibc -v
IBC-Go simd (v8.0.0) 1 val, build then exit
Performance checks for fast iteration with docker changes
go clean -testcache && go test -timeout 3000s -run ^TestSingleValBenchmark$ github.com/strangelove-ventures/interchaintest/v8/examples/cosmos -v