-
Notifications
You must be signed in to change notification settings - Fork 31
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
Reduce the difference between lbm-sdk and cosmos-sdk #549
Comments
List of differences from cosmos-sdkThis comparison is made between the following versions since lbm-sdk 0.46.0-rcN are derived from cosmos-sdk 0.45.1.
Differences between lbm-sdk ⇄ cosmos-sdk Differential List by PurposeThe source code file names shown here are samples. To see more, you will need to search the project for relevant keywords and explore the reference relationships.
In this comparison, differences related to the naming of lbm ⇄ cosmos, which are noise in the comparison, are removed in advance.
|
MicrobenchmarkThis post is a microbenchmark result for the 2nd assignment, "check the performance of BaseAccount's separated pub_keys and then compare and select better thing". SDK-overall performance measurements using transactions will follow. This microbenchmark shows the difference in processing time for the
Although the numerical fact is that the lbm-sdk method is faster, it's on the order of tens of nsec, and even if 1000 operations are performed in a single block generation, the difference is only a few tens of μsec. Breakdown of 4 public-key fields (lbm-sdk)Please understand that it's not absolute time, but rather a percentage of the total function that is being closed. Breakdown of 1 public-key field (cosmos-sdk)
Number of ExecutionsUse a binary modified to log once for each function executed. Run Tx send command at the moment it stops at the indexed block while watching the log of
The number of executions between Tx received and block generated is simply the sum of those numbers. The number of executions between Tx reception and block generation is simply the sum of those numbers. Reception of Tx (
Block generation (
Ultimately, each function will be performed the following number of times per block generation and per transaction receipt.
|
@torao , what do you think we should select with the benchmarking results? lbm-sdk style? or cosmos-sdk style? |
I rewrote the "8 Address format" here. |
* fix: wrong protoname in vesting Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: wrong protoname in authz Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: change migration property name to be same with cosmos-sdk Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: remove unused function Signed-off-by: zemyblue <zemyblue@gmail.com> * docs: update changelog Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: change `Keeper.space` type to be same with cosmos-sdk Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: add unittest Signed-off-by: zemyblue <zemyblue@gmail.com> * Update CHANGELOG.md change changelog Signed-off-by: zemyblue <zemyblue@gmail.com>
* main: fix: wasm module's FIXME in the snapshotter.go file (#649) chore(deps): Bump actions/setup-go from 3.2.1 to 3.3.0 (#650) chore(deps): Bump actions/cache from 3.0.7 to 3.0.8 (#648) fix: remove legacy codes of wasm (#640) chore(deps): Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 (#643) chore(deps): Bump actions/cache from 3.0.6 to 3.0.7 (#642) chore: change some minor things that haven't been fixed in #549 (#635) refactor: rename x/collection events (#639) feat: add additional fields into x/collection events (#638) refactor: rename x/token events (#637) feat: add creator into x/token EventIssue (#636) chore(deps): Bump github.com/coinbase/rosetta-sdk-go (#641) chore: change `Keeper.space` type to be same with cosmos-sdk refactor: remove SetBalance and SetSupply (#629) refactor: revert changes in x/slashing proto (#627) chore(deps): Bump actions/cache from 3.0.5 to 3.0.6 (#631) chore(deps): Bump github.com/prometheus/client_golang (#632) chore(deps): Bump actions/setup-go from 2.1.4 to 3.2.1 (#624) feat: add Query/TokenClassTypeName (#622) feat: add additional information into EventXXXChanged (#621) Signed-off-by: zemyblue <zemyblue@gmail.com> # Conflicts: # CHANGELOG.md # client/docs/statik/statik.go # simapp/app.go # x/wasm/types/events.go
Summary
Compare the difference between lbm-sdk and cosmos-sdk and reflect the better fix.
Problem Definition
Proposal
lbm-sdk
tocosmos-sdk
, and fromv1
tov1beta1
.BaseAccount
's seperated pub_keys and then compare and select better thing. https://github.com/line/lbm-sdk/blob/ac918acc77d77d934e4dff134dcc53b9f83e3370/proto/lbm/auth/v1/auth.proto#L24-L31For Admin Use
The text was updated successfully, but these errors were encountered: