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

build: use cosmos/gogoproto@v1.4.8 for optimized registry merge #15862

Merged
merged 5 commits into from
Apr 18, 2023

Conversation

mark-rushakoff
Copy link
Member

@mark-rushakoff mark-rushakoff commented Apr 17, 2023

This is primarily to bring in cosmos/gogoproto#61, which spreads work for registry merging across all available cores.

In addition to the other performance improvements in v1.4.8, the sim-app-nondeterminism tests and the CLI complete much more quickly.

@mark-rushakoff mark-rushakoff force-pushed the mr/use-optimized-registry-merge branch from 16a145b to 0dde947 Compare April 18, 2023 14:10
@mark-rushakoff mark-rushakoff changed the title [DRAFT] build: use optimized registry merge perf: use cosmos/gogoproto@v1.4.8 for optimized registry merge Apr 18, 2023
@mark-rushakoff mark-rushakoff changed the title perf: use cosmos/gogoproto@v1.4.8 for optimized registry merge build: use cosmos/gogoproto@v1.4.8 for optimized registry merge Apr 18, 2023
@mark-rushakoff mark-rushakoff marked this pull request as ready for review April 18, 2023 14:30
@mark-rushakoff mark-rushakoff requested a review from a team as a code owner April 18, 2023 14:30
simapp/go.mod Outdated
@@ -19,8 +19,8 @@ require (
github.com/cometbft/cometbft v0.37.1-0.20230411132551-3a91d155e664
github.com/cosmos/cosmos-db v1.0.0-rc.1
// this version is not used as it is always replaced by the latest Cosmos SDK version
github.com/cosmos/cosmos-sdk v0.48.0
github.com/cosmos/gogoproto v1.4.7
github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20230418140744-0dde947d0ab7
Copy link
Member

Choose a reason for hiding this comment

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

simd version --long is looks nicer if we revert this one.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh I see, because these two files have the replace directive. I'll push a change correcting these two.

tests/go.mod Outdated
@@ -19,8 +19,8 @@ require (
github.com/cosmos/cosmos-db v1.0.0-rc.1
github.com/cosmos/cosmos-proto v1.0.0-beta.3
// this version is not used as it is always replaced by the latest Cosmos SDK version
github.com/cosmos/cosmos-sdk v0.48.0
github.com/cosmos/gogoproto v1.4.7
github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20230418140744-0dde947d0ab7
Copy link
Member

Choose a reason for hiding this comment

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

ditto.

@mark-rushakoff mark-rushakoff added this pull request to the merge queue Apr 18, 2023
Merged via the queue into main with commit 87aefb7 Apr 18, 2023
@mark-rushakoff mark-rushakoff deleted the mr/use-optimized-registry-merge branch April 18, 2023 15:37
mark-rushakoff added a commit that referenced this pull request Apr 19, 2023
It used to be set to 5 tries, but that was taking over an hour. After
some improvements (particularly #15875 and #15862), it's running much
faster due to reduced allocations.

Since the nondeterminism tests are no longer the bottleneck, increase
the tries per seed by 1 so that it is still no longer the bottleneck,
but so that we also get more confidence that results are deterministic.
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:CLI C:Confix Issues and PR related to Confix C:Cosmovisor Issues and PR related to Cosmovisor C:Hubl Tool: Hubl C:orm C:Rosetta Issues and PR related to Rosetta C:Store C:x/circuit C:x/evidence C:x/feegrant C:x/nft C:x/tx C:x/upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants